public class LightSelectEvent extends LightEvent
Constructor and Description |
---|
LightSelectEvent(int col,
int row,
boolean selected)
Vytvoří novou událost aktivace.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Vytvoří textovou reprezentaci světelné události.
|
getCol, getRow
public LightSelectEvent(int col, int row, boolean selected)
InteractiveLightPanel.select(int, int)
.col
- sloupecrow
- řádekselected
- true
, pokud jde o nový výběr, nebo false
,
pokud se výběr rušípublic java.lang.String toString()
LightEvent
Řetězec obsahuje název třídy a mezi [
a ]
páry
klíč=hodnota
.
toString
in class LightEvent