Class VCheckboxGroup<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.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.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.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.component.shared.HasClientValidation,com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.checkbox.CheckboxGroupVariant>,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.checkbox.CheckboxGroup<T>,,Set<T>>, Set<T>> com.vaadin.flow.data.binder.HasItemComponents<T>,com.vaadin.flow.data.binder.HasValidator<Set<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>>,FluentHasTooltip<VCheckBox>,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>>, FluentHasTooltip<VCheckBox>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.checkbox.CheckboxGroup
com.vaadin.flow.component.checkbox.CheckboxGroup.CheckboxGroupI18n, com.vaadin.flow.component.checkbox.CheckboxGroup.ItemHelperGenerator<T extends Object>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.shared.HasClientValidation
com.vaadin.flow.component.shared.HasClientValidation.ClientValidatedEventNested 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 -
Method Summary
Modifier and TypeMethodDescriptionwithDataProvider(com.vaadin.flow.data.provider.DataProvider<T, Void> dataProvider) withErrorMessage(String errorMessage) withInvalid(boolean invalid) withItemEnabledProvider(com.vaadin.flow.function.SerializablePredicate<T> itemEnabledProvider) withItemLabelGenerator(com.vaadin.flow.component.ItemLabelGenerator<T> itemLabelGenerator) withItems(Collection<T> items) withReadOnly(boolean readOnly) withRequired(boolean required) withSelectionListener(com.vaadin.flow.data.selection.MultiSelectionListener<com.vaadin.flow.component.checkbox.CheckboxGroup<T>, T> listener) withThemeVariants(com.vaadin.flow.component.checkbox.CheckboxGroupVariant... variants) withUpdateSelection(Set<T> addedItems, Set<T> removedItems) Methods inherited from class com.vaadin.flow.component.checkbox.CheckboxGroup
addSelectionListener, getAriaLabel, getAriaLabelledBy, getDataProvider, getDefaultValidator, getGenericDataView, getI18n, getItemEnabledProvider, getItemHelperGenerator, getItemLabelGenerator, getItemRenderer, getLabel, getListDataView, getSelectedItems, getSelectionPreservationMode, hasValidValue, isDisabledBoolean, isRequired, isRequiredIndicatorVisible, onAttach, onEnabledStateChanged, setAriaLabel, setAriaLabelledBy, setDataProvider, setDisabled, setI18n, setItemEnabledProvider, setItemHelperGenerator, setItemLabelGenerator, setItems, setItems, setItems, setLabel, setManualValidation, setRenderer, setRequired, setRequiredIndicatorVisible, setSelectionPreservationMode, setValue, updateSelection, validate, valueEqualsMethods inherited from class com.vaadin.flow.component.AbstractSinglePropertyField
getSynchronizationRegistration, setPresentationValue, setSynchronizedEventMethods inherited from class com.vaadin.flow.component.AbstractField
addValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValueMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier
withAttachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
navigate, setId, setVisible, withId, withVisibleMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasEnabled
withEnabledMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasHelper
withHelperComponent, withHelperTextMethods inherited from interface org.vaadin.firitin.fluency.ui.internal.FluentHasLabel
withLabelMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
addResizeListener, withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidthMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasStyle
withAddedClassName, withClassName, withStyleMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasTooltip
withTooltipMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasValueAndElement
withRequiredIndicatorVisible, withValue, withValueChangeListenerMethods inherited from interface com.vaadin.flow.component.shared.HasClientValidation
addClientValidatedEventListenerMethods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasHelper
getHelperComponent, getHelperText, setHelperComponent, setHelperTextMethods inherited from interface com.vaadin.flow.data.binder.HasItemComponents
addComponents, getItemPosition, prependComponentsMethods inherited from interface com.vaadin.flow.component.HasLabel
getLabel, setLabelMethods inherited from interface com.vaadin.flow.data.provider.HasListDataView
setItems, setItemsMethods 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, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, removeThemeVariantsMethods inherited from interface com.vaadin.flow.component.shared.HasTooltip
getTooltip, setTooltipTextMethods inherited from interface com.vaadin.flow.component.HasValidation
setManualValidationMethods inherited from interface com.vaadin.flow.component.shared.HasValidationProperties
getErrorMessage, isInvalid, setErrorMessage, setInvalidMethods inherited from interface com.vaadin.flow.data.binder.HasValidator
addValidationStatusChangeListenerMethods inherited from interface com.vaadin.flow.component.HasValue
addValueChangeListener, clear, getOptionalValue, isEmptyMethods inherited from interface com.vaadin.flow.component.HasValueAndElement
isReadOnly, setReadOnlyMethods inherited from interface com.vaadin.flow.data.selection.MultiSelect
deselect, deselect, deselectAll, getEmptyValue, getValue, isSelected, select, select
-
Constructor Details
-
VCheckboxGroup
public VCheckboxGroup()
-
-
Method Details
-
withDataProvider
public VCheckboxGroup<T> withDataProvider(com.vaadin.flow.data.provider.DataProvider<T, Void> dataProvider) -
withUpdateSelection
-
withSelectionListener
public VCheckboxGroup<T> withSelectionListener(com.vaadin.flow.data.selection.MultiSelectionListener<com.vaadin.flow.component.checkbox.CheckboxGroup<T>, T> listener) -
withReadOnly
- 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
- Specified by:
withErrorMessagein interfaceFluentHasValidation<T>
-
withRequired
-
withInvalid
- Specified by:
withInvalidin interfaceFluentHasValidation<T>
-
withItems
-
withItems
-