public abstract class VaadinFlatSectionLayoutDecorator extends FlatSectionLayoutDecorator<com.vaadin.ui.Component,com.vaadin.ui.ComponentContainer,VaadinMetawidget>
FlatSectionLayoutDecorator.State
Modifier | Constructor and Description |
---|---|
protected |
VaadinFlatSectionLayoutDecorator(LayoutDecoratorConfig<com.vaadin.ui.Component,com.vaadin.ui.ComponentContainer,VaadinMetawidget> config) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getSections(Map<String,String> attributes) |
protected FlatSectionLayoutDecorator.State |
getState(com.vaadin.ui.ComponentContainer container,
VaadinMetawidget metawidget) |
protected boolean |
isIgnored(com.vaadin.ui.Component component)
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 VaadinFlatSectionLayoutDecorator(LayoutDecoratorConfig<com.vaadin.ui.Component,com.vaadin.ui.ComponentContainer,VaadinMetawidget> config)
protected String stripSection(Map<String,String> attributes)
stripSection
in class FlatSectionLayoutDecorator<com.vaadin.ui.Component,com.vaadin.ui.ComponentContainer,VaadinMetawidget>
protected String[] getSections(Map<String,String> attributes)
getSections
in class FlatSectionLayoutDecorator<com.vaadin.ui.Component,com.vaadin.ui.ComponentContainer,VaadinMetawidget>
protected FlatSectionLayoutDecorator.State getState(com.vaadin.ui.ComponentContainer container, VaadinMetawidget metawidget)
getState
in class FlatSectionLayoutDecorator<com.vaadin.ui.Component,com.vaadin.ui.ComponentContainer,VaadinMetawidget>
protected boolean isIgnored(com.vaadin.ui.Component component)
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.vaadin.ui.Component,com.vaadin.ui.ComponentContainer,VaadinMetawidget>
Copyright © 2015. All Rights Reserved.