|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.eliad.model.StyleModelEvent
Events corresponding to changes in a StyleModel
.
Those may be:
Renderer and/or Editor changed in some cells
Field Summary | |
static int |
ALL_EDITORS_CHANGED
Identifies a change to all existing editor(s) |
static int |
ALL_RENDERERS_CHANGED
Identifies a change to all existing renderer(s) |
static int |
EDITOR_DELETED
Identifies the removal of editor(s) |
static int |
EDITOR_INSERTED
Identifies the addition of new Renderer |
static int |
EDITOR_UPDATED
Identifies a change to some existing editor(s) |
static int |
MODEL_CHANGED
Identifies a change to the whole model |
static int |
RENDERER_DELETED
Identifies the removal of renderer(s) |
static int |
RENDERER_INSERTED
Identifies the addition of new Renderer |
static int |
RENDERER_UPDATED
Identifies a change to some existing renderer(s) |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
StyleModelEvent(StyleModel source,
int type,
int firstRow,
int firstColumn,
int rowCount,
int columnCount)
|
Method Summary | |
int |
getColumnCount()
The number of continuous columns where modifications took place. |
int |
getFirstColumn()
The first column where a modification took place. |
int |
getFirstRow()
The first row where a modification took place. |
int |
getLastColumn()
The last column where a modification took place. |
int |
getLastRow()
The last row where a modification took place. |
int |
getRowCount()
The number of continuous rows where modifications took place. |
int |
getType()
Returns the type of the event. |
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 ALL_RENDERERS_CHANGED
public static final int RENDERER_UPDATED
public static final int RENDERER_INSERTED
public static final int RENDERER_DELETED
public static final int ALL_EDITORS_CHANGED
public static final int EDITOR_UPDATED
public static final int EDITOR_INSERTED
public static final int EDITOR_DELETED
Constructor Detail |
public StyleModelEvent(StyleModel source, int type, int firstRow, int firstColumn, int rowCount, int columnCount)
Method Detail |
public int getType()
public int getFirstRow()
RENDERER_UPDATED
and EDITOR_UPDATED
public int getFirstColumn()
RENDERER_UPDATED
and EDITOR_UPDATED
public int getRowCount()
RENDERER_UPDATED
and EDITOR_UPDATED
public int getColumnCount()
RENDERER_UPDATED
and EDITOR_UPDATED
public int getLastRow()
RENDERER_UPDATED
and EDITOR_UPDATED
public int getLastColumn()
RENDERER_UPDATED
and EDITOR_UPDATED
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |