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 Component
Component.ComponentFilter, Component.DataNavigationType, Component.DisplayType, Component.PositionNested classes/interfaces inherited from interface LabeledComponent
LabeledComponent.UseLabel -
Field Summary
Fields inherited from class ComponentWrapper
handler -
Constructor Summary
ConstructorsConstructorDescriptionRemoteFieldWrapper(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.intDeprecated.booleanDeprecated.<T extends LabeledComponent & DataComponent>
voidmapAllAttributesTo(T comp) Deprecated.Copy all defaults to the target-componentvoidsetDataSourceProps(Map<String, Object> dataSourceProps) Deprecated.voidsetDisplayCreateButton(Boolean displayCreateButton) Deprecated.voidsetMinChars(int minChars) Deprecated.Methods inherited from class InputComponentWrapper
getDefaultDataTypeMethods inherited from class DataComponentWrapper
getConstriction, getDataType, getDefaultValue, getLocalizedLanguage, getPath, getReverseRelationName, getValidator, hasNonEmptyValidator, isDefaultLangOnly, isIgnoreCopy, isLocalized, setConstriction, setDataType, setDefaultLangOnly, setDefaultValue, setIgnoreCopy, setLocalizedLanguage, setPath, setReverseRelationName, setValidatorMethods inherited from class LabeledComponentWrapper
getLabel, getUseLabel, setLabel, setUseLabelMethods inherited from class 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, wrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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, wrapMethods inherited from interface DataComponent
getConstriction, getDataType, getDefaultDataType, getDefaultValue, getLocalizedLanguage, getPath, getReverseRelationName, getValidator, hasNonEmptyValidator, isDefaultLangOnly, isIgnoreCopy, isLocalized, setConstriction, setDataType, setDefaultLangOnly, setDefaultValue, setIgnoreCopy, setLocalizedLanguage, setPath, setReverseRelationName, setValidatorMethods inherited from interface LabeledComponent
getLabel, getUseLabel, setLabel, setUseLabel
-
Constructor Details
-
RemoteFieldWrapper
Deprecated.
-
-
Method Details
-
isMultiple
-
getMinChars
-
setMinChars
public void setMinChars(int minChars) Deprecated.- Specified by:
setMinCharsin interfaceRemoteField
-
getDisplayCreateButton
Deprecated.- Specified by:
getDisplayCreateButtonin interfaceRemoteField
-
setDisplayCreateButton
Deprecated.- Specified by:
setDisplayCreateButtonin interfaceRemoteField
-
getDataSourceProps
Deprecated.Description copied from interface:RemoteFieldThe 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:
getDataSourcePropsin interfaceRemoteField- Returns:
- See above for the list of params. They depend on which backend is using the field.
-
setDataSourceProps
Deprecated.- Specified by:
setDataSourcePropsin interfaceRemoteField
-
mapAllAttributesTo
Deprecated.Description copied from interface:FieldCopy all defaults to the target-component- Specified by:
mapAllAttributesToin interfaceField- Parameters:
comp- component
-