javax.accessibility
Interface AccessibleTableModelChange

All Known Implementing Classes:
JTable.AccessibleJTable.AccessibleJTableModelChange sample code for javax.swing.JTable.AccessibleJTable.AccessibleJTableModelChange definition code for javax.swing.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:

The model change type returned by getType() will be one of: The affected area of the table can be determined by the other four methods which specify ranges of rows and columns

See Also:
Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible , Accessible.getAccessibleContext() sample code for javax.accessibility.Accessible.getAccessibleContext() definition code for javax.accessibility.Accessible.getAccessibleContext() , AccessibleContext sample code for javax.accessibility.AccessibleContext definition code for javax.accessibility.AccessibleContext , AccessibleContext.getAccessibleTable() sample code for javax.accessibility.AccessibleContext.getAccessibleTable() definition code for javax.accessibility.AccessibleContext.getAccessibleTable()

Field Summary
static int DELETE sample code for javax.accessibility.AccessibleTableModelChange.DELETE definition code for javax.accessibility.AccessibleTableModelChange.DELETE
          Identifies the deletion of rows and/or columns.
static int INSERT sample code for javax.accessibility.AccessibleTableModelChange.INSERT definition code for javax.accessibility.AccessibleTableModelChange.INSERT
          Identifies the insertion of new rows and/or columns.
static int UPDATE sample code for javax.accessibility.AccessibleTableModelChange.UPDATE definition code for javax.accessibility.AccessibleTableModelChange.UPDATE
          Identifies a change to existing data.
 
Method Summary
 int getFirstColumn sample code for javax.accessibility.AccessibleTableModelChange.getFirstColumn() definition code for javax.accessibility.AccessibleTableModelChange.getFirstColumn() ()
          Returns the first column that changed.
 int getFirstRow sample code for javax.accessibility.AccessibleTableModelChange.getFirstRow() definition code for javax.accessibility.AccessibleTableModelChange.getFirstRow() ()
          Returns the first row that changed.
 int getLastColumn sample code for javax.accessibility.AccessibleTableModelChange.getLastColumn() definition code for javax.accessibility.AccessibleTableModelChange.getLastColumn() ()
          Returns the last column that changed.
 int getLastRow sample code for javax.accessibility.AccessibleTableModelChange.getLastRow() definition code for javax.accessibility.AccessibleTableModelChange.getLastRow() ()
          Returns the last row that changed.
 int getType sample code for javax.accessibility.AccessibleTableModelChange.getType() definition code for javax.accessibility.AccessibleTableModelChange.getType() ()
          Returns the type of event
 

Field Detail

INSERT sample code for javax.accessibility.AccessibleTableModelChange.INSERT

static final int INSERT
Identifies the insertion of new rows and/or columns.

See Also:
Constant Field Values

UPDATE sample code for javax.accessibility.AccessibleTableModelChange.UPDATE

static final int UPDATE
Identifies a change to existing data.

See Also:
Constant Field Values

DELETE sample code for javax.accessibility.AccessibleTableModelChange.DELETE

static final int DELETE
Identifies the deletion of rows and/or columns.

See Also:
Constant Field Values
Method Detail

getType sample code for javax.accessibility.AccessibleTableModelChange.getType() definition code for javax.accessibility.AccessibleTableModelChange.getType()

int getType()
Returns the type of event

See Also:
INSERT sample code for javax.accessibility.AccessibleTableModelChange.INSERT definition code for javax.accessibility.AccessibleTableModelChange.INSERT , UPDATE sample code for javax.accessibility.AccessibleTableModelChange.UPDATE definition code for javax.accessibility.AccessibleTableModelChange.UPDATE , DELETE sample code for javax.accessibility.AccessibleTableModelChange.DELETE definition code for javax.accessibility.AccessibleTableModelChange.DELETE

getFirstRow sample code for javax.accessibility.AccessibleTableModelChange.getFirstRow() definition code for javax.accessibility.AccessibleTableModelChange.getFirstRow()

int getFirstRow()
Returns the first row that changed.


getLastRow sample code for javax.accessibility.AccessibleTableModelChange.getLastRow() definition code for javax.accessibility.AccessibleTableModelChange.getLastRow()

int getLastRow()
Returns the last row that changed.


getFirstColumn sample code for javax.accessibility.AccessibleTableModelChange.getFirstColumn() definition code for javax.accessibility.AccessibleTableModelChange.getFirstColumn()

int getFirstColumn()
Returns the first column that changed.


getLastColumn sample code for javax.accessibility.AccessibleTableModelChange.getLastColumn() definition code for javax.accessibility.AccessibleTableModelChange.getLastColumn()

int getLastColumn()
Returns the last column that changed.