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.

Fields

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

Constructors

Modifier Constructor Description
protected AccessibleJTableModelChange​(int type, int firstRow, int lastRow, int firstColumn, int lastColumn)

Constructs an AccessibleJTableModelChange.

Methods

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

Fields

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

Constructors

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

Methods

getType

public int getType()

Returns the type.

Specified by:
getType in interface AccessibleTableModelChange
Returns:
the type
See Also:
AccessibleTableModelChange.INSERT, AccessibleTableModelChange.UPDATE, AccessibleTableModelChange.DELETE

getFirstRow

public int getFirstRow()

Returns the first row.

Specified by:
getFirstRow in interface AccessibleTableModelChange
Returns:
the first row

getLastRow

public int getLastRow()

Returns the last row.

Specified by:
getLastRow in interface AccessibleTableModelChange
Returns:
the last row

getFirstColumn

public int getFirstColumn()

Returns the first column.

Specified by:
getFirstColumn in interface AccessibleTableModelChange
Returns:
the first column

getLastColumn

public int getLastColumn()

Returns the last column.

Specified by:
getLastColumn in interface AccessibleTableModelChange
Returns:
the last column

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JTable.AccessibleJTable.AccessibleJTableModelChange.html