B
- Concrete configurator typepublic interface OrderedLayoutConfigurator<B extends OrderedLayoutConfigurator<B>> extends LayoutConfigurator<B>
Layout
.Modifier and Type | Interface and Description |
---|---|
static interface |
OrderedLayoutConfigurator.BaseOrderedLayoutConfigurator
Base ordered layout configurator
|
LayoutConfigurator.BaseLayoutConfigurator
ClickableLayoutConfigurator.BaseClickableLayoutConfigurator
ComponentConfigurator.BaseComponentConfigurator
Modifier and Type | Method and Description |
---|---|
B |
addAlignAndExpand(com.vaadin.ui.Component component,
com.vaadin.ui.Alignment alignment,
float expandRatio)
Adds the given component to layout with given
expandRatio and alignment |
B |
addAndExpand(com.vaadin.ui.Component component,
float expandRatio)
Adds the given component to layout with given
expandRatio |
default B |
addAndExpandFull(com.vaadin.ui.Component component)
Adds the given component to layout with applying full (
1 ) expand ratio. |
B |
expand(com.vaadin.ui.Component component,
float expandRatio)
This method is used to control how excess space in layout is distributed among components.
|
addAndAlign, align, defaultAlignment, margin, marginBottom, marginLeft, marginRight, marginTop, spacing, withoutMargin, withoutSpacing
withLayoutClickListener
add, withComponentAttachListener, withComponentDetachListener
caption, caption, caption, captionAsHtml, description, description, description, disabled, errorHandler, fullHeight, fullSize, fullWidth, height, height, heightUndefined, hidden, icon, id, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListener
B expand(com.vaadin.ui.Component component, float expandRatio)
component
- the component in this layout which expand ratio is to be setexpandRatio
- Expand ratio (greater or equal to 0)B addAndExpand(com.vaadin.ui.Component component, float expandRatio)
expandRatio
component
- The component to addexpandRatio
- The expand ration to use with for added componentdefault B addAndExpandFull(com.vaadin.ui.Component component)
1
) expand ratio.component
- The component to addB addAlignAndExpand(com.vaadin.ui.Component component, com.vaadin.ui.Alignment alignment, float expandRatio)
expandRatio
and alignment
component
- The component to addalignment
- the Alignment to use for the componentexpandRatio
- The expand ration to use with for added componentCopyright © 2018 The Holon Platform. All rights reserved.