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.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.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<?>>
-
Constructor Summary
-
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, getGenericDataView, getItemEnabledProvider, getItemHelperGenerator, getItemLabelGenerator, getItemRenderer, getLabel, getListDataView, getSelectedItems, getSelectionPreservationMode, hasValidValue, isDisabledBoolean, isRequired, onAttach, onEnabledStateChanged, setAriaLabel, setAriaLabelledBy, setDataProvider, setDisabled, setItemEnabledProvider, setItemHelperGenerator, setItemLabelGenerator, setItems, setItems, setItems, setLabel, setManualValidation, setRenderer, setRequired, setSelectionPreservationMode, setValue, updateSelection, 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
Methods 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, 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.DetachNotifier
addDetachListener
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
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.FluentHasTooltip
withTooltip
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasValueAndElement
withRequiredIndicatorVisible, withValue, withValueChangeListener
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.data.binder.HasItemComponents
addComponents, getItemPosition, prependComponents
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.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, getOptionalValue, isEmpty
Methods inherited from interface com.vaadin.flow.component.HasValueAndElement
isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible
Methods 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:
withReadOnly
in 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:
withErrorMessage
in interfaceFluentHasValidation<T>
-
withRequired
-
withInvalid
- Specified by:
withInvalid
in interfaceFluentHasValidation<T>
-
withItems
-
withItems
-