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 ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler
displayType, field, forceEditable, label, name, receiver, scopes, useLabel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
After 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 implmentsAbstractComponentHandler
(not the handler).protected Class
<LocationField> Return the Interface which represents this component (not the handler).void
setAdminCode2Field
(String adminCode2Field) void
setCommunityNrField
(String communityNrField) void
setCountryField
(String countryField) void
setLinkGoogleMaps
(boolean linkGoogleMaps) void
setLocationField
(String locationField) void
setPostcodeField
(String postcodeField) void
setStateField
(String stateField) void
setStreetField
(String streetField) Methods inherited from class ch.tocco.nice2.model.form.spi.reader.handler.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:
afterFinish
in classAbstractComponentHandler<LocationField>
- Throws:
ModelBuildException
- See Also:
-
setPostcodeField
-
setLocationField
-
setStreetField
-
setCountryField
-
setStateField
-
setAdminCode2Field
-
setCommunityNrField
-
setLinkGoogleMaps
-
getImplClass
Description copied from class:AbstractComponentHandler
A concrete class which implmentsAbstractComponentHandler
(not the handler). Expects a public-constructor which takes the parent Compononent.- Specified by:
getImplClass
in classAbstractComponentHandler<LocationField>
- Returns:
- the class
-
getInterface
Description copied from class:AbstractComponentHandler
Return the Interface which represents this component (not the handler). This interface is normallyAbstractComponentHandler
- Specified by:
getInterface
in classAbstractComponentHandler<LocationField>
- Returns:
- interface-class
-