public class GridChange
extends javafx.event.Event
implements java.io.Serializable
Grid.Grid,
GridBase,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static javafx.event.EventType<GridChange> |
GRID_CHANGE_EVENT
This is the event used by
GridChange. |
| Constructor and Description |
|---|
GridChange(int modelRow,
int column,
java.lang.Object oldValue,
java.lang.Object newValue)
Constructor of a GridChange when a change inside a
SpreadsheetCell is happening. |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Returns the column index of this change.
|
java.lang.Object |
getNewValue()
Returns the value after the change.
|
java.lang.Object |
getOldValue()
Returns the value before the change.
|
int |
getRow()
Returns the row index of this change.
|
public static final javafx.event.EventType<GridChange> GRID_CHANGE_EVENT
GridChange.public GridChange(int modelRow,
int column,
java.lang.Object oldValue,
java.lang.Object newValue)
SpreadsheetCell is happening.modelRow - the row index for this changecolumn - the column index for this changeoldValue - the previous value for this changenewValue - the current value for this changepublic int getRow()
public int getColumn()
public java.lang.Object getOldValue()
public java.lang.Object getNewValue()