public class TableModelEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
ALL_COLUMNS |
static int |
DELETE |
static int |
INSERT |
static int |
UPDATE |
Constructor and Description |
---|
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_) |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int DELETE
public static final int INSERT
public static final int UPDATE
public static final int ALL_COLUMNS
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_)