javax.accessibility.AccessibleTableModelChange |
Known Indirect Subclasses
|
Class Overview
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();
The model change type returned by getType() will be one of:
- INSERT - one or more rows and/or columns have been inserted
- UPDATE - some of the table data has changed
- DELETE - one or more rows and/or columns have been deleted
The affected area of the table can be determined by the other
four methods which specify ranges of rows and columns
Summary
Constants |
int |
DELETE |
Identifies the deletion of rows and/or columns. |
int |
INSERT |
Identifies the insertion of new rows and/or columns. |
int |
UPDATE |
Identifies a change to existing data. |
Public Methods |
abstract
int
|
getFirstColumn()
Returns the first column that changed.
|
abstract
int
|
getFirstRow()
Returns the first row that changed.
|
abstract
int
|
getLastColumn()
Returns the last column that changed.
|
abstract
int
|
getLastRow()
Returns the last row that changed.
|
abstract
int
|
getType()
Returns the type of event
|
Constants
public
static
final
int
DELETE
Identifies the deletion of rows and/or columns.
Constant Value:
-1
(0xffffffff)
public
static
final
int
INSERT
Identifies the insertion of new rows and/or columns.
Constant Value:
1
(0x00000001)
public
static
final
int
UPDATE
Identifies a change to existing data.
Constant Value:
0
(0x00000000)
Public Methods
public
abstract
int
getFirstColumn
()
Returns the first column that changed.
public
abstract
int
getFirstRow
()
Returns the first row that changed.
public
abstract
int
getLastColumn
()
Returns the last column that changed.
public
abstract
int
getLastRow
()
Returns the last row that changed.
public
abstract
int
getType
()
Returns the type of event