S - Components source typeC - Content component typeB - Concrete builder typepublic static interface ComposableComponent.Builder<S extends PropertyComponentSource,C extends com.vaadin.ui.Component,B extends ComposableComponent.Builder<S,C,B>>
ComposableComponent builder.| Modifier and Type | Method and Description |
|---|---|
B |
componentsWidthMode(ComposableComponent.ComponentsWidthMode componentsWidthMode)
Set the composed Components width setup mode.
|
B |
composeOnAttach(boolean composeOnAttach)
Set whether to compose the components into the content component when the content is attached to a parent
component, only if the component was not already composed using
ComposableComponent.compose(). |
B |
composer(ComposableComponent.Composer<? super C,S> composer)
Set the
ComposableComponent.Composer to be used to compose the components into the content component. |
B |
initializer(Consumer<C> initializer)
Set a content initializer to setup the content component.
|
B initializer(Consumer<C> initializer)
initializer - Content initializer (not null)B composer(ComposableComponent.Composer<? super C,S> composer)
ComposableComponent.Composer to be used to compose the components into the content component.composer - The composer to set (not null)B composeOnAttach(boolean composeOnAttach)
ComposableComponent.compose().
Default is true.
composeOnAttach - true to compose the components when the content is attached to a parent
component. If false, the ComposableComponent.compose() method must be invoked to
compose the components.B componentsWidthMode(ComposableComponent.ComponentsWidthMode componentsWidthMode)
componentsWidthMode - composed Components width setup mode (not null)Copyright © 2019 The Holon Platform. All rights reserved.