Class GeosearchFieldImpl
java.lang.Object
ch.tocco.nice2.model.form.impl.form2.components.AbstractComponent
ch.tocco.nice2.model.form.impl.form2.components.FieldImpl
ch.tocco.nice2.model.form.impl.form2.components.GeosearchFieldImpl
- All Implemented Interfaces:
Component
,DataComponent
,Field
,GeosearchField
,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.form2.components.Component
Component.Configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultLabel
(Form form, TextResources textResources) Text resources are searched in the following order: Form: User_detail Path: relAddress.relAddress_type 1) 'forms.User_detail.relAddress.relAddress_type / 'forms.User_list.table.relAddress_type' 2) Label of FieldModel or RelationModel 3) 'entities.relAddress.relAddress_type'void
setLatitudeField
(String latitudeField) void
setLongitudeField
(String longitudeField) Methods inherited from class ch.tocco.nice2.model.form.impl.form2.components.FieldImpl
clone, getAutoCompleteEndpoint, getDataType, getDefaultValue, getPath, getSimpleSearch, getValidator, setAutoCompleteEndpoint, setDataType, setDefaultValue, setPath, setSimpleSearch, setValidator, toString
Methods inherited from class ch.tocco.nice2.model.form.impl.form2.components.AbstractComponent
getDefaultFormLabel, getId, getLabel, getParent, getPosition, setId, setLabel, setParent, setPosition
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.model.form.api.form2.components.Component
getForm, getId, getLabel, getParent, getPosition, validate
Methods inherited from interface ch.tocco.nice2.model.form.api.form2.components.Field
getAutoCompleteEndpoint, getDataType, getDefaultValue, getPath, getSimpleSearch, getValidator
Methods inherited from interface ch.tocco.nice2.model.form.api.form2.components.GeosearchField
accept
-
Constructor Details
-
GeosearchFieldImpl
public GeosearchFieldImpl()
-
-
Method Details
-
getDefaultLabel
Description copied from class:FieldImpl
Text resources are searched in the following order: Form: User_detail Path: relAddress.relAddress_type 1) 'forms.User_detail.relAddress.relAddress_type / 'forms.User_list.table.relAddress_type' 2) Label of FieldModel or RelationModel 3) 'entities.relAddress.relAddress_type'- Specified by:
getDefaultLabel
in interfaceDataComponent
- Overrides:
getDefaultLabel
in classFieldImpl
-
getLatitudeField
- Specified by:
getLatitudeField
in interfaceGeosearchField
-
setLatitudeField
-
getLongitudeField
- Specified by:
getLongitudeField
in interfaceGeosearchField
-
setLongitudeField
-