Class RemoteFieldWrapper
java.lang.Object
ch.tocco.nice2.model.form.api.components.ComponentWrapper
ch.tocco.nice2.model.form.api.components.LabeledComponentWrapper
ch.tocco.nice2.model.form.api.components.DataComponentWrapper
ch.tocco.nice2.model.form.api.components.InputComponentWrapper
ch.tocco.nice2.model.form.api.components.simple.RemoteFieldWrapper
- All Implemented Interfaces:
Component
,InputComponent
,LabeledComponent
,Field
,RemoteField
,Selectable
,DataComponent
- Direct Known Subclasses:
MultiRemoteFieldWrapper
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.components.Component
Component.ComponentFilter, Component.DataNavigationType, Component.DisplayType, Component.Position
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.components.LabeledComponent
LabeledComponent.UseLabel
-
Field Summary
Fields inherited from class ch.tocco.nice2.model.form.api.components.ComponentWrapper
handler
-
Constructor Summary
ConstructorDescriptionRemoteFieldWrapper
(RemoteField remoteField, ComponentWrapperHandler handler) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The entity system uses: 'scope' eg 'list' WARNING i believe the case is different, maybe in the form of 'List' now.Deprecated.int
Deprecated.boolean
Deprecated.<T extends LabeledComponent & DataComponent>
voidmapAllAttributesTo
(T comp) Deprecated.Copy all defaults to the target-componentvoid
setDataSourceProps
(Map<String, Object> dataSourceProps) Deprecated.void
setDisplayCreateButton
(Boolean displayCreateButton) Deprecated.void
setMinChars
(int minChars) Deprecated.Methods inherited from class ch.tocco.nice2.model.form.api.components.InputComponentWrapper
getDefaultDataType
Methods inherited from class ch.tocco.nice2.model.form.api.components.DataComponentWrapper
getConstriction, getDataType, getDefaultValue, getLocalizedLanguage, getPath, getReverseRelationName, getValidator, hasNonEmptyValidator, isDefaultLangOnly, isIgnoreCopy, isLocalized, setConstriction, setDataType, setDefaultLangOnly, setDefaultValue, setIgnoreCopy, setLocalizedLanguage, setPath, setReverseRelationName, setValidator
Methods inherited from class ch.tocco.nice2.model.form.api.components.LabeledComponentWrapper
getLabel, getUseLabel, setLabel, setUseLabel
Methods inherited from class ch.tocco.nice2.model.form.api.components.ComponentWrapper
addComponent, addComponent, collectDataParts, collectDataParts, createCopy, createCopy, find, findByName, findByType, findFirst, findFirstByName, getAttributeProps, getChild, getChildren, getDataNavigationType, getDisplayType, getEventHandler, getExtProps, getForm, getName, getParent, getParentOrEx, getPosition, getRelativeToPositionName, getScopes, getType, hasParent, hideChild, isForceEditable, isLeaf, isReplace, overrideParent, removeComponent, replaceComponent, replaceComponent, setAttributeProps, setChildren, setDisplayType, setEventHandler, setExtProps, setForceEditable, setName, setPosition, setRelativeToPositionName, setReplace, setScopes, wrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.model.form.api.components.Component
addComponent, addComponent, collectDataParts, collectDataParts, createCopy, createCopy, find, findByName, findByType, findFirst, findFirstByName, getAttributeProps, getChild, getChildren, getDataNavigationType, getDisplayType, getEventHandler, getExtProps, getForm, getName, getParent, getParentOrEx, getPosition, getRelativeToPositionName, getScopes, getType, hasParent, isForceEditable, isLeaf, isReplace, overrideParent, removeComponent, replaceComponent, replaceComponent, setAttributeProps, setChildren, setDisplayType, setEventHandler, setExtProps, setForceEditable, setName, setPosition, setRelativeToPositionName, setReplace, setScopes, wrap
Methods inherited from interface ch.tocco.nice2.model.form.api.datanavigation.DataComponent
getConstriction, getDataType, getDefaultDataType, getDefaultValue, getLocalizedLanguage, getPath, getReverseRelationName, getValidator, hasNonEmptyValidator, isDefaultLangOnly, isIgnoreCopy, isLocalized, setConstriction, setDataType, setDefaultLangOnly, setDefaultValue, setIgnoreCopy, setLocalizedLanguage, setPath, setReverseRelationName, setValidator
Methods inherited from interface ch.tocco.nice2.model.form.api.components.LabeledComponent
getLabel, getUseLabel, setLabel, setUseLabel
-
Constructor Details
-
RemoteFieldWrapper
Deprecated.
-
-
Method Details
-
isMultiple
public boolean isMultiple()Deprecated.- Specified by:
isMultiple
in interfaceSelectable
-
getMinChars
public int getMinChars()Deprecated.- Specified by:
getMinChars
in interfaceRemoteField
-
setMinChars
public void setMinChars(int minChars) Deprecated.- Specified by:
setMinChars
in interfaceRemoteField
-
getDisplayCreateButton
Deprecated.- Specified by:
getDisplayCreateButton
in interfaceRemoteField
-
setDisplayCreateButton
Deprecated.- Specified by:
setDisplayCreateButton
in interfaceRemoteField
-
getDataSourceProps
Deprecated.Description copied from interface:RemoteField
The entity system uses:- 'scope' eg 'list' WARNING i believe the case is different, maybe in the form of 'List' now. also it may not be the scope you expect. it's from the remote field config, not the current form scope.
- 'source' eg 'Address'
- 'entityType' eg 'STANDARD' (enum)
- 'allowCreate' boolean
- Specified by:
getDataSourceProps
in interfaceRemoteField
- Returns:
- See above for the list of params. They depend on which backend is using the field.
-
setDataSourceProps
Deprecated.- Specified by:
setDataSourceProps
in interfaceRemoteField
-
mapAllAttributesTo
Deprecated.Description copied from interface:Field
Copy all defaults to the target-component- Specified by:
mapAllAttributesTo
in interfaceField
- Parameters:
comp
- component
-