- 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 inserted
- UPDATE- some of the table data has changed
- DELETE- one or more rows and/or columns have been deleted
- Since:
- 1.3
- See Also:
- Accessible,- Accessible.getAccessibleContext(),- AccessibleContext,- AccessibleContext.getAccessibleTable()
- 
Field Summary
- 
Method SummaryModifier and Type Method Description intgetFirstColumn()Returns the first column that changed.intgetFirstRow()Returns the first row that changed.intgetLastColumn()Returns the last column that changed.intgetLastRow()Returns the last row that changed.intgetType()Returns the type of event.
- 
Field Details- 
INSERTstatic final int INSERTIdentifies the insertion of new rows and/or columns.- See Also:
- Constant Field Values
 
- 
UPDATEstatic final int UPDATEIdentifies a change to existing data.- See Also:
- Constant Field Values
 
- 
DELETEstatic final int DELETEIdentifies the deletion of rows and/or columns.- See Also:
- Constant Field Values
 
 
- 
- 
Method Details- 
getTypeint getType()Returns the type of event.
- 
getFirstRowint getFirstRow()Returns the first row that changed.- Returns:
- the first row that changed
 
- 
getLastRowint getLastRow()Returns the last row that changed.- Returns:
- the last row that changed
 
- 
getFirstColumnint getFirstColumn()Returns the first column that changed.- Returns:
- the first column that changed
 
- 
getLastColumnint getLastColumn()Returns the last column that changed.- Returns:
- the last column that changed
 
 
-