public class TitledPanelLayoutDecorator extends SwingNestedSectionLayoutDecorator
NestedSectionLayoutDecorator.State<C>| Constructor and Description |
|---|
TitledPanelLayoutDecorator(LayoutDecoratorConfig<JComponent,JComponent,SwingMetawidget> 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, stripSectionendContainerLayout, layoutWidgetgetDelegate, onEndBuild, onStartBuildpublic TitledPanelLayoutDecorator(LayoutDecoratorConfig<JComponent,JComponent,SwingMetawidget> config)
protected JComponent createSectionWidget(JComponent previousSectionWidget, String section, Map<String,String> attributes, JComponent container, SwingMetawidget metawidget)
NestedSectionLayoutDecoratorgetState().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.