|
||||||||||
| 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.StyleModelEvent
| Field Summary | |
static int |
CELL_STYLES_CHANGED
CellStyles have changed for a range of cells |
static int |
EDITOR_ADDED
An editor was added to the model |
static int |
EDITOR_REMOVED
An editor was removed from the model |
static int |
EDITORS_CHANGED
Editors for a range of cells has been changed |
static int |
MODEL_CHANGED
The entire model was changed |
static int |
RENDERER_ADDED
A renderer was added to the model |
static int |
RENDERER_REMOVED
A renderer was removed from the model |
static int |
RENDERERS_CHANGED
Renderers for a range of cells has been changed |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
StyleModelEvent(StyleModel source,
int type)
Construct new Event corresponding to a change in a StyleModel. |
|
StyleModelEvent(StyleModel source,
int type,
int firstRow,
int firstColumn,
int lastRow,
int lastColumn)
Construct new Event corresponding to a change in a StyleModel. |
|
| Method Summary | |
int |
getColumnCount()
Return the number of columns changed Only valid for RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types |
int |
getFirstColumn()
Return the index of the first column changed Only valid for RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types |
int |
getFirstRow()
Return the index of the first row changed Only valid for RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types |
int |
getLastColumn()
Return the index of the last column changed Only valid for RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types |
int |
getLastRow()
Returns the index of the last row changed Only valid for RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types |
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 int MODEL_CHANGED
public static int EDITOR_REMOVED
public static int EDITOR_ADDED
public static int RENDERER_REMOVED
public static int RENDERER_ADDED
public static int RENDERERS_CHANGED
public static int EDITORS_CHANGED
public static int CELL_STYLES_CHANGED
| Constructor Detail |
public StyleModelEvent(StyleModel source,
int type)
StyleModel.
public StyleModelEvent(StyleModel source,
int type,
int firstRow,
int firstColumn,
int lastRow,
int lastColumn)
StyleModel.
| Method Detail |
public int getRowCount()
RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types
public int getColumnCount()
RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types
public int getFirstRow()
RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types
public int getLastRow()
RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types
public int getFirstColumn()
RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types
public int getLastColumn()
RENDERERS_CHANGED,
EDITORS_CHANGED, and CELL_STYLES_CHANGED
event types
public int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||