javax.accessibility

Interface AccessibleExtendedTable

public interface AccessibleExtendedTable extends AccessibleTable

Objects which present 2-D tables with the extension of a flat address space should implement this interface. Accessibility software can use the implementations of this interface to better manipulate the table.

The AccessibleContext.getAccessibleTable() method should return an instance of this interface only when it is supported.

Since: 1.2

See Also: Accessible AccessibleContext getAccessibleTable

UNKNOWN: updated to 1.4

Method Summary
intgetAccessibleColumn(int index)
Returns the column number of an index in the table.
intgetAccessibleIndex(int r, int c)
Returns the cell number for a row-major address from (0,0).
intgetAccessibleRow(int index)
Returns the row number of an index in the table.

Method Detail

getAccessibleColumn

public int getAccessibleColumn(int index)
Returns the column number of an index in the table.

Parameters: index the cell index, in row-major form from (0,0)

Returns: the column number, or -1 if out of bounds

getAccessibleIndex

public int getAccessibleIndex(int r, int c)
Returns the cell number for a row-major address from (0,0).

Parameters: r the row c the column

Returns: the cell index

getAccessibleRow

public int getAccessibleRow(int index)
Returns the row number of an index in the table.

Parameters: index the cell index, in row-major form from (0,0)

Returns: the row number, or -1 if out of bounds