- java.lang.Object
-
- javax.swing.JTable.AccessibleJTable.AccessibleJTableModelChange
-
- All Implemented Interfaces:
AccessibleTableModelChange
- Enclosing class:
- JTable.AccessibleJTable
protected class JTable.AccessibleJTable.AccessibleJTableModelChange extends Object implements AccessibleTableModelChange
Describes a change in the accessible table model.
-
-
Field Summary
Fields Modifier and Type Field Description protected intfirstColumnThe first columnprotected intfirstRowThe first rowprotected intlastColumnThe last columnprotected intlastRowThe last rowprotected inttypeThe type-
Fields declared in interface javax.accessibility.AccessibleTableModelChange
DELETE, INSERT, UPDATE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccessibleJTableModelChange(int type, int firstRow, int lastRow, int firstColumn, int lastColumn)Constructs anAccessibleJTableModelChange.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFirstColumn()Returns the first column.intgetFirstRow()Returns the first row.intgetLastColumn()Returns the last column.intgetLastRow()Returns the last row.intgetType()Returns the type.
-
-
-
Constructor Detail
-
AccessibleJTableModelChange
protected AccessibleJTableModelChange(int type, int firstRow, int lastRow, int firstColumn, int lastColumn)Constructs anAccessibleJTableModelChange.- Parameters:
type- the typefirstRow- the first rowlastRow- the last rowfirstColumn- the first columnlastColumn- the last column
-
-
Method Detail
-
getType
public int getType()
Returns the type.- Specified by:
getTypein interfaceAccessibleTableModelChange- Returns:
- the type
- See Also:
AccessibleTableModelChange.INSERT,AccessibleTableModelChange.UPDATE,AccessibleTableModelChange.DELETE
-
getFirstRow
public int getFirstRow()
Returns the first row.- Specified by:
getFirstRowin interfaceAccessibleTableModelChange- Returns:
- the first row
-
getLastRow
public int getLastRow()
Returns the last row.- Specified by:
getLastRowin interfaceAccessibleTableModelChange- Returns:
- the last row
-
getFirstColumn
public int getFirstColumn()
Returns the first column.- Specified by:
getFirstColumnin interfaceAccessibleTableModelChange- Returns:
- the first column
-
getLastColumn
public int getLastColumn()
Returns the last column.- Specified by:
getLastColumnin interfaceAccessibleTableModelChange- Returns:
- the last column
-
-