public abstract class SwingNestedSectionLayoutDecorator extends NestedSectionLayoutDecorator<JComponent,JComponent,SwingMetawidget>
NestedSectionLayoutDecorator.State<C>
Modifier | Constructor and Description |
---|---|
protected |
SwingNestedSectionLayoutDecorator(LayoutDecoratorConfig<JComponent,JComponent,SwingMetawidget> config) |
Modifier and Type | Method and Description |
---|---|
protected NestedSectionLayoutDecorator.State<JComponent> |
getState(JComponent container,
SwingMetawidget metawidget) |
protected boolean |
isIgnored(JComponent component) |
void |
startContainerLayout(JComponent container,
SwingMetawidget metawidget)
Initialise the given container, using the given Metawidget to access additional services if
needed (such as state saving).
|
protected String |
stripSection(Map<String,String> attributes) |
createSectionWidget, endContainerLayout, layoutWidget
getDelegate, onEndBuild, onStartBuild
protected SwingNestedSectionLayoutDecorator(LayoutDecoratorConfig<JComponent,JComponent,SwingMetawidget> config)
public void startContainerLayout(JComponent container, SwingMetawidget metawidget)
AdvancedLayout
startContainerLayout
in interface AdvancedLayout<JComponent,JComponent,SwingMetawidget>
startContainerLayout
in class NestedSectionLayoutDecorator<JComponent,JComponent,SwingMetawidget>
container
- the container to layout. This is often the same as the given Metawidgetmetawidget
- the parent Metawidget. Never nullprotected String stripSection(Map<String,String> attributes)
stripSection
in class NestedSectionLayoutDecorator<JComponent,JComponent,SwingMetawidget>
protected NestedSectionLayoutDecorator.State<JComponent> getState(JComponent container, SwingMetawidget metawidget)
getState
in class NestedSectionLayoutDecorator<JComponent,JComponent,SwingMetawidget>
protected boolean isIgnored(JComponent component)
isIgnored
in class NestedSectionLayoutDecorator<JComponent,JComponent,SwingMetawidget>
Copyright © 2015. All Rights Reserved.