Class ColumnHandler
java.lang.Object
ch.tocco.nice2.model.form.impl.form2.reader.handler.ColumnHandler
- All Implemented Interfaces:
DataElementHandler,IgnoreRemainingElementsHandler
Parser for the `column` tag.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.impl.form2.reader.handler.IgnoreRemainingElementsHandler
IgnoreRemainingElementsHandler.ExtPropsHandler -
Constructor Summary
ConstructorsConstructorDescriptionColumnHandler(ColumnImpl column, EntityModel entityModel, DefaultValueResolver defaultValueResolver, ValidatorHandlerContextFactory validatorHandlerContextFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclientRenderer(String clientRenderer) voiddisplayType(String displayType) voidfixed(boolean widthFixed) handleFieldElement(String id, String path) voidvoidlayoutScope(String layoutScope) voidvoidshrinkToContent(boolean shrinkToContent) voidsortable(boolean sortable) voidsticky(boolean sticky) voidvoiduseAsTitle(boolean useAsTitle) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.model.form.impl.form2.reader.handler.DataElementHandler
address, available, code, createFieldHandler, createFieldHandler, createPathResolver, date, datetime, document, format, geosearch, getOrCreateField, html, image, location, multiRemoteField, multiSelectBox, number, range, remoteField, singleSelectBox, text, textArea, upload, urlMethods inherited from interface ch.tocco.nice2.model.form.impl.form2.reader.handler.IgnoreRemainingElementsHandler
handleExtProps, ignore, iterator, template
-
Constructor Details
-
ColumnHandler
public ColumnHandler(ColumnImpl column, EntityModel entityModel, DefaultValueResolver defaultValueResolver, ValidatorHandlerContextFactory validatorHandlerContextFactory)
-
-
Method Details
-
getEntityModel
- Specified by:
getEntityModelin interfaceDataElementHandler
-
getFieldContainer
- Specified by:
getFieldContainerin interfaceDataElementHandler
-
getDefaultValueResolver
- Specified by:
getDefaultValueResolverin interfaceDataElementHandler
-
getValidatorHandlerContextFactory
- Specified by:
getValidatorHandlerContextFactoryin interfaceDataElementHandler
-
label
-
position
-
handleFieldElement
@Element("field") @Cardinality(max=2147483647) public Object handleFieldElement(@Attribute("name") String id, @Required @Attribute("data") String path) -
action
@Element("action") @Cardinality(max=2147483647) public Object action(@Attribute("name") String id, @Attribute("group") String group) -
display
@Element("display") @Cardinality(max=2147483647) public DisplayHandler display(@Required @Attribute("name") String id) -
sortable
-
displayType
-
useLabel
-
shrinkToContent
-
fixed
-
sticky
-
alignment
-
clientRenderer
-
useAsTitle
-
tileIcon
-
layoutScope
-