Class VSelect<T>
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.AbstractField<C,T>
-
- com.vaadin.flow.component.AbstractSinglePropertyField<R,T>
-
- com.vaadin.flow.component.select.generated.GeneratedVaadinSelect<com.vaadin.flow.component.select.Select<T>,T>
-
- com.vaadin.flow.component.select.Select<T>
-
- org.vaadin.firitin.components.select.VSelect<T>
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.select.Select<T>>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.Focusable<com.vaadin.flow.component.select.Select<T>>,com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.select.Select<T>>,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasHelper,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasValidation,com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<T>,T>,T>,com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<T>,T>,T>,com.vaadin.flow.data.binder.HasItemComponents<T>,com.vaadin.flow.data.provider.HasDataView<T,Void,com.vaadin.flow.component.select.data.SelectDataView<T>>,com.vaadin.flow.data.provider.HasListDataView<T,com.vaadin.flow.component.select.data.SelectListDataView<T>>,com.vaadin.flow.data.selection.SingleSelect<com.vaadin.flow.component.select.Select<T>,T>,Serializable,FluentBlurNotifier<com.vaadin.flow.component.select.Select<T>,VSelect<T>>,FluentFocusable<com.vaadin.flow.component.select.Select<T>,VSelect<T>>,FluentFocusNotifier<com.vaadin.flow.component.select.Select<T>,VSelect<T>>,FluentHasComponents<VSelect<T>>,FluentHasEnabled<VSelect<T>>,FluentHasHelper<VSelect<T>>,FluentHasSize<VSelect<T>>,FluentHasStyle<VSelect<T>>,FluentHasValidation<VSelect<T>>,FluentHasValueAndElement<VSelect<T>,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<T>,T>,T>,FluentHasLabel<VSelect<T>>
public class VSelect<T> extends com.vaadin.flow.component.select.Select<T> implements FluentHasComponents<VSelect<T>>, FluentHasSize<VSelect<T>>, FluentHasValidation<VSelect<T>>, FluentHasStyle<VSelect<T>>, FluentFocusable<com.vaadin.flow.component.select.Select<T>,VSelect<T>>, FluentHasValueAndElement<VSelect<T>,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<T>,T>,T>, FluentHasLabel<VSelect<T>>, FluentHasHelper<VSelect<T>>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.select.generated.GeneratedVaadinSelect
com.vaadin.flow.component.select.generated.GeneratedVaadinSelect.InvalidChangeEvent<R extends com.vaadin.flow.component.select.generated.GeneratedVaadinSelect<R,?>>, com.vaadin.flow.component.select.generated.GeneratedVaadinSelect.OpenedChangeEvent<R extends com.vaadin.flow.component.select.generated.GeneratedVaadinSelect<R,?>>
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.AbstractField
com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V extends Object>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier
com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.data.binder.HasItemComponents
com.vaadin.flow.data.binder.HasItemComponents.ItemComponent<T extends Object>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue
com.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VSelect<T>with(com.vaadin.flow.component.Component... components)VSelect<T>withAutofocus(boolean autofocus)VSelect<T>withComponents(T afterItem, com.vaadin.flow.component.Component... components)VSelect<T>withDataProvider(com.vaadin.flow.data.provider.DataProvider<T,?> dataProvider)VSelect<T>withEmptySelectionAllowed(boolean emptySelectionAllowed)VSelect<T>withEmptySelectionCaption(String emptySelectionCaption)VSelect<T>withItemEnabledProvider(com.vaadin.flow.function.SerializablePredicate<T> itemEnabledProvider)VSelect<T>withItemLabelGenerator(com.vaadin.flow.component.ItemLabelGenerator<T> itemLabelGenerator)VSelect<T>withItems(Collection<T> items)VSelect<T>withItems(Stream<T> streamOfItems)Deprecated.VSelect<T>withItems(T... items)VSelect<T>withPlaceholder(String placeholder)VSelect<T>withPrependComponents(T beforeItem, com.vaadin.flow.component.Component... components)VSelect<T>withRenderer(com.vaadin.flow.data.renderer.ComponentRenderer<? extends com.vaadin.flow.component.Component,T> renderer)VSelect<T>withTextRenderer(com.vaadin.flow.component.ItemLabelGenerator<T> itemLabelGenerator)-
Methods inherited from class com.vaadin.flow.component.select.Select
add, addComponentAsFirst, addComponentAtIndex, addComponents, addToPrefix, getChildren, getDataProvider, getEmptySelectionCaption, getErrorMessage, getGenericDataView, getItemEnabledProvider, getItemLabelGenerator, getItemRenderer, getLabel, getListDataView, getPlaceholder, hasValidValue, isAutofocus, isEmptySelectionAllowed, isInvalid, isRequiredIndicatorVisible, onAttach, onEnabledStateChanged, prependComponents, remove, removeAll, setAutofocus, setDataProvider, setEmptySelectionAllowed, setEmptySelectionCaption, setErrorMessage, setInvalid, setItemEnabledProvider, setItemLabelGenerator, setItems, setItems, setItems, setItems, setLabel, setPlaceholder, setRenderer, setRequiredIndicatorVisible, setTextRenderer, valueEquals
-
Methods inherited from class com.vaadin.flow.component.select.generated.GeneratedVaadinSelect
addInvalidChangeListener, addOpenedChangeListener, getErrorMessageString, getLabelString, getNameString, getPlaceholderString, isAutofocusBoolean, isDisabledBoolean, isInvalidBoolean, isOpenedBoolean, isReadonlyBoolean, isRequiredBoolean, setDisabled, setName, setOpened, setReadonly, setRequired, validate
-
Methods inherited from class com.vaadin.flow.component.AbstractSinglePropertyField
getSynchronizationRegistration, setPresentationValue, setSynchronizedEvent
-
Methods inherited from class com.vaadin.flow.component.AbstractField
addValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValue, setValue
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentBlurNotifier
withBlurListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusable
withTabIndex
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusNotifier
withFocusListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasComponents
withComponentAsFirst, withComponentAtIndex, withComponents
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasEnabled
withEnabled
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasHelper
withHelperComponent, withHelperText
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.internal.FluentHasLabel
getLabel, setLabel, withLabel
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidth
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle
withAddedClassName, withClassName, withStyle
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasValidation
withErrorMessage, withInvalid
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasValueAndElement
withReadOnly, withRequiredIndicatorVisible, withValue, withValueChangeListener
-
Methods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndex
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasHelper
getHelperComponent, getHelperText, setHelperComponent, setHelperText
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
-
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Methods inherited from interface com.vaadin.flow.component.HasValidation
getErrorMessage, isInvalid, setErrorMessage, setInvalid
-
-
-
-
Method Detail
-
withRenderer
public VSelect<T> withRenderer(com.vaadin.flow.data.renderer.ComponentRenderer<? extends com.vaadin.flow.component.Component,T> renderer)
-
withTextRenderer
public VSelect<T> withTextRenderer(com.vaadin.flow.component.ItemLabelGenerator<T> itemLabelGenerator)
-
withEmptySelectionAllowed
public VSelect<T> withEmptySelectionAllowed(boolean emptySelectionAllowed)
-
withEmptySelectionCaption
public VSelect<T> withEmptySelectionCaption(String emptySelectionCaption)
-
withItemEnabledProvider
public VSelect<T> withItemEnabledProvider(com.vaadin.flow.function.SerializablePredicate<T> itemEnabledProvider)
-
withItemLabelGenerator
public VSelect<T> withItemLabelGenerator(com.vaadin.flow.component.ItemLabelGenerator<T> itemLabelGenerator)
-
withComponents
public VSelect<T> withComponents(T afterItem, com.vaadin.flow.component.Component... components)
-
withPrependComponents
public VSelect<T> withPrependComponents(T beforeItem, com.vaadin.flow.component.Component... components)
-
withDataProvider
public VSelect<T> withDataProvider(com.vaadin.flow.data.provider.DataProvider<T,?> dataProvider)
-
withItems
public VSelect<T> withItems(Collection<T> items)
-
withItems
@Deprecated public VSelect<T> withItems(Stream<T> streamOfItems)
Deprecated.
-
-