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 extends PropertyComponentSource,C extends com.vaadin.ui.Component,B extends ComposableComponent.Builder<S,C,B>>
Base
ComposableComponent builder. |
static class |
ComposableComponent.ComponentsWidthMode
Enumeration of composed Components width setup mode.
|
static interface |
ComposableComponent.Composer<C extends com.vaadin.ui.Component,S extends PropertyComponentSource>
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.Listener
com.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 <C extends com.vaadin.ui.ComponentContainer,S extends PropertyComponentSource> |
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 . |
void |
compose()
Compose the components into the content component using the previously configured
ComposableComponent.Composer . |
ComposableComponent.ComponentsWidthMode |
getComponentsWidthMode()
Get the composed Components width setup mode.
|
com.vaadin.ui.Component |
getContent()
Get the form content component
|
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
ComposableComponent.ComponentsWidthMode getComponentsWidthMode()
com.vaadin.ui.Component getContent()
void compose()
ComposableComponent.Composer
.IllegalStateException
- If the content component or the ComposableComponent.Composer
are not configured (null)static <C extends com.vaadin.ui.ComponentContainer,S extends PropertyComponentSource> ComposableComponent.Composer<C,S> 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
.C
- Actual ComponentContainer typeS
- Actual components sourceComponentContainer
composerCopyright © 2019 The Holon Platform. All rights reserved.