public interface ComposableComponent
extends com.vaadin.ui.Component
Component which supports a ComposableComponent.Composer delegate to compose a set of components into its content
component.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ComposableComponent.Builder<S,C extends com.vaadin.ui.Component,B extends ComposableComponent.Builder<S,C,B>>
Base
ComposableComponent builder. |
static interface |
ComposableComponent.Composer<C extends com.vaadin.ui.Component,S>
Delegate interface to compose a set of components from a component source into a
Component type content. |
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Method and Description |
|---|---|
static ComposableComponent.Composer<com.vaadin.ui.ComponentContainer,PropertyValueComponentSource> |
componentContainerComposer()
Create a
ComposableComponent.Composer which uses a ComponentContainer as composition layout and adds the property
components to layout in the order they are returned from the PropertyValueComponentSource. |
static ComposableComponent.Composer<com.vaadin.ui.ComponentContainer,PropertyValueComponentSource> |
componentContainerComposer(boolean fullWidthComponents)
Create a
ComposableComponent.Composer which uses a ComponentContainer as composition layout and adds the property
components to layout in the order they are returned from the PropertyValueComponentSource. |
void |
compose()
Compose the components into the content component using the previously configured
ComposableComponent.Composer. |
com.vaadin.ui.Component |
getContent()
Get the form content component
|
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, readDesign, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible, writeDesignaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlercom.vaadin.ui.Component getContent()
void compose()
ComposableComponent.Composer.IllegalStateException - If the content component or the ComposableComponent.Composer are not configured (null)static ComposableComponent.Composer<com.vaadin.ui.ComponentContainer,PropertyValueComponentSource> componentContainerComposer()
ComposableComponent.Composer which uses a ComponentContainer as composition layout and adds the property
components to layout in the order they are returned from the PropertyValueComponentSource.ComponentContainer composerstatic ComposableComponent.Composer<com.vaadin.ui.ComponentContainer,PropertyValueComponentSource> componentContainerComposer(boolean fullWidthComponents)
ComposableComponent.Composer which uses a ComponentContainer as composition layout and adds the property
components to layout in the order they are returned from the PropertyValueComponentSource.fullWidthComponents - true to set the width of all composed components to 100%ComponentContainer composerCopyright © 2019 The Holon Platform. All rights reserved.