Class LocationFieldImpl
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.LocationFieldImpl
- All Implemented Interfaces:
- Component,- DataComponent,- Field,- LocationField,- Cloneable
- Direct Known Subclasses:
- AddressFieldImpl
- 
Nested Class SummaryNested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.form2.components.ComponentComponent.Configuration
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddCountry(String country) getDefaultLabel(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'protected StringvoidsetCityField(String cityField) voidsetCommunityNrField(String communityNrField) voidsetCountryField(String countryField) voidsetDistrictField(String districtField) voidsetLatitudeField(String latitudeField) voidsetLongitudeField(String longitudeField) voidsetPostcodeField(String postcodeField) voidsetStateField(String stateField) voidsetStreetField(String streetField) Methods inherited from class ch.tocco.nice2.model.form.impl.form2.components.FieldImplclone, getAutoCompleteEndpoint, getDataType, getDefaultValue, getPath, getSimpleSearch, getValidator, isParentContainerReadonly, setAutoCompleteEndpoint, setDataType, setDefaultValue, setPath, setSimpleSearch, setValidator, toStringMethods inherited from class ch.tocco.nice2.model.form.impl.form2.components.AbstractComponentgetDefaultFormLabel, getId, getLabel, getParent, getPosition, setId, setLabel, setParent, setPositionMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.tocco.nice2.model.form.api.form2.components.ComponentgetForm, getId, getLabel, getParent, getPosition, validateMethods inherited from interface ch.tocco.nice2.model.form.api.form2.components.FieldgetAutoCompleteEndpoint, getDataType, getDefaultValue, getPath, getSimpleSearch, getValidator, isParentContainerReadonlyMethods inherited from interface ch.tocco.nice2.model.form.api.form2.components.LocationFieldaccept
- 
Constructor Details- 
LocationFieldImplpublic LocationFieldImpl()
 
- 
- 
Method Details- 
getDefaultLabelDescription copied from class:FieldImplText 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:
- getDefaultLabelin interface- DataComponent
- Overrides:
- getDefaultLabelin class- FieldImpl
 
- 
getFormLabelKey
- 
getPostcodeField- Specified by:
- getPostcodeFieldin interface- LocationField
 
- 
setPostcodeField
- 
getCityField- Specified by:
- getCityFieldin interface- LocationField
 
- 
setCityField
- 
getStreetField- Specified by:
- getStreetFieldin interface- LocationField
 
- 
setStreetField
- 
getCountryField- Specified by:
- getCountryFieldin interface- LocationField
 
- 
setCountryField
- 
getStateField- Specified by:
- getStateFieldin interface- LocationField
 
- 
setStateField
- 
getDistrictField- Specified by:
- getDistrictFieldin interface- LocationField
 
- 
setDistrictField
- 
getCommunityNrField- Specified by:
- getCommunityNrFieldin interface- LocationField
 
- 
setCommunityNrField
- 
getLatitudeField- Specified by:
- getLatitudeFieldin interface- LocationField
 
- 
setLatitudeField
- 
getLongitudeField- Specified by:
- getLongitudeFieldin interface- LocationField
 
- 
setLongitudeField
- 
getCountries- Specified by:
- getCountriesin interface- LocationField
- Returns:
- set of countries that should be searched in for a address
 
- 
addCountry
 
-