Class TextAreaImpl
java.lang.Object
ch.tocco.nice2.model.form.api.components.AbstractComponent<TextArea>
ch.tocco.nice2.model.form.api.components.AbstractLabeledComponent<TextArea>
ch.tocco.nice2.model.form.api.components.AbstractDataComponent<TextArea>
ch.tocco.nice2.model.form.api.components.simple.TextAreaImpl
- All Implemented Interfaces:
Component, InputComponent, LabeledComponent, TextArea, DataComponent
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.UseLabelNested classes/interfaces inherited from interface TextArea
TextArea.HeightType -
Field Summary
Fields inherited from class AbstractComponent
attributeProps, extProps, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.Checks if a numeric value is acceptable for the int setters in this class.Deprecated.Returns the default data type to use for this data component.intDeprecated.booleanDeprecated.intDeprecated.intDeprecated.Deprecated.protected TextAreanewInstanceForCopy(Component parent) Deprecated.Will be called when a copy is requestedComponent.createCopy()! Create a new instanc of this component, copy the properties and return it.voidsetHeight(int height) Deprecated.voidsetHeightGrow(boolean heightGrow) Deprecated.voidsetHeightGrowMax(int heightGrowMax) Deprecated.voidsetHeightGrowMin(int heightGrowMin) Deprecated.voidsetHeightType(TextArea.HeightType heightType) Deprecated.wrap(ComponentWrapperHandler handler) Deprecated.Wraps the component with the given interceptor handler.Methods inherited from class AbstractDataComponent
getConstriction, getDataNavigationType, getDataType, getDefaultValue, getLocalizedLanguage, getPath, getReverseRelationName, getValidator, hasNonEmptyValidator, isDefaultLangOnly, isIgnoreCopy, isLocalized, mapAllAttributesTo, setConstriction, setDataType, setDefaultLangOnly, setDefaultValue, setIgnoreCopy, setLocalizedLanguage, setPath, setReverseRelationName, setValidatorMethods inherited from class AbstractLabeledComponent
getLabel, getUseLabel, setLabel, setUseLabelMethods inherited from class AbstractComponent
addComponent, addComponent, collectDataParts, collectDataParts, createCopy, createCopy, equals, find, findByName, findByType, findFirst, findFirstByName, getAttributeProps, getChild, getChildren, getDisplayType, getEventHandler, getExtProps, getForm, getName, getParent, getParentOrEx, getPosition, getRelativeToPositionName, getScopes, getType, hashCode, hasParent, isForceEditable, isLeaf, isReplace, overrideParent, removeComponent, replaceComponent, replaceComponent, setAttributeProps, setChildren, setDisplayType, setEventHandler, setExtProps, setForceEditable, setName, setPosition, setRelativeToPositionName, setReplace, setScopes, toStringMethods 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, setScopesMethods inherited from interface DataComponent
getConstriction, getDataType, 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
-
TextAreaImpl
Deprecated.
-
-
Method Details
-
newInstanceForCopy
Deprecated.Description copied from class:AbstractComponentWill be called when a copy is requestedComponent.createCopy()! Create a new instanc of this component, copy the properties and return it. You don't have to copy the properties which are inherited from the abstract implmentation. Only copy the properties from the concrete implementation.
The parent has to be the parent given in the argument parent- Specified by:
newInstanceForCopyin classAbstractComponent<TextArea>- Parameters:
parent- the parent to set- Returns:
- the new instance
-
getDefaultDataType
Deprecated.Description copied from interface:DataComponentReturns the default data type to use for this data component.For example a text-field uses the "string" while the email-field uses the virtual type "email".
- Specified by:
getDefaultDataTypein interfaceDataComponent- Overrides:
getDefaultDataTypein classAbstractDataComponent<TextArea>- Returns:
- The name of the nice2 data type.
-
checkInt
Deprecated.Checks if a numeric value is acceptable for the int setters in this class. -
getHeightType
Deprecated.- Specified by:
getHeightTypein interfaceTextArea
-
setHeightType
Deprecated.- Specified by:
setHeightTypein interfaceTextArea
-
getHeight
-
setHeight
-
getHeightGrow
-
setHeightGrow
public void setHeightGrow(boolean heightGrow) Deprecated.- Specified by:
setHeightGrowin interfaceTextArea
-
getHeightGrowMin
-
setHeightGrowMin
public void setHeightGrowMin(int heightGrowMin) Deprecated.- Specified by:
setHeightGrowMinin interfaceTextArea
-
getHeightGrowMax
-
setHeightGrowMax
public void setHeightGrowMax(int heightGrowMax) Deprecated.- Specified by:
setHeightGrowMaxin interfaceTextArea
-
wrap
Deprecated.Description copied from interface:ComponentWraps the component with the given interceptor handler.Feel free to add an unwrap() method when needed.
-