Class JTable.AccessibleJTable.AccessibleJTableModelChange
- 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
Modifier and Type | Field | Description |
---|---|---|
protected int | firstColumn | The first column |
protected int | firstRow | The first row |
protected int | lastColumn | The last column |
protected int | lastRow | The last row |
protected int | type | The type |
Fields declared in interface javax.accessibility.AccessibleTableModelChange
DELETE, INSERT, UPDATE
Constructor Summary
Modifier | Constructor | Description |
---|---|---|
protected | AccessibleJTableModelChange(int type,
int firstRow,
int lastRow,
int firstColumn,
int lastColumn) | Constructs an |
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. |
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
type
protected int type
The type
firstRow
protected int firstRow
The first row
lastRow
protected int lastRow
The last row
firstColumn
protected int firstColumn
The first column
lastColumn
protected int lastColumn
The last column
Constructor Detail
AccessibleJTableModelChange
protected AccessibleJTableModelChange(int type, int firstRow, int lastRow, int firstColumn, int lastColumn)
Constructs an AccessibleJTableModelChange
.
- Parameters:
-
type
- the type -
firstRow
- the first row -
lastRow
- the last row -
firstColumn
- the first column -
lastColumn
- the last column
Method Detail
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