Class LocationFieldImpl
java.lang.Object
ch.tocco.nice2.model.form.api.components.AbstractComponent<LocationField>
ch.tocco.nice2.model.form.api.components.AbstractLabeledComponent<LocationField>
ch.tocco.nice2.model.form.api.components.composite.LocationFieldImpl
- All Implemented Interfaces:
Component
,LocationField
,LabeledComponent
@Deprecated
public class LocationFieldImpl
extends AbstractLabeledComponent<LocationField>
implements LocationField
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 TypeMethodDescription@Nullable String
Deprecated.@Nullable String
Deprecated.Deprecated.Deprecated.@Nullable String
Deprecated.@Nullable String
Deprecated.boolean
Deprecated.protected void
mapAllAttributesTo
(Component comp) Deprecated.Additionally we want to set fields only a box posessesprotected LocationField
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
setAdminCode2Field
(String adminCode2Field) Deprecated.void
setCountryField
(String countryField) Deprecated.void
setLinkGoogleMaps
(boolean linkGoogleMaps) Deprecated.void
setLocationField
(String locationField) Deprecated.void
setPostcodeField
(String postcodeField) Deprecated.void
setStateField
(String stateField) Deprecated.void
setStreetField
(String streetField) Deprecated.wrap
(ComponentWrapperHandler handler) Deprecated.Wraps the component with the given interceptor handler.Methods inherited from class ch.tocco.nice2.model.form.api.components.AbstractLabeledComponent
getDataNavigationType, 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.components.LabeledComponent
getLabel, getUseLabel, setLabel, setUseLabel
-
Constructor Details
-
LocationFieldImpl
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- Specified by:
newInstanceForCopy
in classAbstractComponent<LocationField>
- Parameters:
parent
- the parent to set- Returns:
- the new instance
-
mapAllAttributesTo
Deprecated.Additionally we want to set fields only a box posesses- Overrides:
mapAllAttributesTo
in classAbstractLabeledComponent<LocationField>
- Parameters:
comp
- component to copy
-
wrap
Deprecated.Description copied from interface:Component
Wraps the component with the given interceptor handler.Feel free to add an unwrap() method when needed.
-
setPostcodeField
Deprecated.- Specified by:
setPostcodeField
in interfaceLocationField
-
getPostcodeField
Deprecated.- Specified by:
getPostcodeField
in interfaceLocationField
-
setLocationField
Deprecated.- Specified by:
setLocationField
in interfaceLocationField
-
getLocationField
Deprecated.- Specified by:
getLocationField
in interfaceLocationField
-
getStreetField
Deprecated.- Specified by:
getStreetField
in interfaceLocationField
-
setStreetField
Deprecated.- Specified by:
setStreetField
in interfaceLocationField
-
getCountryField
Deprecated.- Specified by:
getCountryField
in interfaceLocationField
-
setCountryField
Deprecated.- Specified by:
setCountryField
in interfaceLocationField
-
getStateField
Deprecated.- Specified by:
getStateField
in interfaceLocationField
-
setStateField
Deprecated.- Specified by:
setStateField
in interfaceLocationField
-
getAdminCode2Field
Deprecated.- Specified by:
getAdminCode2Field
in interfaceLocationField
-
setAdminCode2Field
Deprecated.- Specified by:
setAdminCode2Field
in interfaceLocationField
-
isLinkGoogleMaps
public boolean isLinkGoogleMaps()Deprecated.- Specified by:
isLinkGoogleMaps
in interfaceLocationField
-
setLinkGoogleMaps
public void setLinkGoogleMaps(boolean linkGoogleMaps) Deprecated.- Specified by:
setLinkGoogleMaps
in interfaceLocationField
-