|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject charvax.swing.event.TableModelEvent
This event is fired when the data in a table changes.
Field Summary | |
static int |
ALL_COLUMNS
|
static int |
DELETE
|
static int |
INSERT
|
static int |
UPDATE
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
TableModelEvent(TableModel source_)
All row data has changed; listeners should discard all state and re-query the TableModel. |
|
TableModelEvent(TableModel source_,
int row_)
This row of data has been updated. |
|
TableModelEvent(TableModel source_,
int firstRow_,
int lastRow_)
The data in rows [firstRow_, lastRow] have been updated. |
|
TableModelEvent(TableModel source_,
int firstRow_,
int lastRow_,
int column_)
The cells in the specified column in rows [firstRow_, lastRow] have been updated. |
|
TableModelEvent(TableModel source_,
int firstRow_,
int lastRow_,
int column_,
int type_)
|
Method Summary | |
int |
getColumn()
|
int |
getFirstRow()
Get the index of the first row that changed |
int |
getLastRow()
Get the index of the last row that changed |
int |
getType()
Returns the type of event - one of INSERT, UPDATE or DELETE. |
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 DELETE
public static final int INSERT
public static final int UPDATE
public static final int ALL_COLUMNS
Constructor Detail |
public TableModelEvent(TableModel source_)
public TableModelEvent(TableModel source_, int row_)
public TableModelEvent(TableModel source_, int firstRow_, int lastRow_)
public TableModelEvent(TableModel source_, int firstRow_, int lastRow_, int column_)
public TableModelEvent(TableModel source_, int firstRow_, int lastRow_, int column_, int type_)
Method Detail |
public int getFirstRow()
public int getLastRow()
public int getColumn()
public int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |