|
||||||||||
| 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.SpanModelEvent
| Field Summary | |
static int |
MODEL_CHANGED
The entire model was changed |
static int |
SPAN_ADDED
|
static int |
SPAN_REMOVED
|
static int |
SPAN_UPDATED
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
SpanModelEvent(SpanModel source,
int type,
int anchorRow,
int anchorColumn,
int oldRowCount,
int oldColumnCount,
int newRowCount,
int newColumnCount)
Constructs a new event for a change to a SpanModel |
|
| Method Summary | |
int |
getAnchorColumn()
Returns the anchor (leftmost) column of the span |
int |
getAnchorRow()
Returns the anchor (top) row of the span event |
int |
getNewColumnCount()
Valid for SPAN_UPDATED and SPAN_ADDED events |
int |
getNewRowCount()
Valid for SPAN_UPDATED and SPAN_ADDED events |
int |
getOldColumnCount()
Valid for SPAN_UPDATED and SPAN_REMOVED events |
int |
getOldRowCount()
Valid for SPAN_UPDATED and SPAN_REMOVED events |
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 int MODEL_CHANGED
public static int SPAN_ADDED
public static int SPAN_REMOVED
public static int SPAN_UPDATED
| Constructor Detail |
public SpanModelEvent(SpanModel source,
int type,
int anchorRow,
int anchorColumn,
int oldRowCount,
int oldColumnCount,
int newRowCount,
int newColumnCount)
SpanModel
| Method Detail |
public int getAnchorRow()
public int getAnchorColumn()
public int getOldRowCount()
SPAN_UPDATED and SPAN_REMOVED events
public int getOldColumnCount()
SPAN_UPDATED and SPAN_REMOVED events
public int getNewRowCount()
SPAN_UPDATED and SPAN_ADDED events
public int getNewColumnCount()
SPAN_UPDATED and SPAN_ADDED events
public int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||