public interface PropertyInputForm extends PropertyInputGroup, ValueComponent<com.holonplatform.core.property.PropertyBox>, Composable
PropertyInputGroup which provides an UI component to display the group elements, which can be composed
using a Composer.
The group elements Composer can be configured using the
ComposableConfigurator.composer(com.holonplatform.vaadin.flow.components.Composable.Composer) builder
method.
PropertyInputGroupBoundComponentGroup.Binding<P,C extends HasComponent>ValueHolder.ValueChangeEvent<V>, ValueHolder.ValueChangeListener<V,E extends ValueHolder.ValueChangeEvent<V>>Composable.Composer<C extends com.vaadin.flow.component.HasElement,E extends HasComponent,G extends ComponentGroup<E>>| Modifier and Type | Method and Description |
|---|---|
static <C extends com.vaadin.flow.component.Component,P extends com.holonplatform.core.property.Property> |
builder(C content,
Iterable<P> properties)
Get a builder to create a
PropertyInputForm using given property set. |
static <C extends com.vaadin.flow.component.Component> |
builder(C content,
com.holonplatform.core.property.Property<?>... properties)
Get a builder to create a
PropertyInputForm using given property set. |
static <P extends com.holonplatform.core.property.Property> |
formLayout(Iterable<P> properties)
Get a builder to create a
PropertyInputForm using given property set and a FormLayout as content
layout. |
static PropertyInputFormBuilder<com.vaadin.flow.component.formlayout.FormLayout> |
formLayout(com.holonplatform.core.property.Property<?>... properties)
Get a builder to create a
PropertyInputForm using given property set and a FormLayout as content
layout. |
static <P extends com.holonplatform.core.property.Property> |
horizontalLayout(Iterable<P> properties)
Get a builder to create a
PropertyInputForm using given property set and a HorizontalLayout as
content layout. |
static PropertyInputFormBuilder<com.vaadin.flow.component.orderedlayout.HorizontalLayout> |
horizontalLayout(com.holonplatform.core.property.Property<?>... properties)
Get a builder to create a
PropertyInputForm using given property set and a HorizontalLayout as
content layout. |
static <P extends com.holonplatform.core.property.Property> |
verticalLayout(Iterable<P> properties)
Get a builder to create a
PropertyInputForm using given property set and a VerticalLayout as
content layout. |
static PropertyInputFormBuilder<com.vaadin.flow.component.orderedlayout.VerticalLayout> |
verticalLayout(com.holonplatform.core.property.Property<?>... properties)
Get a builder to create a
PropertyInputForm using given property set and a VerticalLayout as
content layout. |
builder, builder, getInput, getValue, getValue, getValueIfValid, refresh, refresh, requireInput, setEnabled, setReadOnly, setValue, setValue, validategetBindings, getElement, requireElementgetComponents, getElementsgetProperties, hasPropertyaddValueChangeListener, clear, getEmptyValue, getValueIfPresent, isEmptyadapt, adapt, adapt, adapt, adapt, isValidgetValue, hasValueChangeModecreate, getComponent, getElement, hasEnabled, hasLabel, hasSize, hasStyle, hasValidation, isVisible, setVisiblecomponentContainerComposer, composestatic <C extends com.vaadin.flow.component.Component,P extends com.holonplatform.core.property.Property> PropertyInputFormBuilder<C> builder(C content, Iterable<P> properties)
PropertyInputForm using given property set.C - Form content element typeP - Property typecontent - The form content, where the Inputs will be composed using the configured Composer
(not null)properties - The property set (not null)PropertyInputFormBuilderstatic <C extends com.vaadin.flow.component.Component> PropertyInputFormBuilder<C> builder(C content, com.holonplatform.core.property.Property<?>... properties)
PropertyInputForm using given property set.C - Form content element typecontent - The form content, where the Inputs will be composed using the configured Composer
(not null)properties - The property set (not null)PropertyInputFormBuilderstatic <P extends com.holonplatform.core.property.Property> PropertyInputFormBuilder<com.vaadin.flow.component.formlayout.FormLayout> formLayout(Iterable<P> properties)
PropertyInputForm using given property set and a FormLayout as content
layout.
A default composer is configured using Composable.componentContainerComposer(). Use
ComposableConfigurator.composer(com.holonplatform.vaadin.flow.components.Composable.Composer) to
provide a custom components composer.
P - Property typeproperties - The property set (not null)PropertyInputForm builderstatic PropertyInputFormBuilder<com.vaadin.flow.component.formlayout.FormLayout> formLayout(com.holonplatform.core.property.Property<?>... properties)
PropertyInputForm using given property set and a FormLayout as content
layout.
A default composer is configured using Composable.componentContainerComposer(). Use
ComposableConfigurator.composer(com.holonplatform.vaadin.flow.components.Composable.Composer) to
provide a custom components composer.
properties - The property set (not null)PropertyInputForm builderstatic <P extends com.holonplatform.core.property.Property> PropertyInputFormBuilder<com.vaadin.flow.component.orderedlayout.VerticalLayout> verticalLayout(Iterable<P> properties)
PropertyInputForm using given property set and a VerticalLayout as
content layout.
A default composer is configured using Composable.componentContainerComposer(). Use
ComposableConfigurator.composer(com.holonplatform.vaadin.flow.components.Composable.Composer) to
provide a custom components composer.
P - Property typeproperties - The property set (not null)PropertyInputForm builderstatic PropertyInputFormBuilder<com.vaadin.flow.component.orderedlayout.VerticalLayout> verticalLayout(com.holonplatform.core.property.Property<?>... properties)
PropertyInputForm using given property set and a VerticalLayout as
content layout.
A default composer is configured using Composable.componentContainerComposer(). Use
ComposableConfigurator.composer(com.holonplatform.vaadin.flow.components.Composable.Composer) to
provide a custom components composer.
properties - The property set (not null)PropertyInputForm builderstatic <P extends com.holonplatform.core.property.Property> PropertyInputFormBuilder<com.vaadin.flow.component.orderedlayout.HorizontalLayout> horizontalLayout(Iterable<P> properties)
PropertyInputForm using given property set and a HorizontalLayout as
content layout.
A default composer is configured using Composable.componentContainerComposer(). Use
ComposableConfigurator.composer(com.holonplatform.vaadin.flow.components.Composable.Composer) to
provide a custom components composer.
P - Property typeproperties - The property set (not null)PropertyInputForm builderstatic PropertyInputFormBuilder<com.vaadin.flow.component.orderedlayout.HorizontalLayout> horizontalLayout(com.holonplatform.core.property.Property<?>... properties)
PropertyInputForm using given property set and a HorizontalLayout as
content layout.
A default composer is configured using Composable.componentContainerComposer(). Use
ComposableConfigurator.composer(com.holonplatform.vaadin.flow.components.Composable.Composer) to
provide a custom components composer.
properties - The property set (not null)PropertyInputForm builderCopyright © 2020 The Holon Platform. All rights reserved.