javax.accessibility
Interface AccessibleTableModelChange

All Known Implementing Classes:
JTable.AccessibleJTable.AccessibleJTableModelChange

public interface AccessibleTableModelChange

Describes a change to an accessible table. Accessibility software can use the implementations of this interface to update their state after a change to a table.

Since:
1.2
See Also:
Accessible, AccessibleContext, AccessibleContext.getAccessibleTable(), AccessibleTable

Field Summary
static int DELETE
          Identifies deletion of rows or columns.
static int INSERT
          Identifies insertion of rows or columns.
static int UPDATE
          Identifies change to existing data.
 
Method Summary
 int getFirstColumn()
          Returns the first column that changed.
 int getFirstRow()
          Returns the first row that changed.
 int getLastColumn()
          Returns the last column that changed.
 int getLastRow()
          Returns the last row that changed.
 int getType()
          Returns the change type.
 

Field Detail

INSERT

static final int INSERT
Identifies insertion of rows or columns.

See Also:
Constant Field Values

UPDATE

static final int UPDATE
Identifies change to existing data.

See Also:
Constant Field Values

DELETE

static final int DELETE
Identifies deletion of rows or columns.

See Also:
Constant Field Values
Method Detail

getType

int getType()
Returns the change type.

Returns:
the type
See Also:
INSERT, UPDATE, DELETE

getFirstRow

int getFirstRow()
Returns the first row that changed.

Returns:
the 0-based index of the first row to change

getLastRow

int getLastRow()
Returns the last row that changed.

Returns:
the 0-based index of the last row to change

getFirstColumn

int getFirstColumn()
Returns the first column that changed.

Returns:
the 0-based index of the first column to change

getLastColumn

int getLastColumn()
Returns the last column that changed.

Returns:
the 0-based index of the last column to change