public static interface Components.input
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(DateInputBuilder.Resolution resolution, boolean inline)
resolution - field Resolutioninline - true to render the input component using an inline calendarstatic DateInputBuilder date(DateInputBuilder.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.GenericSingleSelectInputBuilder<T> singleSelect(Class<? extends T> type, BaseSelectInputBuilder.RenderingMode renderingMode)
Input.T - Selection value typetype - Selection value typerenderingMode - Rendering modestatic <T> BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<T> singleSelect(Class<? extends T> type)
Input using BaseSelectInputBuilder.RenderingMode.SELECT.T - Selection value typetype - Selection value typestatic <T> BaseSelectModeSingleSelectInputBuilder.NativeModeSingleSelectInputBuilder<T> singleNativeSelect(Class<? extends T> type)
Input using BaseSelectInputBuilder.RenderingMode.NATIVE_SELECT.T - Selection value typetype - Selection value typestatic <T> BaseSelectModeSingleSelectInputBuilder.OptionsModeSingleSelectInputBuilder<T> singleOptionSelect(Class<? extends T> type)
Input using BaseSelectInputBuilder.RenderingMode.OPTIONS.T - Selection value typetype - Selection value typestatic <T> SinglePropertySelectInputBuilder.GenericSinglePropertySelectInputBuilder<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> BaseSelectModeSinglePropertySelectInputBuilder.SelectModeSinglePropertySelectInputBuilder<T> singleSelect(com.holonplatform.core.property.Property<T> selectProperty)
SingleSelect with a PropertyBox items data source with
Property as item properties using BaseSelectInputBuilder.RenderingMode.SELECT.T - Selection value typeselectProperty - Property to select (not null)SingleSelect builderstatic <T> BaseSelectModeSinglePropertySelectInputBuilder.NativeModeSinglePropertySelectInputBuilder<T> singleNativeSelect(com.holonplatform.core.property.Property<T> selectProperty)
SingleSelect with a PropertyBox items data source with
Property as item properties using BaseSelectInputBuilder.RenderingMode.NATIVE_SELECT.T - Selection value typeselectProperty - Property to select (not null)SingleSelect builderstatic <T> BaseSelectModeSinglePropertySelectInputBuilder.OptionsModeSinglePropertySelectInputBuilder<T> singleOptionSelect(com.holonplatform.core.property.Property<T> selectProperty)
SingleSelect with a PropertyBox items data source with
Property as item properties using BaseSelectInputBuilder.RenderingMode.OPTIONS.T - Selection value typeselectProperty - Property to select (not null)SingleSelect builderstatic <T> MultiSelectInputBuilder.GenericMultiSelectInputBuilder<T> multiSelect(Class<? extends T> type, BaseSelectInputBuilder.RenderingMode renderingMode)
Input.T - Selection value typetype - Selection value typerenderingMode - Rendering modestatic <T> BaseSelectModeMultiSelectInputBuilder.OptionsModeMultiSelectInputBuilder<T> multiSelect(Class<? extends T> type)
Input using default BaseSelectInputBuilder.RenderingMode.OPTIONS.T - Selection value typetype - Selection value typestatic <T> BaseSelectModeMultiSelectInputBuilder.SelectModeMultiSelectInputBuilder<T> multiSelectList(Class<? extends T> type)
Input using BaseSelectInputBuilder.RenderingMode.SELECT.T - Selection value typetype - Selection value typestatic <T> MultiPropertySelectInputBuilder.GenericMultiPropertySelectInputBuilder<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> BaseSelectModeMultiPropertySelectInputBuilder.OptionsModeMultiPropertySelectInputBuilder<T> multiSelect(com.holonplatform.core.property.Property<T> selectProperty)
MultiSelect with a PropertyBox items data source with
Property as item properties using default BaseSelectInputBuilder.RenderingMode.OPTIONS.T - Selection value typeselectProperty - Property to select (not null)MultiSelect builderstatic <T> BaseSelectModeMultiPropertySelectInputBuilder.SelectModeMultiPropertySelectInputBuilder<T> multiSelectList(com.holonplatform.core.property.Property<T> selectProperty)
MultiSelect with a PropertyBox items data source with
Property as item properties using default BaseSelectInputBuilder.RenderingMode.SELECT.T - Selection value typeselectProperty - Property to select (not null)MultiSelect builderstatic <E extends Enum<E>> SingleSelectInputBuilder.GenericSingleSelectInputBuilder<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>> BaseSelectModeSingleSelectInputBuilder.SelectModeSingleSelectInputBuilder<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.GenericMultiSelectInputBuilder<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>> BaseSelectModeMultiSelectInputBuilder.OptionsModeMultiSelectInputBuilder<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.