public class PanelTabSetLayoutDecorator extends UIComponentNestedSectionLayoutDecorator
UIComponentNestedSectionLayoutDecorator.UIComponentState
NestedSectionLayoutDecorator.State<C>
Constructor and Description |
---|
PanelTabSetLayoutDecorator(LayoutDecoratorConfig<javax.faces.component.UIComponent,javax.faces.component.UIComponent,UIMetawidget> config) |
Modifier and Type | Method and Description |
---|---|
protected javax.faces.component.UIComponent |
createNewSectionWidget(javax.faces.component.UIComponent previousSectionWidget,
String section,
Map<String,String> attributes,
javax.faces.component.UIComponent container,
UIMetawidget metawidget)
Creates a new widget to hold this section (
getState().currentSection ). |
createSectionWidget, getState, isIgnored, onEndBuild, stripSection
endContainerLayout, layoutWidget, startContainerLayout
getDelegate, onStartBuild
public PanelTabSetLayoutDecorator(LayoutDecoratorConfig<javax.faces.component.UIComponent,javax.faces.component.UIComponent,UIMetawidget> config)
protected javax.faces.component.UIComponent createNewSectionWidget(javax.faces.component.UIComponent previousSectionWidget, String section, Map<String,String> attributes, javax.faces.component.UIComponent container, UIMetawidget metawidget)
UIComponentNestedSectionLayoutDecorator
getState().currentSection
).
Clients should use this version of the method instead of createSectionWidget
, in
order to support UIMetawidget.COMPONENT_ATTRIBUTE_NOT_RECREATABLE
.
createNewSectionWidget
in class UIComponentNestedSectionLayoutDecorator
previousSectionWidget
- the previous section widget (if any). This can be useful for tracing back to, say,
a TabHostCopyright © 2015. All Rights Reserved.