T - Value typeITEM - Item typeB - Concrete builder typepublic interface ListMultiSelectConfigurator<T,ITEM,B extends ListMultiSelectConfigurator<T,ITEM,B>> extends MultiSelectableInputConfigurator<T,ITEM,B>, HasSizeConfigurator<B>, HasItemEnableConfigurator<ITEM,B>
MultiSelect input builder using a MultiSelectListBox as input
component.ItemSetConfigurator.ItemCaptionGenerator<ITEM>InputConfigurator.BaseInputConfigurator<T>ComponentConfigurator.BaseComponentConfiguratorHasStyleConfigurator.BaseHasStyleConfiguratorHasEnabledConfigurator.BaseHasEnabledConfiguratorHasSizeConfigurator.BaseHasSizeConfiguratorFULL_SIZE| Modifier and Type | Method and Description |
|---|---|
static <T> ListMultiSelectConfigurator.ListMultiSelectInputBuilder<T,T> |
create(Class<T> type)
Get a new
ListMultiSelectConfigurator.ListMultiSelectInputBuilder to create a MultiSelect
which uses a MultiSelectListBox as input component. |
static <T,ITEM> ListMultiSelectConfigurator.ListMultiSelectInputBuilder<T,ITEM> |
create(Class<T> type,
Class<ITEM> itemType,
ItemConverter<T,ITEM> itemConverter)
Get a new
ListMultiSelectConfigurator.ListMultiSelectInputBuilder to create a MultiSelect
which uses a MultiSelectListBox as input component. |
static <T> ListMultiSelectConfigurator.PropertyListMultiSelectInputBuilder<T> |
create(com.holonplatform.core.property.Property<T> selectionProperty)
Get a new
ListMultiSelectConfigurator.PropertyListMultiSelectInputBuilder to create a
Property model based MultiSelect, which uses a
MultiSelectListBox as input component. |
static <T> ListMultiSelectConfigurator.PropertyListMultiSelectInputBuilder<T> |
create(com.holonplatform.core.property.Property<T> selectionProperty,
Function<T,Optional<com.holonplatform.core.property.PropertyBox>> itemConverter)
Get a new
ListMultiSelectConfigurator.PropertyListMultiSelectInputBuilder to create a
Property model based MultiSelect, which uses a
MultiSelectListBox as input component. |
B |
renderer(com.vaadin.flow.data.renderer.ComponentRenderer<? extends com.vaadin.flow.component.Component,ITEM> renderer)
Sets the
ComponentRenderer responsible to render the individual items
in the list of possible choices. |
B |
withComponentAfter(ITEM afterItem,
com.vaadin.flow.component.Component component)
Adds the given component after the given list item.
|
B |
withComponentBefore(ITEM beforeItem,
com.vaadin.flow.component.Component component)
Adds the given component before the given list item.
|
B |
withPrefixComponent(com.vaadin.flow.component.Component component)
Adds the given component before the list items.
|
dataSourceenumCaptionGeneratorwithSelectionListenerreadOnly, readOnly, required, required, withAdapter, withReadonlyChangeListener, withValueChangeListenercreate, elementConfiguration, hidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNamecreate, styleName, styleNamescreate, disabled, enableddeferLocalization, withDeferredLocalizationisDeferredLocalizationEnableditemCaption, itemCaption, itemCaption, itemCaptionGeneratorcreate, fullHeight, fullSize, fullWidth, height, height, heightUndefined, maxHeight, maxWidth, minHeight, minWidth, sizeUndefined, width, width, widthUndefineditemEnabledProviderB renderer(com.vaadin.flow.data.renderer.ComponentRenderer<? extends com.vaadin.flow.component.Component,ITEM> renderer)
ComponentRenderer responsible to render the individual items
in the list of possible choices. The renderer is applied to each item to
create a component which represents the item.renderer - the item renderer, not nullB withPrefixComponent(com.vaadin.flow.component.Component component)
component - The component to add (not null)B withComponentBefore(ITEM beforeItem, com.vaadin.flow.component.Component component)
beforeItem - The item before which to add the component (not null)component - The component to add (not null)B withComponentAfter(ITEM afterItem, com.vaadin.flow.component.Component component)
afterItem - The item after which to add the component (not null)component - The component to add (not null)static <T,ITEM> ListMultiSelectConfigurator.ListMultiSelectInputBuilder<T,ITEM> create(Class<T> type, Class<ITEM> itemType, ItemConverter<T,ITEM> itemConverter)
ListMultiSelectConfigurator.ListMultiSelectInputBuilder to create a MultiSelect
which uses a MultiSelectListBox as input component.T - Value typeITEM - Item typetype - Selection value type (not null)itemType - Selection items type (not null)itemConverter - The item converter to use (not null)ListMultiSelectConfigurator.ListMultiSelectInputBuilderstatic <T> ListMultiSelectConfigurator.ListMultiSelectInputBuilder<T,T> create(Class<T> type)
ListMultiSelectConfigurator.ListMultiSelectInputBuilder to create a MultiSelect
which uses a MultiSelectListBox as input component.T - Value typetype - Selection value type (not null)ListMultiSelectConfigurator.ListMultiSelectInputBuilderstatic <T> ListMultiSelectConfigurator.PropertyListMultiSelectInputBuilder<T> create(com.holonplatform.core.property.Property<T> selectionProperty)
ListMultiSelectConfigurator.PropertyListMultiSelectInputBuilder to create a
Property model based MultiSelect, which uses a
MultiSelectListBox as input component.T - Value typeselectionProperty - The property to use to represent the selection value
(not null)ListMultiSelectConfigurator.PropertyListMultiSelectInputBuilderstatic <T> ListMultiSelectConfigurator.PropertyListMultiSelectInputBuilder<T> create(com.holonplatform.core.property.Property<T> selectionProperty, Function<T,Optional<com.holonplatform.core.property.PropertyBox>> itemConverter)
ListMultiSelectConfigurator.PropertyListMultiSelectInputBuilder to create a
Property model based MultiSelect, which uses a
MultiSelectListBox as input component.T - Value typeselectionProperty - The property to use to represent the selection value
(not null)itemConverter - The function to use to convert a selection value
into the corresponding PropertyBox itemListMultiSelectConfigurator.PropertyListMultiSelectInputBuilderCopyright © 2020 The Holon Platform. All rights reserved.