Example usage for Java javax.swing.event TableModelEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
int | INSERT Identifies the addition of new rows or columns. |
int | UPDATE Identifies a change to existing data. |
int | DELETE Identifies the removal of rows or columns. |
int | HEADER_ROW Identifies the header row. |
int | ALL_COLUMNS Specifies all columns in a row or rows. |
TableModelEvent(TableModel source) All row data in the table has changed, listeners should discard any state that was based on the rows and requery the TableModel to get the new row count and all the appropriate values. | |
TableModelEvent(TableModel source, int firstRow, int lastRow, int column, int type) The cells from (firstRow, column) to (lastRow, column) have been changed. | |
TableModelEvent(TableModel source, int firstRow, int lastRow, int column) The cells in column column in the range [firstRow, lastRow] have been updated. | |
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. |
int | getColumn() Returns the column for the event. |
int | getFirstRow() Returns the first row that changed. |
int | getLastRow() Returns the last row that changed. |
Object | getSource() The object on which the Event initially occurred. |
int | getType() Returns the type of event - one of: INSERT, UPDATE and DELETE. |