public static interface Components.input
| Modifier and Type | Method and Description |
|---|---|
static BooleanInputBuilder |
boolean_()
|
static DateInputBuilder |
date()
|
static DateInputBuilder |
date(boolean inline)
|
static DateInputBuilder |
date(com.vaadin.shared.ui.datefield.Resolution resolution)
|
static DateInputBuilder |
date(com.vaadin.shared.ui.datefield.Resolution resolution,
boolean inline)
|
static <E extends Enum<E>> |
enumMulti(Class<E> type)
Gets a builder to create a multiple selection
Input with given Enum class as data source,
using all enum constants as selection items and default BaseSelectInputBuilder.RenderingMode.OPTIONS rendering mode. |
static <E extends Enum<E>> |
enumMulti(Class<E> type,
BaseSelectInputBuilder.RenderingMode renderingMode)
|
static <E extends Enum<E>> |
enumSingle(Class<E> type)
Gets a builder to create a single selection
Input with given Enum class as data source, using
all enum constants as selection items and default BaseSelectInputBuilder.RenderingMode.SELECT rendering mode. |
static <E extends Enum<E>> |
enumSingle(Class<E> type,
BaseSelectInputBuilder.RenderingMode renderingMode)
|
static PropertyInputForm.PropertyInputFormBuilder<com.vaadin.ui.FormLayout> |
form()
Gets a builder to create a
PropertyInputForm using a FormLayout as layout component and a
default ComposableComponent.componentContainerComposer() to compose the fields on layout. |
static <C extends com.vaadin.ui.Component> |
form(C content)
Gets a builder to create a
PropertyInputForm. |
static PropertyInputForm.PropertyInputFormBuilder<com.vaadin.ui.GridLayout> |
formGrid()
Gets a builder to create a
PropertyInputForm using a VerticalLayout as layout component and a
default ComposableComponent.componentContainerComposer() to compose the fields on layout. |
static PropertyInputForm.PropertyInputFormBuilder<com.vaadin.ui.HorizontalLayout> |
formHorizontal()
Gets a builder to create a
PropertyInputForm using a HorizontalLayout as layout component and
a default ComposableComponent.componentContainerComposer() to compose the fields on layout. |
static PropertyInputForm.PropertyInputFormBuilder<com.vaadin.ui.VerticalLayout> |
formVertical()
Gets a builder to create a
PropertyInputForm using a VerticalLayout as layout component and a
default ComposableComponent.componentContainerComposer() to compose the fields on layout. |
static TemporalInputBuilder.TemporalWithoutTimeFieldBuilder<LocalDate> |
localDate()
|
static TemporalInputBuilder.TemporalWithoutTimeFieldBuilder<LocalDate> |
localDate(boolean inline)
|
static TemporalInputBuilder.TemporalWithTimeFieldBuilder<LocalDateTime> |
localDateTime()
Gets a builder to create
LocalDateTime type Inputs. |
static TemporalInputBuilder.TemporalWithTimeFieldBuilder<LocalDateTime> |
localDateTime(boolean inline)
Gets a builder to create
LocalDateTime type Inputs. |
static <T> MultiSelectInputBuilder<T> |
multiSelect(Class<? extends T> type)
Gets a builder to create a multiple selection
Input using default BaseSelectInputBuilder.RenderingMode.OPTIONS. |
static <T> MultiSelectInputBuilder<T> |
multiSelect(Class<? extends T> type,
BaseSelectInputBuilder.RenderingMode renderingMode)
Gets a builder to create a multiple selection
Input. |
static <T> MultiPropertySelectInputBuilder<T> |
multiSelect(com.holonplatform.core.property.Property<T> selectProperty)
Gets a builder to create a
MultiSelect with a PropertyBox items data source with
Property as item properties. |
static <T> MultiPropertySelectInputBuilder<T> |
multiSelect(com.holonplatform.core.property.Property<T> selectProperty,
BaseSelectInputBuilder.RenderingMode renderingMode)
Gets a builder to create a
MultiSelect with a PropertyBox items data source with
Property as item properties. |
static <T extends Number> |
number(Class<T> numberClass)
|
static PropertyInputGroup.PropertyInputGroupBuilder |
propertyGroup()
Gets a builder to create a
PropertyInputGroup. |
static SecretInputBuilder |
secretString()
|
static <T> SingleSelectInputBuilder<T> |
singleSelect(Class<? extends T> type)
Gets a builder to create a single selection
Input using default BaseSelectInputBuilder.RenderingMode.SELECT. |
static <T> SingleSelectInputBuilder<T> |
singleSelect(Class<? extends T> type,
BaseSelectInputBuilder.RenderingMode renderingMode)
Gets a builder to create a single selection
Input. |
static <T> SinglePropertySelectInputBuilder<T> |
singleSelect(com.holonplatform.core.property.Property<T> selectProperty)
Gets a builder to create a
SingleSelect with a PropertyBox items data source with
Property as item properties. |
static <T> SinglePropertySelectInputBuilder<T> |
singleSelect(com.holonplatform.core.property.Property<T> selectProperty,
BaseSelectInputBuilder.RenderingMode renderingMode)
Gets a builder to create a
SingleSelect with a PropertyBox items data source with
Property as item properties. |
static StringInputBuilder |
string()
|
static StringInputBuilder |
string(boolean area)
|
static StringInputBuilder string()
static StringInputBuilder string(boolean area)
area - true to create an input component rendered as a text area,
false for a standard text inputstatic SecretInputBuilder secretString()
String type Inputs which not display user input on screen, used to
enter secret text information like passwords.static <T extends Number> NumberInputBuilder<T> number(Class<T> numberClass)
T - Number typenumberClass - Concrete number classstatic BooleanInputBuilder boolean_()
static DateInputBuilder date(com.vaadin.shared.ui.datefield.Resolution resolution, boolean inline)
resolution - field Resolutioninline - true to render the input component using an inline calendarstatic DateInputBuilder date(com.vaadin.shared.ui.datefield.Resolution resolution)
resolution - field Resolutionstatic DateInputBuilder date(boolean inline)
inline - true to render the input component using an inline calendarstatic DateInputBuilder date()
static TemporalInputBuilder.TemporalWithoutTimeFieldBuilder<LocalDate> localDate(boolean inline)
inline - true to render the input component using an inline calendarstatic TemporalInputBuilder.TemporalWithoutTimeFieldBuilder<LocalDate> localDate()
static TemporalInputBuilder.TemporalWithTimeFieldBuilder<LocalDateTime> localDateTime(boolean inline)
LocalDateTime type Inputs.inline - true to render the input component using an inline calendarstatic TemporalInputBuilder.TemporalWithTimeFieldBuilder<LocalDateTime> localDateTime()
LocalDateTime type Inputs.static <T> SingleSelectInputBuilder<T> singleSelect(Class<? extends T> type, BaseSelectInputBuilder.RenderingMode renderingMode)
Input.T - Selection value typetype - Selection value typerenderingMode - Rendering modestatic <T> SingleSelectInputBuilder<T> singleSelect(Class<? extends T> type)
Input using default BaseSelectInputBuilder.RenderingMode.SELECT.T - Selection value typetype - Selection value typestatic <T> SinglePropertySelectInputBuilder<T> singleSelect(com.holonplatform.core.property.Property<T> selectProperty, BaseSelectInputBuilder.RenderingMode renderingMode)
SingleSelect with a PropertyBox items data source with
Property as item properties.T - Selection value typeselectProperty - Property to select (not null)renderingMode - Rendering modeSingleSelect builderstatic <T> SinglePropertySelectInputBuilder<T> singleSelect(com.holonplatform.core.property.Property<T> selectProperty)
SingleSelect with a PropertyBox items data source with
Property as item properties. Default BaseSelectInputBuilder.RenderingMode.SELECT is assumed.T - Selection value typeselectProperty - Property to select (not null)SingleSelect builderstatic <T> MultiSelectInputBuilder<T> multiSelect(Class<? extends T> type, BaseSelectInputBuilder.RenderingMode renderingMode)
Input.T - Selection value typetype - Selection value typerenderingMode - Rendering modestatic <T> MultiSelectInputBuilder<T> multiSelect(Class<? extends T> type)
Input using default BaseSelectInputBuilder.RenderingMode.OPTIONS.T - Selection value typetype - Selection value typestatic <T> MultiPropertySelectInputBuilder<T> multiSelect(com.holonplatform.core.property.Property<T> selectProperty, BaseSelectInputBuilder.RenderingMode renderingMode)
MultiSelect with a PropertyBox items data source with
Property as item properties.T - Selection value typeselectProperty - Property to select (not null)renderingMode - Rendering modeMultiSelect builderstatic <T> MultiPropertySelectInputBuilder<T> multiSelect(com.holonplatform.core.property.Property<T> selectProperty)
MultiSelect with a PropertyBox items data source with
Property as item properties. Default BaseSelectInputBuilder.RenderingMode.SELECT is assumed.T - Selection value typeselectProperty - Property to select (not null)MultiSelect builderstatic <E extends Enum<E>> SingleSelectInputBuilder<E> enumSingle(Class<E> type, BaseSelectInputBuilder.RenderingMode renderingMode)
Input with given Enum class as data source, using
all enum constants as selection items.E - Enum value typetype - Enum value typerenderingMode - Rendering modestatic <E extends Enum<E>> SingleSelectInputBuilder<E> enumSingle(Class<E> type)
Input with given Enum class as data source, using
all enum constants as selection items and default BaseSelectInputBuilder.RenderingMode.SELECT rendering mode.E - Enum value typetype - Enum value typestatic <E extends Enum<E>> MultiSelectInputBuilder<E> enumMulti(Class<E> type, BaseSelectInputBuilder.RenderingMode renderingMode)
Input with given Enum class as data source,
using all enum constants as selection items.E - Enum value typetype - Enum value typerenderingMode - Rendering modestatic <E extends Enum<E>> MultiSelectInputBuilder<E> enumMulti(Class<E> type)
Input with given Enum class as data source,
using all enum constants as selection items and default BaseSelectInputBuilder.RenderingMode.OPTIONS rendering mode.E - Enum value typetype - Enum value typestatic PropertyInputGroup.PropertyInputGroupBuilder propertyGroup()
PropertyInputGroup.PropertyInputGroup builderstatic <C extends com.vaadin.ui.Component> PropertyInputForm.PropertyInputFormBuilder<C> form(C content)
PropertyInputForm.C - Content typecontent - Form content, where fields will be composed by the form ComposableComponent.Composer (not null)PropertyInputForm builderstatic PropertyInputForm.PropertyInputFormBuilder<com.vaadin.ui.FormLayout> form()
PropertyInputForm using a FormLayout as layout component and a
default ComposableComponent.componentContainerComposer() to compose the fields on layout.PropertyInputForm builderstatic PropertyInputForm.PropertyInputFormBuilder<com.vaadin.ui.VerticalLayout> formVertical()
PropertyInputForm using a VerticalLayout as layout component and a
default ComposableComponent.componentContainerComposer() to compose the fields on layout.PropertyInputForm builderstatic PropertyInputForm.PropertyInputFormBuilder<com.vaadin.ui.HorizontalLayout> formHorizontal()
PropertyInputForm using a HorizontalLayout as layout component and
a default ComposableComponent.componentContainerComposer() to compose the fields on layout.PropertyInputForm builderstatic PropertyInputForm.PropertyInputFormBuilder<com.vaadin.ui.GridLayout> formGrid()
PropertyInputForm using a VerticalLayout as layout component and a
default ComposableComponent.componentContainerComposer() to compose the fields on layout.PropertyInputForm builderCopyright © 2019 The Holon Platform. All rights reserved.