L - Composition layout typeE - Group elements typeG - Component group typeC - Concrete builder typepublic interface ComposableConfigurator<L extends com.vaadin.flow.component.HasElement,E extends HasComponent,G extends ComponentGroup<E>,C extends ComposableConfigurator<L,E,G,C>>
Composable component configurator.| Modifier and Type | Method and Description |
|---|---|
C |
composeOnAttach(boolean composeOnAttach)
Set whether to compose the group elements into the content layout when the content component is attached to a
parent component.
|
C |
composer(Composable.Composer<? super L,E,G> composer)
Set the
Composable.Composer to be used to compose the components into the content component. |
C |
initializer(Consumer<L> initializer)
Set a content initializer to setup the content component.
|
C initializer(Consumer<L> initializer)
initializer - The content initializer to set (not null)C composer(Composable.Composer<? super L,E,G> composer)
Composable.Composer to be used to compose the components into the content component.composer - The composer to set (not null)C composeOnAttach(boolean composeOnAttach)
If false the Composable.compose() method must be invoked to compose the group elements.
Default is true.
composeOnAttach - true to compose the group elements when the content is attached to a parent
component. If false, the Composable.compose() method must be invoked to compose the
components.Copyright © 2019 The Holon Platform. All rights reserved.