Package | Description |
---|---|
com.vaadin.flow.component.checkbox | |
com.vaadin.flow.component.combobox | |
com.vaadin.flow.component.select | |
com.vaadin.flow.data.renderer |
Modifier and Type | Method and Description |
---|---|
ItemLabelGenerator<T> |
CheckboxGroup.getItemLabelGenerator()
Gets the item label generator that is used to produce the strings shown
in the checkbox group for each item.
|
Modifier and Type | Method and Description |
---|---|
void |
CheckboxGroup.setItemLabelGenerator(ItemLabelGenerator<T> itemLabelGenerator)
Sets the item label generator that is used to produce the strings shown
in the checkbox group for each item.
|
Modifier and Type | Method and Description |
---|---|
ItemLabelGenerator<T> |
ComboBox.getItemLabelGenerator()
Gets the item label generator that is used to produce the strings shown
in the combo box for each item.
|
Modifier and Type | Method and Description |
---|---|
void |
ComboBox.setItemLabelGenerator(ItemLabelGenerator<T> itemLabelGenerator)
Sets the item label generator that is used to produce the strings shown
in the combo box for each item.
|
Modifier and Type | Method and Description |
---|---|
ItemLabelGenerator<T> |
Select.getItemLabelGenerator()
Gets the item label generator.
|
Modifier and Type | Method and Description |
---|---|
void |
Select.setItemLabelGenerator(ItemLabelGenerator<T> itemLabelGenerator)
Sets the item label generator.
|
void |
Select.setTextRenderer(ItemLabelGenerator<T> itemLabelGenerator)
Convenience setter for creating a
TextRenderer from the given
function that converts the item to a string. |
Constructor and Description |
---|
IconRenderer(SerializableFunction<ITEM,? extends Component> iconGenerator,
ItemLabelGenerator<ITEM> itemLabelGenerator)
Creates a new renderer instance using the provided
iconGenerator
and itemLabelGenerator . |
TextRenderer(ItemLabelGenerator<ITEM> itemLabelGenerator)
Creates a new renderer instance using the provided
itemLabelGenerator . |
Copyright © 2025. All rights reserved.