public class FieldsetLayoutDecorator extends JspNestedSectionLayoutDecorator
NestedSectionLayoutDecorator.State<C>
Constructor and Description |
---|
FieldsetLayoutDecorator(LayoutDecoratorConfig<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag> config) |
Modifier and Type | Method and Description |
---|---|
protected javax.servlet.jsp.tagext.BodyTag |
createSectionWidget(javax.servlet.jsp.tagext.BodyTag previousSectionWidget,
String section,
Map<String,String> attributes,
javax.servlet.jsp.tagext.BodyTag container,
MetawidgetTag metawidgetTag)
Creates a new widget to hold this section (
getState().currentSection ). |
void |
endContainerLayout(javax.servlet.jsp.tagext.BodyTag container,
MetawidgetTag metawidgetTag)
Finish the given container, using the given Metawidget to access additional services if
needed (such as state saving).
|
void |
startContainerLayout(javax.servlet.jsp.tagext.BodyTag container,
MetawidgetTag metawidget)
Initialise the given container, using the given Metawidget to access additional services if
needed (such as state saving).
|
getState, isIgnored, stripSection
layoutWidget
getDelegate, onEndBuild, onStartBuild
public FieldsetLayoutDecorator(LayoutDecoratorConfig<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag> config)
public void startContainerLayout(javax.servlet.jsp.tagext.BodyTag container, MetawidgetTag metawidget)
AdvancedLayout
startContainerLayout
in interface AdvancedLayout<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
startContainerLayout
in class NestedSectionLayoutDecorator<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
container
- the container to layout. This is often the same as the given Metawidgetmetawidget
- the parent Metawidget. Never nullprotected javax.servlet.jsp.tagext.BodyTag createSectionWidget(javax.servlet.jsp.tagext.BodyTag previousSectionWidget, String section, Map<String,String> attributes, javax.servlet.jsp.tagext.BodyTag container, MetawidgetTag metawidgetTag)
NestedSectionLayoutDecorator
getState().currentSection
).createSectionWidget
in class NestedSectionLayoutDecorator<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
previousSectionWidget
- the previous section widget (if any). This can be useful for tracing back to, say,
a TabHostpublic void endContainerLayout(javax.servlet.jsp.tagext.BodyTag container, MetawidgetTag metawidgetTag)
AdvancedLayout
endContainerLayout
in interface AdvancedLayout<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
endContainerLayout
in class NestedSectionLayoutDecorator<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
container
- the container to layout. This is often the same as the given MetawidgetmetawidgetTag
- the Metawidget to use to access additional services. Never nullCopyright © 2015. All Rights Reserved.