| Package | Description |
|---|---|
| com.holonplatform.vaadin.flow.components | |
| com.holonplatform.vaadin.flow.components.builders |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MultiSelect<T>
A
Selectable component in which multiple items can be selected at the same time. |
interface |
SingleSelect<T>
A
Selectable component in which at most one item can be selected at a time. |
interface |
ValidatableInput<T>
An
Input component with validation support using Validators. |
interface |
ValidatableMultiSelect<T>
An
MultiSelect component with validation support using Validators. |
interface |
ValidatableSingleSelect<T>
An
SingleSelect component with validation support using Validators. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Input<T> |
Input.create(com.holonplatform.core.property.Property<T> property)
Create an
Input component using given Property to detect the Input value type and the Input
configuration. |
static <T,F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,T>> |
Input.from(F field)
Create a
Input component type from given HasValue component. |
static <F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,V>,T,V> |
Input.from(F field,
com.vaadin.flow.data.converter.Converter<V,T> converter)
Create a new
Input from given HasValue component with a different value type, using given
Converter to perform value conversions. |
static <F extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasValue<?,V>,T,V> |
Input.from(F field,
com.holonplatform.core.property.Property<T> property,
com.holonplatform.core.property.PropertyValueConverter<T,V> converter)
|
static <T,V> Input<T> |
Input.from(Input<V> input,
com.vaadin.flow.data.converter.Converter<V,T> converter)
|
static <T,V> Input<T> |
Input.from(Input<V> input,
com.holonplatform.core.property.Property<T> property,
com.holonplatform.core.property.PropertyValueConverter<T,V> converter)
|
default <T> Input<T> |
PropertyInputGroup.requireInput(com.holonplatform.core.property.Property<T> property)
Get the
Input bound to the given property, throwing a Property.PropertyNotFoundException if
not available. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Optional<Input<T>> |
Input.create(Class<T> type)
Create an
Input to handle given value type, if available. |
<T> Optional<Input<T>> |
PropertyInputGroup.getInput(com.holonplatform.core.property.Property<T> property)
Get the
Input bound to the given property, if available. |
default Class<? extends Input<T>> |
Input.InputPropertyRenderer.getRenderType() |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.holonplatform.core.Validator<T> |
Validatable.adapt(com.vaadin.flow.data.binder.Validator<T> validator,
Input<T> input)
Adapt given
Validator to be used as a Validator. |
static <T> ValidatableInputBuilder<T> |
ValidatableInput.builder(Input<T> input)
Get a fluent builder to create and setup a
ValidatableInput from given Input. |
static <T> ValidatableInput<T> |
ValidatableInput.from(Input<T> input)
Create a
ValidatableInput from given Input instance. |
static <T,V> Input<T> |
Input.from(Input<V> input,
com.vaadin.flow.data.converter.Converter<V,T> converter)
|
static <T,V> Input<T> |
Input.from(Input<V> input,
com.holonplatform.core.property.Property<T> property,
com.holonplatform.core.property.PropertyValueConverter<T,V> converter)
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Input.InputPropertyRenderer<T> |
Input.InputPropertyRenderer.create(Function<com.holonplatform.core.property.Property<? extends T>,Input<T>> function)
Create a new
Input.InputPropertyRenderer using given function. |
| Modifier and Type | Method and Description |
|---|---|
default <T> C |
PropertyInputGroupConfigurator.bind(com.holonplatform.core.property.Property<T> property,
Input<T> input)
Bind the given
property to given input instance. |
default <T,V> C |
PropertyInputGroupConfigurator.bind(com.holonplatform.core.property.Property<T> property,
Input<V> input,
com.vaadin.flow.data.converter.Converter<V,T> converter)
Bind the given
property to given input instance with different value type, using a
Converter to perform value conversions. |
static <T> ValidatableInputBuilder<T> |
ValidatableInputBuilder.create(Input<T> input)
Get a builder to create and setup a
ValidatableInput from given Input. |
default <T> C |
PropertyListingConfigurator.editor(com.holonplatform.core.property.Property<T> property,
Input<T> input)
Set the
Input to use as given property column editor, when a listing row is in editable
mode. |
default <T,V> C |
PropertyListingConfigurator.editor(com.holonplatform.core.property.Property<T> property,
Input<V> input,
com.vaadin.flow.data.converter.Converter<V,T> converter)
|
C |
BeanListingConfigurator.editor(String property,
Input<?> editor)
Set the
Input to use as given property column editor, when a listing row is in edit mode. |
| Modifier and Type | Method and Description |
|---|---|
default <T> C |
PropertyInputGroupConfigurator.bind(com.holonplatform.core.property.Property<T> property,
Function<com.holonplatform.core.property.Property<? extends T>,Input<T>> function)
Set the function to use to render the
Input bound to given property. |
<T> C |
PropertyInputGroupConfigurator.bind(com.holonplatform.core.property.Property<T> property,
com.holonplatform.core.property.PropertyRenderer<Input<T>,T> renderer)
|
default <T> C |
PropertyListingConfigurator.editor(com.holonplatform.core.property.Property<T> property,
Function<com.holonplatform.core.property.Property<? extends T>,Input<T>> function)
Set the function to provide the
Input to use as given property column editor, when a listing
row is in editable mode. |
<T> C |
PropertyListingConfigurator.editor(com.holonplatform.core.property.Property<T> property,
com.holonplatform.core.property.PropertyRenderer<Input<T>,T> renderer)
Set the
PropertyRenderer to provide the Input to use as given property column
editor, when a listing row is in editable mode. |
C |
InputGroupConfigurator.groupValidationStatusHandler(GroupValidationStatusHandler<G,P,Input<?>> groupValidationStatusHandler)
Set the
GroupValidationStatusHandler to use to track both the group element validation status changes and
the group value validation status changes. |
C |
InputGroupConfigurator.validationStatusHandler(P property,
ValidationStatusHandler<Input<?>> validationStatusHandler)
Set the
ValidationStatusHandler to use to track given property validation status changes. |
C |
InputGroupConfigurator.withPostProcessor(BiConsumer<P,Input<?>> postProcessor)
Add a
BiConsumer to allow further Input configuration before the input is actually bound to a
property as editor. |
<V> C |
InputGroupConfigurator.PropertySetInputGroupConfigurator.withValueChangeListener(com.holonplatform.core.property.Property<V> property,
ValueHolder.ValueChangeListener<V,GroupValueChangeEvent<V,com.holonplatform.core.property.Property<?>,Input<?>,G>> listener)
|
C |
InputGroupConfigurator.BeanInputGroupConfigurator.withValueChangeListener(String property,
ValueHolder.ValueChangeListener<?,GroupValueChangeEvent<?,String,Input<?>,G>> listener)
|
Copyright © 2019 The Holon Platform. All rights reserved.