- All Known Implementing Classes:
JTable.AccessibleJTable.AccessibleJTableModelChange
public interface AccessibleTableModelChange
The
AccessibleTableModelChange
interface describes a change to the
table model. The attributes of the model change can be obtained by the
following methods:
public int getType();
public int getFirstRow();
public int getLastRow();
public int getFirstColumn();
public int getLastColumn();
INSERT
- one or more rows and/or columns have been insertedUPDATE
- some of the table data has changedDELETE
- one or more rows and/or columns have been deleted
- Since:
- 1.3
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the first column that changed.int
Returns the first row that changed.int
Returns the last column that changed.int
Returns the last row that changed.int
getType()
Returns the type of event.
-
Field Details
-
INSERT
static final int INSERTIdentifies the insertion of new rows and/or columns.- See Also:
-
UPDATE
static final int UPDATEIdentifies a change to existing data.- See Also:
-
DELETE
static final int DELETEIdentifies the deletion of rows and/or columns.- See Also:
-
-
Method Details
-
getType
int getType()Returns the type of event.- Returns:
- the type of event
- See Also:
-
getFirstRow
int getFirstRow()Returns the first row that changed.- Returns:
- the first row that changed
-
getLastRow
int getLastRow()Returns the last row that changed.- Returns:
- the last row that changed
-
getFirstColumn
int getFirstColumn()Returns the first column that changed.- Returns:
- the first column that changed
-
getLastColumn
int getLastColumn()Returns the last column that changed.- Returns:
- the last column that changed
-