| Package | Description |
|---|---|
| org.vaadin.miki.superfields.itemgrid |
| Modifier and Type | Method and Description |
|---|---|
CellGenerator<T> |
ItemGrid.getCellGenerator()
Returns current
CellGenerator used to generate cells. |
CellGenerator<T> |
ItemGrid.getPaddingCellGenerator()
Returns the cell generator used for constructing padding cells.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemGrid.setCellGenerator(CellGenerator<T> cellGenerator)
Sets new
CellGenerator. |
void |
ItemGrid.setPaddingCellGenerator(CellGenerator<T> paddingCellGenerator)
Sets cell generator for padding cells.
|
ItemGrid<T> |
ItemGrid.withCellGenerator(CellGenerator<T> generator)
Chains
ItemGrid.setCellGenerator(CellGenerator) and returns itself. |
ItemGrid<T> |
ItemGrid.withPaddingCellGenerator(CellGenerator<T> paddingCellGenerator)
Chains
ItemGrid.setPaddingCellGenerator(CellGenerator) 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(CellGenerator<T> generator,
T... items)
Creates the component with given items and
CellGenerator, but with default CellSelectionHandler. |
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 © 2024 Miki. All rights reserved.