Package io.jmix.flowui.component.listbox
Class JmixMultiSelectListBox<V>
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.AbstractField<C,T>
 
com.vaadin.flow.component.AbstractSinglePropertyField<C,VALUE>
 
com.vaadin.flow.component.listbox.ListBoxBase<com.vaadin.flow.component.listbox.MultiSelectListBox<T>,T,Set<T>>
  
com.vaadin.flow.component.listbox.MultiSelectListBox<V>
io.jmix.flowui.component.listbox.JmixMultiSelectListBox<V>
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.HasAriaLabel,- com.vaadin.flow.component.HasComponents,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasEnabled,- com.vaadin.flow.component.HasSize,- com.vaadin.flow.component.HasStyle,- com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.listbox.MultiSelectListBox<V>,,- Set<V>>, - Set<V>> - com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.listbox.MultiSelectListBox<V>,,- Set<V>>, - Set<V>> - com.vaadin.flow.component.shared.HasTooltip,- com.vaadin.flow.data.binder.HasItemComponents<V>,- com.vaadin.flow.data.provider.HasDataView<V,,- Void, - com.vaadin.flow.component.listbox.dataview.ListBoxDataView<V>> - com.vaadin.flow.data.provider.HasListDataView<V,,- com.vaadin.flow.component.listbox.dataview.ListBoxListDataView<V>> - com.vaadin.flow.data.selection.MultiSelect<com.vaadin.flow.component.listbox.MultiSelectListBox<V>,,- V> - SupportsDataProvider<V>,- SupportsItemsContainer<V>,- SupportsItemsEnum<V>,- Serializable,- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.InitializingBean,- org.springframework.context.ApplicationContextAware
public class JmixMultiSelectListBox<V>
extends com.vaadin.flow.component.listbox.MultiSelectListBox<V>
implements SupportsDataProvider<V>, SupportsItemsContainer<V>, SupportsItemsEnum<V>, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.vaadin.flow.component.AbstractFieldcom.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V extends Object> Nested classes/interfaces inherited from interface com.vaadin.flow.data.binder.HasItemComponentscom.vaadin.flow.data.binder.HasItemComponents.ItemComponent<T extends Object>Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValuecom.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected DataViewDelegate<JmixMultiSelectListBox<V>,V> protected MetadataTools
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidprotected StringapplyDefaultValueFormat(V value) protected voidprotected voidbindDataProvider(com.vaadin.flow.data.provider.DataProvider<V, ?> dataProvider) protected DataViewDelegate<JmixMultiSelectListBox<V>,V> com.vaadin.flow.data.provider.DataProvider<V,?> protected voidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) com.vaadin.flow.component.listbox.dataview.ListBoxDataView<V>com.vaadin.flow.component.listbox.dataview.ListBoxDataView<V>com.vaadin.flow.component.listbox.dataview.ListBoxListDataView<V>voidsetItems(CollectionContainer<V> container) Sets items from the passedCollectionContainer.voidSets items from the passedEnumClass.Methods inherited from class com.vaadin.flow.component.listbox.MultiSelectListBoxaddSelectionListener, getSelectedItems, getSelectionPreservationMode, setSelectionPreservationMode, setValue, updateSelection, valueEqualsMethods inherited from class com.vaadin.flow.component.listbox.ListBoxBasegetGenericDataView, getItemEnabledProvider, getItemId, getItemLabelGenerator, getItemRenderer, getListDataView, onAttach, onDetach, onEnabledStateChanged, setDataProvider, setItemEnabledProvider, setItemLabelGenerator, setRenderer, setRequiredIndicatorVisibleMethods inherited from class com.vaadin.flow.component.AbstractSinglePropertyFieldgetSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEventMethods inherited from class com.vaadin.flow.component.AbstractFieldaddValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValueMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasAriaLabelgetAriaLabel, getAriaLabelledBy, setAriaLabel, setAriaLabelledByMethods inherited from interface com.vaadin.flow.component.HasComponentsadd, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElementgetElementMethods inherited from interface com.vaadin.flow.component.HasEnabledisEnabled, setEnabledMethods inherited from interface com.vaadin.flow.data.binder.HasItemComponentsaddComponents, getItemPosition, prependComponentsMethods inherited from interface com.vaadin.flow.data.provider.HasListDataViewsetItems, setItemsMethods inherited from interface com.vaadin.flow.component.HasSizegetHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.shared.HasTooltipgetTooltip, setTooltipTextMethods inherited from interface com.vaadin.flow.component.HasValueaddValueChangeListener, clear, getOptionalValue, isEmptyMethods inherited from interface com.vaadin.flow.component.HasValueAndElementisReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisibleMethods inherited from interface com.vaadin.flow.data.selection.MultiSelectdeselect, deselect, deselectAll, getEmptyValue, getValue, isSelected, select, select
- 
Field Details- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContext
- 
metadataTools
- 
dataViewDelegate
 
- 
- 
Constructor Details- 
JmixMultiSelectListBoxpublic JmixMultiSelectListBox()
 
- 
- 
Method Details- 
setApplicationContextpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
- setApplicationContextin interface- org.springframework.context.ApplicationContextAware
- Throws:
- org.springframework.beans.BeansException
 
- 
afterPropertiesSet- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
- Throws:
- Exception
 
- 
autowireDependenciesprotected void autowireDependencies()
- 
initComponentprotected void initComponent()
- 
applyDefaultValueFormat
- 
setItemsDescription copied from interface:SupportsItemsContainerSets items from the passedCollectionContainer.- Specified by:
- setItemsin interface- SupportsItemsContainer<V>
- Parameters:
- container- a- CollectionContainerto be used as items source
- See Also:
 
- 
setItemsDescription copied from interface:SupportsItemsEnumSets items from the passedEnumClass.- Specified by:
- setItemsin interface- SupportsItemsEnum<V>
- Parameters:
- itemsEnum- a- EnumClassto be used as items source
- See Also:
 
- 
setItems
- 
setItems
- 
setItems
- 
bindDataProvider
- 
getDataProvider- Specified by:
- getDataProviderin interface- SupportsDataProvider<V>
- Overrides:
- getDataProviderin class- com.vaadin.flow.component.listbox.ListBoxBase<com.vaadin.flow.component.listbox.MultiSelectListBox<V>,- V, - Set<V>> 
 
- 
createDataViewDelegate
 
-