Class VSelect<T>

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.AbstractField<C,T>
com.vaadin.flow.component.AbstractSinglePropertyField<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.HasAriaLabel, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasHelper, com.vaadin.flow.component.HasLabel, com.vaadin.flow.component.HasPlaceholder, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, 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.component.shared.HasClientValidation, com.vaadin.flow.component.shared.HasOverlayClassName, com.vaadin.flow.component.shared.HasPrefix, com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.select.SelectVariant>, com.vaadin.flow.component.shared.HasTooltip, com.vaadin.flow.component.shared.HasValidationProperties, com.vaadin.flow.component.shared.InputField<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.binder.HasValidator<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>>, FluentHasTooltip<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>>, FluentHasTooltip<VSelect<T>>
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.flow.component.select.Select

    com.vaadin.flow.component.select.Select.InvalidChangeEvent, com.vaadin.flow.component.select.Select.OpenedChangeEvent

    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.component.shared.HasClientValidation

    com.vaadin.flow.component.shared.HasClientValidation.ClientValidatedEvent

    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<?>>
  • Field Summary

    Fields inherited from class com.vaadin.flow.component.select.Select

    LABEL_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    VSelect(String label)
     
    VSelect(String label, Collection<T> items)
     
    VSelect(String label, T... items)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    with(com.vaadin.flow.component.Component... components)
     
    withAutofocus(boolean autofocus)
     
    withComponents(T afterItem, com.vaadin.flow.component.Component... components)
     
    withDataProvider(com.vaadin.flow.data.provider.DataProvider<T,Void> dataProvider)
     
    withEmptySelectionAllowed(boolean emptySelectionAllowed)
     
    withEmptySelectionCaption(String emptySelectionCaption)
     
    withItemEnabledProvider(com.vaadin.flow.function.SerializablePredicate<T> itemEnabledProvider)
     
    withItemLabelGenerator(com.vaadin.flow.component.ItemLabelGenerator<T> itemLabelGenerator)
     
     
    withItems(T... items)
     
    withPlaceholder(String placeholder)
     
    withPrependComponents(T beforeItem, com.vaadin.flow.component.Component... components)
     
    withRenderer(com.vaadin.flow.data.renderer.ComponentRenderer<? extends com.vaadin.flow.component.Component,T> renderer)
     
    withTextRenderer(com.vaadin.flow.component.ItemLabelGenerator<T> itemLabelGenerator)
     

    Methods inherited from class com.vaadin.flow.component.select.Select

    add, addComponentAsFirst, addComponentAtIndex, addComponents, addInvalidChangeListener, addOpenedChangeListener, getAriaLabel, getAriaLabelledBy, getChildren, getDataProvider, getEmptySelectionCaption, getGenericDataView, getItemEnabledProvider, getItemLabelGenerator, getItemPosition, getItemRenderer, getLabel, getListDataView, hasValidValue, isAutofocus, isEmptySelectionAllowed, isOpened, isRequiredIndicatorVisible, onAttach, onEnabledStateChanged, prependComponents, remove, removeAll, setAriaLabel, setAriaLabelledBy, setAutofocus, setDataProvider, setEmptySelectionAllowed, setEmptySelectionCaption, setItemEnabledProvider, setItemLabelGenerator, setItems, setItems, setItems, setLabel, setManualValidation, setOpened, setPlaceholder, setRenderer, setRequiredIndicatorVisible, setTextRenderer, validate, valueEquals

    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, findAncestor, fireEvent, from, get, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, removeFromParent, scrollIntoView, scrollIntoView, 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 com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.BlurNotifier

    addBlurListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    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

    withLabel

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle

    withAddedClassName, withClassName, withStyle

    Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasTooltip

    withTooltip

    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.FocusNotifier

    addFocusListener

    Methods inherited from interface com.vaadin.flow.component.shared.HasClientValidation

    addClientValidatedEventListener

    Methods inherited from interface com.vaadin.flow.component.HasComponents

    add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    Methods inherited from interface com.vaadin.flow.component.HasHelper

    getHelperComponent, getHelperText, setHelperComponent, setHelperText

    Methods inherited from interface com.vaadin.flow.component.HasLabel

    getLabel, setLabel

    Methods inherited from interface com.vaadin.flow.data.provider.HasListDataView

    setItems, setItems

    Methods inherited from interface com.vaadin.flow.component.shared.HasOverlayClassName

    getOverlayClassName, setOverlayClassName

    Methods inherited from interface com.vaadin.flow.component.HasPlaceholder

    getPlaceholder

    Methods inherited from interface com.vaadin.flow.component.shared.HasPrefix

    getPrefixComponent, setPrefixComponent

    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.HasTheme

    addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName

    Methods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant

    addThemeVariants, removeThemeVariants

    Methods inherited from interface com.vaadin.flow.component.shared.HasTooltip

    getTooltip, setTooltipText

    Methods inherited from interface com.vaadin.flow.component.HasValidation

    setManualValidation

    Methods inherited from interface com.vaadin.flow.component.shared.HasValidationProperties

    getErrorMessage, isInvalid, setErrorMessage, setInvalid

    Methods inherited from interface com.vaadin.flow.data.binder.HasValidator

    addValidationStatusChangeListener, getDefaultValidator

    Methods inherited from interface com.vaadin.flow.component.HasValue

    addValueChangeListener, clear, getEmptyValue, getOptionalValue, getValue, isEmpty, setValue

    Methods inherited from interface com.vaadin.flow.component.HasValueAndElement

    isReadOnly, setReadOnly
  • Constructor Details

    • VSelect

      public VSelect()
    • VSelect

      public VSelect(String label, Collection<T> items)
    • VSelect

      public VSelect(String label, T... items)
    • VSelect

      public VSelect(String label)
  • Method Details

    • 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)
    • withPlaceholder

      public VSelect<T> withPlaceholder(String placeholder)
    • withAutofocus

      public VSelect<T> withAutofocus(boolean autofocus)
    • with

      public VSelect<T> with(com.vaadin.flow.component.Component... components)
    • 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,Void> dataProvider)
    • withItems

      public VSelect<T> withItems(Collection<T> items)
    • withItems

      public VSelect<T> withItems(T... items)