| Package | Description |
|---|---|
| org.vaadin.miki.superfields.itemgrid |
| Modifier and Type | Method and Description |
|---|---|
CellSelectionHandler<T> |
ItemGrid.getCellSelectionHandler()
Returns current
CellSelectionHandler used to react to selection changes. |
| Modifier and Type | Method and Description |
|---|---|
void |
ItemGrid.setCellSelectionHandler(CellSelectionHandler<T> cellSelectionHandler)
Sets new
CellSelectionHandler. |
ItemGrid<T> |
ItemGrid.withCellSelectionHandler(CellSelectionHandler<T> handler)
Chains
ItemGrid.setCellSelectionHandler(CellSelectionHandler) and returns itself. |
| Constructor and Description |
|---|
ItemGrid(CellGenerator<T> generator,
CellSelectionHandler<T> handler,
T... items)
Creates the component with given
CellGenerator, CellSelectionHandler and items. |
ItemGrid(T defaultValue,
CellGenerator<T> generator,
CellSelectionHandler<T> handler,
T... items)
Creates the component with given
CellGenerator, CellSelectionHandler and items, overriding default (empty) value. |
ItemGrid(T defaultValue,
Supplier<C> mainContainerSupplier,
CellGenerator<T> generator,
CellSelectionHandler<T> handler,
T... items)
Creates the component with given
CellGenerator, CellSelectionHandler and items, overriding default (empty) value. |
Copyright © 2023 Miki. All rights reserved.