Interface Field
- All Superinterfaces:
Component
,DataComponent
,LabeledComponent
- All Known Subinterfaces:
MultiRemoteField
,RemoteField
- All Known Implementing Classes:
FieldImpl
,FieldWrapper
,MultiRemoteFieldImpl
,MultiRemoteFieldWrapper
,RemoteFieldImpl
,RemoteFieldWrapper
Deprecated.
A component which just represents a field of data. This component will change its behavior based on the data,
that means it will be converted into a specialized type of field when the model is being read.
More specific: this represents the field
tag as used in a FORM (not entity) for example AddressDetail.
And based on the data type of the "data" attribute this generic field will be converted into a
specific one, for example a text field.
-
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
-
Method Summary
Modifier and TypeMethodDescription<T extends LabeledComponent & DataComponent>
voidmapAllAttributesTo
(T comp) Deprecated.Copy all defaults to the target-componentMethods 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
-
Method Details
-
mapAllAttributesTo
Deprecated.Copy all defaults to the target-component- Parameters:
comp
- component
-