Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addSelectionListener(MultiSelectionListener<CheckboxGroup<T>, T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- apply(T) - Method in interface com.vaadin.flow.component.checkbox.CheckboxGroup.ItemHelperGenerator
-
Gets a helper text string for the
item
.
C
- Checkbox - Class in com.vaadin.flow.component.checkbox
-
Checkbox is an input field representing a binary choice.
- Checkbox() - Constructor for class com.vaadin.flow.component.checkbox.Checkbox
-
Default constructor.
- Checkbox(boolean) - Constructor for class com.vaadin.flow.component.checkbox.Checkbox
-
Constructs a checkbox with the initial value.
- Checkbox(boolean, HasValue.ValueChangeListener<AbstractField.ComponentValueChangeEvent<Checkbox, Boolean>>) - Constructor for class com.vaadin.flow.component.checkbox.Checkbox
-
Constructs a checkbox with the initial value and value change listener.
- Checkbox(String) - Constructor for class com.vaadin.flow.component.checkbox.Checkbox
-
Constructs a checkbox with the initial label text.
- Checkbox(String, boolean) - Constructor for class com.vaadin.flow.component.checkbox.Checkbox
-
Constructs a checkbox with the initial value.
- Checkbox(String, boolean, HasValue.ValueChangeListener<AbstractField.ComponentValueChangeEvent<Checkbox, Boolean>>) - Constructor for class com.vaadin.flow.component.checkbox.Checkbox
-
Constructs a checkbox with the initial value, label text and value change listener.
- Checkbox(String, HasValue.ValueChangeListener<AbstractField.ComponentValueChangeEvent<Checkbox, Boolean>>) - Constructor for class com.vaadin.flow.component.checkbox.Checkbox
-
Constructs a checkbox with the initial label text and value change listener.
- Checkbox.CheckboxI18n - Class in com.vaadin.flow.component.checkbox
-
The internationalization properties for
Checkbox
. - CheckboxGroup<T> - Class in com.vaadin.flow.component.checkbox
-
CheckBoxGroup is a multi-selection component where items are displayed as check boxes.
- CheckboxGroup() - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Creates an empty checkbox group
- CheckboxGroup(HasValue.ValueChangeListener<AbstractField.ComponentValueChangeEvent<CheckboxGroup<T>, Set<T>>>) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Constructs a checkbox group with a value change listener.
- CheckboxGroup(String) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Creates an empty checkbox group with the defined label.
- CheckboxGroup(String, HasValue.ValueChangeListener<AbstractField.ComponentValueChangeEvent<CheckboxGroup<T>, Set<T>>>) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Constructs a checkbox group with the defined label and a value change listener.
- CheckboxGroup(String, HasValue.ValueChangeListener<AbstractField.ComponentValueChangeEvent<CheckboxGroup<T>, Set<T>>>, T...) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Constructs a checkbox group with the defined label, a value change listener and populated with the items in the array.
- CheckboxGroup(String, Collection<T>) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Creates a checkbox group with the defined label and populated with the items in the collection.
- CheckboxGroup(String, T...) - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Creates a checkbox group with the defined label and populated with the items in the array.
- CheckboxGroup.CheckboxGroupI18n - Class in com.vaadin.flow.component.checkbox
-
The internationalization properties for
CheckboxGroup
. - CheckboxGroup.ItemHelperGenerator<T> - Interface in com.vaadin.flow.component.checkbox
-
CheckboxGroup.ItemHelperGenerator
can be used to generate helper text strings used by the checkbox group for each checkbox. - CheckboxGroupDataView<T> - Class in com.vaadin.flow.component.checkbox.dataview
-
Implementation of generic data view for checkbox group.
- CheckboxGroupDataView(SerializableSupplier<DataProvider<T, ?>>, CheckboxGroup<T>) - Constructor for class com.vaadin.flow.component.checkbox.dataview.CheckboxGroupDataView
-
Constructs a new DataView.
- CheckboxGroupDataView(SerializableSupplier<DataProvider<T, ?>>, CheckboxGroup<T>, SerializableConsumer<IdentifierProvider<T>>) - Constructor for class com.vaadin.flow.component.checkbox.dataview.CheckboxGroupDataView
-
Constructs a new DataView.
- CheckboxGroupI18n() - Constructor for class com.vaadin.flow.component.checkbox.CheckboxGroup.CheckboxGroupI18n
- CheckboxGroupListDataView<T> - Class in com.vaadin.flow.component.checkbox.dataview
-
Data view implementation for Checkbox Group with in-memory list data.
- CheckboxGroupListDataView(SerializableSupplier<DataProvider<T, ?>>, CheckboxGroup<T>, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>>) - Constructor for class com.vaadin.flow.component.checkbox.dataview.CheckboxGroupListDataView
-
Creates a new in-memory data view for Checkbox Group and verifies the passed data provider is compatible with this data view implementation.
- CheckboxGroupListDataView(SerializableSupplier<DataProvider<T, ?>>, CheckboxGroup<T>, SerializableConsumer<IdentifierProvider<T>>, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>>) - Constructor for class com.vaadin.flow.component.checkbox.dataview.CheckboxGroupListDataView
-
Creates a new in-memory data view for Checkbox Group and verifies the passed data provider is compatible with this data view implementation.
- CheckboxGroupVariant - Enum Class in com.vaadin.flow.component.checkbox
-
Set of theme variants applicable for
vaadin-checkbox-group
component. - CheckboxI18n() - Constructor for class com.vaadin.flow.component.checkbox.Checkbox.CheckboxI18n
- com.vaadin.flow.component.checkbox - package com.vaadin.flow.component.checkbox
- com.vaadin.flow.component.checkbox.dataview - package com.vaadin.flow.component.checkbox.dataview
G
- getAriaLabel() - Method in class com.vaadin.flow.component.checkbox.Checkbox
- getAriaLabel() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- getAriaLabelledBy() - Method in class com.vaadin.flow.component.checkbox.Checkbox
- getAriaLabelledBy() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- getDataProvider() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Gets the data provider used by this CheckboxGroup.
- getDefaultValidator() - Method in class com.vaadin.flow.component.checkbox.Checkbox
- getDefaultValidator() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- getGenericDataView() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Gets the generic data view for the checkbox group.
- getI18n() - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Gets the internationalization object previously set for this component.
- getI18n() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Gets the internationalization object previously set for this component.
- getItem(int) - Method in class com.vaadin.flow.component.checkbox.dataview.CheckboxGroupDataView
- getItemEnabledProvider() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Returns the item enabled predicate.
- getItemHelperGenerator() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Gets the
CheckboxGroup.ItemHelperGenerator
function that is used for generating helper text strings used by the checkbox group for each item. - getItemLabelGenerator() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Gets the item label generator that is used to produce the strings shown in the checkbox group for each item.
- getItemRenderer() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Returns the item component renderer.
- getLabel() - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Get the current label text.
- getLabel() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Gets the label of the checkbox group.
- getListDataView() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Gets the list data view for the checkbox group.
- getRequiredErrorMessage() - Method in class com.vaadin.flow.component.checkbox.Checkbox.CheckboxI18n
-
Gets the error message displayed when the field is required but empty.
- getRequiredErrorMessage() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup.CheckboxGroupI18n
-
Gets the error message displayed when the field is required but empty.
- getSelectedItems() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- getSelectionPreservationMode() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Gets the selection preservation mode.
- getSupportedDataProviderType() - Method in class com.vaadin.flow.component.checkbox.dataview.CheckboxGroupDataView
- getVariantName() - Method in enum class com.vaadin.flow.component.checkbox.CheckboxGroupVariant
-
Gets the variant name.
H
- hasValidValue() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
I
- isAutofocus() - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Get the state for the auto-focus property of the checkbox.
- isDisabledBoolean() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
If true, the user cannot interact with this element.
- isIndeterminate() - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Get the indeterminate state of the checkbox.
- isRequired() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- isRequiredIndicatorVisible() - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Gets whether the user is required to select the checkbox.
- isRequiredIndicatorVisible() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Gets whether the user is required to select at least one checkbox.
L
- LUMO_HELPER_ABOVE_FIELD - Enum constant in enum class com.vaadin.flow.component.checkbox.CheckboxGroupVariant
- LUMO_VERTICAL - Enum constant in enum class com.vaadin.flow.component.checkbox.CheckboxGroupVariant
M
- MATERIAL_VERTICAL - Enum constant in enum class com.vaadin.flow.component.checkbox.CheckboxGroupVariant
O
- onAttach(AttachEvent) - Method in class com.vaadin.flow.component.checkbox.Checkbox
- onAttach(AttachEvent) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- onEnabledStateChanged(boolean) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
S
- setAriaLabel(String) - Method in class com.vaadin.flow.component.checkbox.Checkbox
- setAriaLabel(String) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- setAriaLabelledBy(String) - Method in class com.vaadin.flow.component.checkbox.Checkbox
- setAriaLabelledBy(String) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- setAutofocus(boolean) - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Set the checkbox to be input focused when the page loads.
- setDataProvider(DataProvider<T, ?>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets a generic data provider for the CheckboxGroup to use.
- setDisabled(boolean) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
If true, the user cannot interact with this element.
- setI18n(Checkbox.CheckboxI18n) - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Sets the internationalization object for this component.
- setI18n(CheckboxGroup.CheckboxGroupI18n) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets the internationalization object for this component.
- setIdentifierProvider(IdentifierProvider<T>) - Method in class com.vaadin.flow.component.checkbox.dataview.CheckboxGroupDataView
- setIdentifierProvider(IdentifierProvider<T>) - Method in class com.vaadin.flow.component.checkbox.dataview.CheckboxGroupListDataView
- setIndeterminate(boolean) - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Set the indeterminate state of the checkbox.
- setItemEnabledProvider(SerializablePredicate<T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets the item enabled predicate for this checkbox group.
- setItemHelperGenerator(CheckboxGroup.ItemHelperGenerator<T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets the
CheckboxGroup.ItemHelperGenerator
that is used for generating helper text strings used by the checkbox group for each item. - setItemLabelGenerator(ItemLabelGenerator<T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets the item label generator that is used to produce the strings shown in the checkbox group for each item.
- setItems(DataProvider<T, Void>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- setItems(InMemoryDataProvider<T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- setItems(ListDataProvider<T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- setLabel(String) - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Set the current label text of this checkbox.
- setLabel(String) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets the label for the checkbox group.
- setLabelComponent(Component) - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Replaces the label content with the given label component.
- setManualValidation(boolean) - Method in class com.vaadin.flow.component.checkbox.Checkbox
- setManualValidation(boolean) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- setRenderer(ComponentRenderer<? extends Component, T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets the item renderer for this checkbox group.
- setRequired(boolean) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- setRequiredErrorMessage(String) - Method in class com.vaadin.flow.component.checkbox.Checkbox.CheckboxI18n
-
Sets the error message to display when the field is required but empty.
- setRequiredErrorMessage(String) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup.CheckboxGroupI18n
-
Sets the error message to display when the field is required but empty.
- setRequiredIndicatorVisible(boolean) - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Sets whether the user is required to select the checkbox.
- setRequiredIndicatorVisible(boolean) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets whether the user is required to select at least one checkbox.
- setSelectionPreservationMode(SelectionPreservationMode) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets the selection preservation mode.
- setValue(Set<T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Sets the value of this component.
U
- updateSelection(Set<T>, Set<T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
V
- validate() - Method in class com.vaadin.flow.component.checkbox.Checkbox
-
Validates the current value against the constraints and sets the
invalid
property and theerrorMessage
property based on the result. - validate() - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
-
Validates the current value against the constraints and sets the
invalid
property and theerrorMessage
property based on the result. - valueEquals(Set<T>, Set<T>) - Method in class com.vaadin.flow.component.checkbox.CheckboxGroup
- valueOf(String) - Static method in enum class com.vaadin.flow.component.checkbox.CheckboxGroupVariant
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.flow.component.checkbox.CheckboxGroupVariant
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form