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
ConstructorDescriptionColumnHandler
(ColumnImpl column, EntityModel entityModel, DefaultValueResolver defaultValueResolver, ValidatorHandlerContextFactory validatorHandlerContextFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clientRenderer
(String clientRenderer) void
displayType
(String displayType) void
fixed
(boolean widthFixed) handleFieldElement
(String id, String path) void
void
void
shrinkToContent
(boolean shrinkToContent) void
sortable
(boolean sortable) void
sticky
(boolean sticky) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.model.form.impl.form2.reader.handler.DataElementHandler
address, code, createFieldHandler, createFieldHandler, createPathResolver, date, datetime, geosearch, getOrCreateField, html, image, location, multiRemoteField, multiSelectBox, number, range, remoteField, singleSelectBox, text, textArea, upload, url
Methods 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:
getEntityModel
in interfaceDataElementHandler
-
getFieldContainer
- Specified by:
getFieldContainer
in interfaceDataElementHandler
-
getDefaultValueResolver
- Specified by:
getDefaultValueResolver
in interfaceDataElementHandler
-
getValidatorHandlerContextFactory
- Specified by:
getValidatorHandlerContextFactory
in 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) -
report
@Element("report") @Cardinality(max=2147483647) public Object report(@Required @Attribute("id") String id) -
display
@Element("display") @Cardinality(max=2147483647) public DisplayHandler display(@Required @Attribute("name") String id) -
sortable
-
displayType
-
useLabel
-
shrinkToContent
-
fixed
-
sticky
-
clientRenderer
-