Class LayoutContainerHandler
java.lang.Object
ch.tocco.nice2.model.form.impl.form2.reader.handler.LayoutContainerHandler
- Direct Known Subclasses:
AbstractLayoutHandler
,FormHandler
An abstract xml handler that handles layout components.
A default id is generated if no name is set in the xml.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
createLayoutHandler
(@Nullable String id, Layout.LayoutType layoutType, String scopes) protected Object
createTableHandler
(@Nullable String id) protected abstract DefaultValueResolver
protected abstract EntityModel
abstract AbstractCompositeComponent
protected abstract ValidatorHandlerContextFactory
handleHorizontalBox
(String id, String scopes, boolean occupiesRemainingHeight, String boxWidthRatio) handleTable
(String id) handleVerticalBox
(String id, String scopes)
-
Constructor Details
-
LayoutContainerHandler
public LayoutContainerHandler()
-
-
Method Details
-
handleVerticalBox
@Element("vertical-box") @Cardinality(max=2147483647) public Object handleVerticalBox(@Attribute("name") String id, @Attribute("scopes") String scopes) -
handleHorizontalBox
@Element("horizontal-box") @Cardinality(max=2147483647) public Object handleHorizontalBox(@Attribute("name") String id, @Attribute("scopes") String scopes, @Attribute("occupy-remaining-height") boolean occupiesRemainingHeight, @Attribute("box-width-ratio") String boxWidthRatio) -
handleTable
@Element("table") @Cardinality(max=2147483647) public Object handleTable(@Attribute("name") String id) -
createTableHandler
-
createLayoutHandler
protected Object createLayoutHandler(@Nullable @Nullable String id, Layout.LayoutType layoutType, String scopes) -
getLayoutContainer
-
getEntityModel
-
getDefaultValueResolver
-
getValidatorHandlerContextFactory
-