public class TabbedPaneLayoutDecorator extends SwingNestedSectionLayoutDecorator
NestedSectionLayoutDecorator.State<C>
Constructor and Description |
---|
TabbedPaneLayoutDecorator(TabbedPaneLayoutDecoratorConfig config) |
Modifier and Type | Method and Description |
---|---|
protected JComponent |
createSectionWidget(JComponent previousSectionWidget,
String section,
Map<String,String> attributes,
JComponent container,
SwingMetawidget metawidget)
Creates a new widget to hold this section (
getState().currentSection ). |
getState, isIgnored, startContainerLayout, stripSection
endContainerLayout, layoutWidget
getDelegate, onEndBuild, onStartBuild
public TabbedPaneLayoutDecorator(TabbedPaneLayoutDecoratorConfig config)
protected JComponent createSectionWidget(JComponent previousSectionWidget, String section, Map<String,String> attributes, JComponent container, SwingMetawidget metawidget)
NestedSectionLayoutDecorator
getState().currentSection
).createSectionWidget
in class NestedSectionLayoutDecorator<JComponent,JComponent,SwingMetawidget>
previousSectionWidget
- the previous section widget (if any). This can be useful for tracing back to, say,
a TabHostCopyright © 2015. All Rights Reserved.