Class LocationFieldHandler
java.lang.Object
ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler<LocationField>
ch.tocco.nice2.model.form.impl.reader.handlers.composite.LocationFieldHandler
Model reader for the "location-field" tag.
-
Field Summary
Fields inherited from class AbstractComponentHandler
displayType, field, forceEditable, label, name, receiver, scopes, useLabel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAfter finish we set the additional attribute 'labeled' and if it is set to true we signal the label required.protected Class<? extends LocationFieldImpl> A concrete class which implmentsT(not the handler).protected Class<LocationField> Return the Interface which represents this component (not the handler).voidsetAdminCode2Field(String adminCode2Field) voidsetCommunityNrField(String communityNrField) voidsetCountryField(String countryField) voidsetLinkGoogleMaps(boolean linkGoogleMaps) voidsetLocationField(String locationField) voidsetPostcodeField(String postcodeField) voidsetStateField(String stateField) voidsetStreetField(String streetField) Methods inherited from class AbstractComponentHandler
addAttributeProps, addExtProps, beforeFinish, createOrGetComponent, disableOldClient, doFinish, finish, forceEditable, label, setDisplayType, setLabel, setName, setPosition, setScopes, setUseLabel, startElement
-
Constructor Details
-
LocationFieldHandler
-
-
Method Details
-
afterFinish
After finish we set the additional attribute 'labeled' and if it is set to true we signal the label required.- Overrides:
afterFinishin classAbstractComponentHandler<LocationField>- Throws:
ModelBuildException- See Also:
-
setPostcodeField
-
setLocationField
-
setStreetField
-
setCountryField
-
setStateField
-
setAdminCode2Field
-
setCommunityNrField
-
setLinkGoogleMaps
-
getImplClass
Description copied from class:AbstractComponentHandlerA concrete class which implmentsT(not the handler). Expects a public-constructor which takes the parent Compononent.- Specified by:
getImplClassin classAbstractComponentHandler<LocationField>- Returns:
- the class
-
getInterface
Description copied from class:AbstractComponentHandlerReturn the Interface which represents this component (not the handler). This interface is normallyT- Specified by:
getInterfacein classAbstractComponentHandler<LocationField>- Returns:
- interface-class
-