public abstract class GwtFlatSectionLayoutDecorator extends FlatSectionLayoutDecorator<com.google.gwt.user.client.ui.Widget,com.google.gwt.user.client.ui.Panel,GwtMetawidget>
FlatSectionLayoutDecorator.State
Modifier | Constructor and Description |
---|---|
protected |
GwtFlatSectionLayoutDecorator(LayoutDecoratorConfig<com.google.gwt.user.client.ui.Widget,com.google.gwt.user.client.ui.Panel,GwtMetawidget> config) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getSections(Map<String,String> attributes) |
protected FlatSectionLayoutDecorator.State |
getState(com.google.gwt.user.client.ui.Panel container,
GwtMetawidget metawidget) |
protected boolean |
isIgnored(com.google.gwt.user.client.ui.Widget widget)
Returns
true if the given widget should be ignored, and no section heading
created for it. |
protected String |
stripSection(Map<String,String> attributes) |
addSectionWidget, layoutWidget, startContainerLayout
endContainerLayout, getDelegate, onEndBuild, onStartBuild
protected GwtFlatSectionLayoutDecorator(LayoutDecoratorConfig<com.google.gwt.user.client.ui.Widget,com.google.gwt.user.client.ui.Panel,GwtMetawidget> config)
protected String stripSection(Map<String,String> attributes)
stripSection
in class FlatSectionLayoutDecorator<com.google.gwt.user.client.ui.Widget,com.google.gwt.user.client.ui.Panel,GwtMetawidget>
protected String[] getSections(Map<String,String> attributes)
getSections
in class FlatSectionLayoutDecorator<com.google.gwt.user.client.ui.Widget,com.google.gwt.user.client.ui.Panel,GwtMetawidget>
protected FlatSectionLayoutDecorator.State getState(com.google.gwt.user.client.ui.Panel container, GwtMetawidget metawidget)
getState
in class FlatSectionLayoutDecorator<com.google.gwt.user.client.ui.Widget,com.google.gwt.user.client.ui.Panel,GwtMetawidget>
protected boolean isIgnored(com.google.gwt.user.client.ui.Widget widget)
FlatSectionLayoutDecorator
true
if the given widget should be ignored, and no section heading
created for it. For example, the widget might be an empty Stub widget.
Subclasses should override this method and return true
if the widget is some
other kind of ignored component (eg. HtmlInputHidden
).
isIgnored
in class FlatSectionLayoutDecorator<com.google.gwt.user.client.ui.Widget,com.google.gwt.user.client.ui.Panel,GwtMetawidget>
Copyright © 2015. All Rights Reserved.