Class PhoneFieldImpl
java.lang.Object
ch.tocco.nice2.model.form.api.components.AbstractComponent<PhoneField>
ch.tocco.nice2.model.form.api.components.AbstractLabeledComponent<PhoneField>
ch.tocco.nice2.model.form.api.components.AbstractDataComponent<PhoneField>
ch.tocco.nice2.model.form.api.components.simple.TextFieldImpl<PhoneField>
ch.tocco.nice2.model.form.api.components.simple.PhoneFieldImpl
- All Implemented Interfaces:
Component
,InputComponent
,LabeledComponent
,PhoneField
,TextField
,DataComponent
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.AbstractComponent
attributeProps, extProps, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.protected PhoneField
newInstanceForCopy
(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.void
setCustomValidationRegex
(Pattern customValidationRegex) Deprecated.void
setDefaultRegion
(String defaultRegion) Deprecated.wrap
(ComponentWrapperHandler handler) Deprecated.Wraps the component with the given interceptor handler.Methods inherited from class ch.tocco.nice2.model.form.api.components.simple.TextFieldImpl
getDefaultDataType
Methods inherited from class ch.tocco.nice2.model.form.api.components.AbstractDataComponent
getConstriction, getDataNavigationType, getDataType, getDefaultValue, getLocalizedLanguage, getPath, getReverseRelationName, getValidator, hasNonEmptyValidator, isDefaultLangOnly, isIgnoreCopy, isLocalized, mapAllAttributesTo, setConstriction, setDataType, setDefaultLangOnly, setDefaultValue, setIgnoreCopy, setLocalizedLanguage, setPath, setReverseRelationName, setValidator
Methods inherited from class ch.tocco.nice2.model.form.api.components.AbstractLabeledComponent
getLabel, getUseLabel, setLabel, setUseLabel
Methods inherited from class ch.tocco.nice2.model.form.api.components.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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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
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
-
PhoneFieldImpl
Deprecated.
-
-
Method Details
-
newInstanceForCopy
Deprecated.Description copied from class:AbstractComponent
Will 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- Overrides:
newInstanceForCopy
in classTextFieldImpl<PhoneField>
- Parameters:
parent
- the parent to set- Returns:
- the new instance
-
wrap
Deprecated.Description copied from interface:Component
Wraps the component with the given interceptor handler.Feel free to add an unwrap() method when needed.
- Specified by:
wrap
in interfaceComponent
- Overrides:
wrap
in classTextFieldImpl<PhoneField>
-
getCustomValidationRegex
Deprecated.- Specified by:
getCustomValidationRegex
in interfacePhoneField
-
setCustomValidationRegex
Deprecated.- Specified by:
setCustomValidationRegex
in interfacePhoneField
-
getDefaultRegion
Deprecated.- Specified by:
getDefaultRegion
in interfacePhoneField
-
setDefaultRegion
Deprecated.- Specified by:
setDefaultRegion
in interfacePhoneField
-