T - Type of data associated with each cell event.public class CellSelectionEvent<T> extends Object
| Constructor and Description |
|---|
CellSelectionEvent(CellInformation<T> information,
boolean selected)
Creates the event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CellInformation<T> |
getCellInformation() |
int |
hashCode() |
boolean |
isSelected() |
CellSelectionEvent<T> |
reversed()
Helper method that creates a new event with selection reversed.
|
String |
toString() |
public CellSelectionEvent(CellInformation<T> information, boolean selected)
information - Information about the affected cell.selected - Whether or not the cell is now selected.public CellSelectionEvent<T> reversed()
isSelected() flag.public boolean isSelected()
public CellInformation<T> getCellInformation()
Copyright © 2024 Miki. All rights reserved.