public abstract class StaticFlatSectionLayoutDecorator extends FlatSectionLayoutDecorator<StaticWidget,StaticWidget,StaticMetawidget>
Note: it is not clear it is possible to implement a JspNestedSectionLayoutDecorator,
because the JSP component model does not allow adding children to tags.
FlatSectionLayoutDecorator.State| Modifier | Constructor and Description |
|---|---|
protected |
StaticFlatSectionLayoutDecorator(LayoutDecoratorConfig<StaticWidget,StaticWidget,StaticMetawidget> config) |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getSections(Map<String,String> attributes) |
protected FlatSectionLayoutDecorator.State |
getState(StaticWidget containerTag,
StaticMetawidget metawidgetTag) |
protected boolean |
isIgnored(StaticWidget tag)
Returns
true if the given widget should be ignored, and no section heading
created for it. |
protected String |
stripSection(Map<String,String> attributes) |
addSectionWidget, layoutWidget, startContainerLayoutendContainerLayout, getDelegate, onEndBuild, onStartBuildprotected StaticFlatSectionLayoutDecorator(LayoutDecoratorConfig<StaticWidget,StaticWidget,StaticMetawidget> config)
protected String stripSection(Map<String,String> attributes)
stripSection in class FlatSectionLayoutDecorator<StaticWidget,StaticWidget,StaticMetawidget>protected String[] getSections(Map<String,String> attributes)
getSections in class FlatSectionLayoutDecorator<StaticWidget,StaticWidget,StaticMetawidget>protected FlatSectionLayoutDecorator.State getState(StaticWidget containerTag, StaticMetawidget metawidgetTag)
getState in class FlatSectionLayoutDecorator<StaticWidget,StaticWidget,StaticMetawidget>protected boolean isIgnored(StaticWidget tag)
FlatSectionLayoutDecoratortrue if the given widget should be ignored, and no section heading
created for it. For example, the widget might be an empty Stub widget.
Subclasses should override this method and return true if the widget is some
other kind of ignored component (eg. HtmlInputHidden).
isIgnored in class FlatSectionLayoutDecorator<StaticWidget,StaticWidget,StaticMetawidget>Copyright © 2015. All Rights Reserved.