Class CellSelectionEvent<T>
java.lang.Object
org.vaadin.miki.superfields.itemgrid.CellSelectionEvent<T>
- Type Parameters:
T- Type of data associated with each cell event.
Stores information about a cell being selected or not.
- Since:
- 2020-04-15
- Author:
- miki
-
Constructor Summary
ConstructorsConstructorDescriptionCellSelectionEvent(CellInformation<T> information, boolean selected) Creates the event. -
Method Summary
-
Constructor Details
-
CellSelectionEvent
Creates the event.- Parameters:
information- Information about the affected cell.selected- Whether or not the cell is now selected.
-
-
Method Details
-
reversed
Helper method that creates a new event with selection reversed.- Returns:
- A new object, identical to the current one except
isSelected()flag.
-
isSelected
public boolean isSelected() -
getCellInformation
-
equals
-
hashCode
public int hashCode() -
toString
-