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 int
firstColumn
The first columnprotected int
firstRow
The first rowprotected int
lastColumn
The last columnprotected int
lastRow
The last rowprotected int
type
The type -
Constructor Summary
Constructors Modifier Constructor Description protected
AccessibleJTableModelChange(int type, int firstRow, int lastRow, int firstColumn, int lastColumn)
Constructs anAccessibleJTableModelChange
. -
Method Summary
Modifier and Type Method Description int
getFirstColumn()
Returns the first column.int
getFirstRow()
Returns the first row.int
getLastColumn()
Returns the last column.int
getLastRow()
Returns the last row.int
getType()
Returns the type.
-
Field Details
-
type
protected int typeThe type -
firstRow
protected int firstRowThe first row -
lastRow
protected int lastRowThe last row -
firstColumn
protected int firstColumnThe first column -
lastColumn
protected int lastColumnThe last column
-
-
Constructor Details
-
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 Details
-
getType
public int getType()Returns the type.- Specified by:
getType
in interfaceAccessibleTableModelChange
- Returns:
- the type
- See Also:
AccessibleTableModelChange.INSERT
,AccessibleTableModelChange.UPDATE
,AccessibleTableModelChange.DELETE
-
getFirstRow
public int getFirstRow()Returns the first row.- Specified by:
getFirstRow
in interfaceAccessibleTableModelChange
- Returns:
- the first row
-
getLastRow
public int getLastRow()Returns the last row.- Specified by:
getLastRow
in interfaceAccessibleTableModelChange
- Returns:
- the last row
-
getFirstColumn
public int getFirstColumn()Returns the first column.- Specified by:
getFirstColumn
in interfaceAccessibleTableModelChange
- Returns:
- the first column
-
getLastColumn
public int getLastColumn()Returns the last column.- Specified by:
getLastColumn
in interfaceAccessibleTableModelChange
- Returns:
- the last column
-