Class VCheckboxGroup<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.checkbox.GeneratedVaadinCheckboxGroup<com.vaadin.flow.component.checkbox.CheckboxGroup<T>,Set<T>>
-
- com.vaadin.flow.component.checkbox.CheckboxGroup<T>
-
- org.vaadin.firitin.components.checkbox.VCheckboxGroup<T>
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,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.HasTheme,com.vaadin.flow.component.HasValidation,com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.CheckboxGroup<T>,Set<T>>,Set<T>>,com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.CheckboxGroup<T>,Set<T>>,Set<T>>,com.vaadin.flow.data.binder.HasItemComponents<T>,com.vaadin.flow.data.provider.HasDataView<T,Void,com.vaadin.flow.component.checkbox.dataview.CheckboxGroupDataView<T>>,com.vaadin.flow.data.provider.HasListDataView<T,com.vaadin.flow.component.checkbox.dataview.CheckboxGroupListDataView<T>>,com.vaadin.flow.data.selection.MultiSelect<com.vaadin.flow.component.checkbox.CheckboxGroup<T>,T>,Serializable,FluentAttachNotifier<VCheckboxGroup<T>>,FluentComponent<VCheckboxGroup<T>>,FluentDetachNotifier<VCheckboxGroup<T>>,FluentHasEnabled<VCheckboxGroup<T>>,FluentHasHelper<VCheckboxGroup<T>>,FluentHasSize<VCheckboxGroup<T>>,FluentHasStyle<VCheckboxGroup<T>>,FluentHasValidation<VCheckboxGroup<T>>,FluentHasValueAndElement<VCheckboxGroup<T>,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.CheckboxGroup<T>,Set<T>>,Set<T>>,FluentHasLabel<VCheckboxGroup<T>>
public class VCheckboxGroup<T> extends com.vaadin.flow.component.checkbox.CheckboxGroup<T> implements FluentComponent<VCheckboxGroup<T>>, FluentHasStyle<VCheckboxGroup<T>>, FluentHasValueAndElement<VCheckboxGroup<T>,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.CheckboxGroup<T>,Set<T>>,Set<T>>, FluentHasSize<VCheckboxGroup<T>>, FluentHasValidation<VCheckboxGroup<T>>, FluentHasLabel<VCheckboxGroup<T>>, FluentHasHelper<VCheckboxGroup<T>>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.checkbox.GeneratedVaadinCheckboxGroup
com.vaadin.flow.component.checkbox.GeneratedVaadinCheckboxGroup.InvalidChangeEvent<R extends com.vaadin.flow.component.checkbox.GeneratedVaadinCheckboxGroup<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.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<?>>
-
-
Constructor Summary
Constructors Constructor Description VCheckboxGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VCheckboxGroup<T>withDataProvider(com.vaadin.flow.data.provider.DataProvider<T,?> dataProvider)VCheckboxGroup<T>withErrorMessage(String errorMessage)VCheckboxGroup<T>withInvalid(boolean invalid)VCheckboxGroup<T>withItemEnabledProvider(com.vaadin.flow.function.SerializablePredicate<T> itemEnabledProvider)VCheckboxGroup<T>withItemLabelGenerator(com.vaadin.flow.component.ItemLabelGenerator<T> itemLabelGenerator)VCheckboxGroup<T>withItems(Collection<T> items)VCheckboxGroup<T>withItems(Stream<T> streamOfItems)Deprecated.VCheckboxGroup<T>withItems(T... items)VCheckboxGroup<T>withReadOnly(boolean readOnly)VCheckboxGroup<T>withRequired(boolean required)VCheckboxGroup<T>withSelectionListener(com.vaadin.flow.data.selection.MultiSelectionListener<com.vaadin.flow.component.checkbox.CheckboxGroup<T>,T> listener)VCheckboxGroup<T>withThemeVariants(com.vaadin.flow.component.checkbox.CheckboxGroupVariant... variants)VCheckboxGroup<T>withUpdateSelection(Set<T> addedItems, Set<T> removedItems)-
Methods inherited from class com.vaadin.flow.component.checkbox.CheckboxGroup
addSelectionListener, getDataProvider, getErrorMessage, getGenericDataView, getItemEnabledProvider, getItemLabelGenerator, getLabel, getListDataView, getSelectedItems, hasValidValue, isInvalid, isReadOnly, isRequired, onEnabledStateChanged, setDataProvider, setErrorMessage, setInvalid, setItemEnabledProvider, setItemLabelGenerator, setItems, setItems, setItems, setItems, setLabel, setReadOnly, setRequired, setValue, updateSelection, valueEquals
-
Methods inherited from class com.vaadin.flow.component.checkbox.GeneratedVaadinCheckboxGroup
addInvalidChangeListener, addThemeVariants, getErrorMessageString, getLabelString, isDisabledBoolean, isInvalidBoolean, isRequiredBoolean, removeThemeVariants, setDisabled, 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
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, 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.FluentAttachNotifier
withAttachListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
setId, setVisible, withId, withVisible
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListener
-
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.FluentHasValueAndElement
withRequiredIndicatorVisible, withValue, withValueChangeListener
-
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.data.binder.HasItemComponents
addComponents, getItemPosition, prependComponents
-
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.HasValidation
getErrorMessage, isInvalid, setErrorMessage, setInvalid
-
Methods inherited from interface com.vaadin.flow.component.HasValue
addValueChangeListener, clear, getOptionalValue, isEmpty
-
-
-
-
Method Detail
-
withDataProvider
public VCheckboxGroup<T> withDataProvider(com.vaadin.flow.data.provider.DataProvider<T,?> dataProvider)
-
withUpdateSelection
public VCheckboxGroup<T> withUpdateSelection(Set<T> addedItems, Set<T> removedItems)
-
withSelectionListener
public VCheckboxGroup<T> withSelectionListener(com.vaadin.flow.data.selection.MultiSelectionListener<com.vaadin.flow.component.checkbox.CheckboxGroup<T>,T> listener)
-
withReadOnly
public VCheckboxGroup<T> withReadOnly(boolean readOnly)
- Specified by:
withReadOnlyin interfaceFluentHasValueAndElement<VCheckboxGroup<T>,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.checkbox.CheckboxGroup<T>,Set<T>>,Set<T>>
-
withThemeVariants
public VCheckboxGroup<T> withThemeVariants(com.vaadin.flow.component.checkbox.CheckboxGroupVariant... variants)
-
withItemEnabledProvider
public VCheckboxGroup<T> withItemEnabledProvider(com.vaadin.flow.function.SerializablePredicate<T> itemEnabledProvider)
-
withItemLabelGenerator
public VCheckboxGroup<T> withItemLabelGenerator(com.vaadin.flow.component.ItemLabelGenerator<T> itemLabelGenerator)
-
withErrorMessage
public VCheckboxGroup<T> withErrorMessage(String errorMessage)
- Specified by:
withErrorMessagein interfaceFluentHasValidation<T>
-
withRequired
public VCheckboxGroup<T> withRequired(boolean required)
-
withInvalid
public VCheckboxGroup<T> withInvalid(boolean invalid)
- Specified by:
withInvalidin interfaceFluentHasValidation<T>
-
withItems
public VCheckboxGroup<T> withItems(Collection<T> items)
-
withItems
@Deprecated public VCheckboxGroup<T> withItems(Stream<T> streamOfItems)
Deprecated.
-
withItems
public VCheckboxGroup<T> withItems(T... items)
-
-