public interface Composable
Composable.Composer, which can be used to compose a set of elements on the content layout.
The available elements to compose can be obtained from the ComponentGroup provided to the composer
Composable.Composer.compose(HasElement, ComponentGroup) method.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Composable.Composer<C extends com.vaadin.flow.component.HasElement,E extends HasComponent,G extends ComponentGroup<E>>
Provides the elements composition strategy on the content layout.
|
| Modifier and Type | Method and Description |
|---|---|
static <C extends com.vaadin.flow.component.HasComponents,E extends HasComponent,G extends ComponentGroup<E>> |
componentContainerComposer()
Create a
Composable.Composer which uses a HasComponents component as composition layout and adds the group
elements components to the layout in the order they are returned from the group. |
void |
compose()
Compose the elements on the content layout, using the configured
Composable.Composer. |
void compose()
Composable.Composer.IllegalStateException - If a Composable.Composer is not availablestatic <C extends com.vaadin.flow.component.HasComponents,E extends HasComponent,G extends ComponentGroup<E>> Composable.Composer<C,E,G> componentContainerComposer()
Composable.Composer which uses a HasComponents component as composition layout and adds the group
elements components to the layout in the order they are returned from the group.C - HasComponents typeE - Elements typeG - Elements group typeComposable.Composer using a HasComponent compostion layoutCopyright © 2020 The Holon Platform. All rights reserved.