|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--net.sf.jeppers.grid.GridModelEvent
Events corresponding to changes in a GridModel. These events may be:
Field Summary | |
static int |
CELLS_UPDATED
A range of cells were updated. |
static int |
COLUMNS_DELETED
A continuous set of columns were removed from the model. |
static int |
COLUMNS_INSERTED
A continuous set of columns were inserted into the model. |
static int |
COLUMNS_UPDATED
A continuous set of columns were updated. |
static int |
MODEL_CHANGED
The entire model was changed. |
static int |
ROWS_DELETED
A continuous set of rows were deleted from the model. |
static int |
ROWS_INSERTED
A continuous set of rows were inserted into the model. |
static int |
ROWS_UPDATED
A continuous set of rows were updated. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
GridModelEvent(GridModel source,
int type,
int firstRow,
int firstColumn,
int lastRow,
int lastColumn)
Creates a new instance of GridModelEvent |
Method Summary | |
int |
getColumnCount()
Return the number of columns changed |
int |
getFirstColumn()
Return the index of the first column changed |
int |
getFirstRow()
Return the index of the first row changed |
int |
getLastColumn()
Return the index of the last column changed |
int |
getLastRow()
Returns the index of the last row changed |
int |
getRowCount()
Return the number of rows changed |
int |
getType()
Return the event type |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MODEL_CHANGED
public static final int CELLS_UPDATED
public static final int ROWS_UPDATED
public static final int ROWS_INSERTED
public static final int ROWS_DELETED
public static final int COLUMNS_UPDATED
public static final int COLUMNS_INSERTED
public static final int COLUMNS_DELETED
Constructor Detail |
public GridModelEvent(GridModel source, int type, int firstRow, int firstColumn, int lastRow, int lastColumn)
Method Detail |
public int getRowCount()
public int getColumnCount()
public int getFirstRow()
public int getLastRow()
public int getFirstColumn()
public int getLastColumn()
public int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |