import "Accessibility_Table.idl";
Public Member Functions | |
Accessible | getAccessibleAt (in long row, in long column) |
long | getIndexAt (in long row, in long column) |
long | getRowAtIndex (in long index) |
long | getColumnAtIndex (in long index) |
string | getRowDescription (in long row) |
string | getColumnDescription (in long column) |
long | getRowExtentAt (in long row, in long column) |
long | getColumnExtentAt (in long row, in long column) |
Accessible | getRowHeader (in long row) |
Accessible | getColumnHeader (in long column) |
LongSeq | getSelectedRows () |
LongSeq | getSelectedColumns () |
boolean | isRowSelected (in long row) |
boolean | isColumnSelected (in long column) |
boolean | isSelected (in long row, in long column) |
boolean | addRowSelection (in long row) |
boolean | addColumnSelection (in long column) |
boolean | removeRowSelection (in long row) |
boolean | removeColumnSelection (in long column) |
boolean | getRowColumnExtentsAtIndex (in long index, out long row, out long col, out long row_extents, out long col_extents, out boolean is_selected) |
Data Fields | |
readonly attribute long | nRows |
readonly attribute long | nColumns |
readonly attribute Accessible | caption |
readonly attribute Accessible | summary |
readonly attribute long | nSelectedRows |
readonly attribute long | nSelectedColumns |
Objects within tables are children of the Table instance, and they may be referenced either via a child index or via a row/column pair. Their role may be ROLE_TABLE_CELL, but table 'cells' may have other roles as well. These 'cells' may implement other interfaces, such as Text, Action, Image, and Component, and should do so as appropriate to their onscreen representation and/or behavior.
Accessible Accessibility::Table::getAccessibleAt | ( | in long | row, | |
in long | column | |||
) |
Get the table cell at the specified row and column indices.
row,: | the specified table row, zero-indexed. | |
column,: | the specified table column, zero-indexed. |
long Accessibility::Table::getIndexAt | ( | in long | row, | |
in long | column | |||
) |
Get the 1-D child index corresponding to the specified 2-D row and column indices.
row,: | the specified table row, zero-indexed. | |
column,: | the specified table column, zero-indexed. |
long Accessibility::Table::getRowAtIndex | ( | in long | index | ) |
Get the table row index occupied by the child at a particular 1-D child index.
index,: | the specified child index, zero-indexed. |
index
. long Accessibility::Table::getColumnAtIndex | ( | in long | index | ) |
Get the table column index occupied by the child at a particular 1-D child index.
index,: | the specified child index, zero-indexed. |
index
. string Accessibility::Table::getRowDescription | ( | in long | row | ) |
Get a text description of a particular table row. This differs from AccessibleTable_getRowHeader, which returns an Accessible.
row,: | the specified table row, zero-indexed. |
string Accessibility::Table::getColumnDescription | ( | in long | column | ) |
Get a text description of a particular table column. This differs from AccessibleTable_getColumnHeader, which returns an Accessible.
column,: | the specified table column, zero-indexed. |
long Accessibility::Table::getRowExtentAt | ( | in long | row, | |
in long | column | |||
) |
Get the number of rows spanned by the table cell at the specific row and column. (some tables can have cells which span multiple rows and/or columns).
row,: | the specified table row, zero-indexed. | |
column,: | the specified table column, zero-indexed. |
long Accessibility::Table::getColumnExtentAt | ( | in long | row, | |
in long | column | |||
) |
Get the number of columns spanned by the table cell at the specific row and column. (some tables can have cells which span multiple rows and/or columns).
row,: | the specified table row, zero-indexed. | |
column,: | the specified table column, zero-indexed. |
Accessible Accessibility::Table::getRowHeader | ( | in long | row | ) |
Get the header associated with a table row, if available. This differs from getRowDescription, which returns a string.
row,: | the specified table row, zero-indexed. |
Accessible Accessibility::Table::getColumnHeader | ( | in long | column | ) |
Get the header associated with a table column, if available, as an instance of Accessible. This differs from getColumnDescription, which returns a string.
column,: | the specified table column, zero-indexed. |
LongSeq Accessibility::Table::getSelectedRows | ( | ) |
Obtain the indices of all rows which are currently selected.
LongSeq Accessibility::Table::getSelectedColumns | ( | ) |
Obtain the indices of all columns which are currently selected.
boolean Accessibility::Table::isRowSelected | ( | in long | row | ) |
Determine whether a table row is selected.
row,: | the row being queried. |
True
if the specified row is currently selected, False
if not. boolean Accessibility::Table::isColumnSelected | ( | in long | column | ) |
Determine whether a table column is selected.
column,: | the column being queried. |
True
if the specified column is currently selected, False
if not. boolean Accessibility::Table::isSelected | ( | in long | row, | |
in long | column | |||
) |
Determine whether the cell at a specific row and column is selected.
row | a row occupied by the cell whose state is being queried. | |
column | a column occupied by the cell whose state is being queried. |
True
if the specified cell is currently selected, False
if not. boolean Accessibility::Table::addRowSelection | ( | in long | row | ) |
Select the specified row, adding it to the current row selection, if the table's selection model permits it.
row |
False
include: True
if the specified row was successfully selected, False
if not. boolean Accessibility::Table::addColumnSelection | ( | in long | column | ) |
Select the specified column, adding it to the current column selection, if the table's selection model permits it.
column |
False
include: True
if the specified column was successfully selected, False
if not. boolean Accessibility::Table::removeRowSelection | ( | in long | row | ) |
Remove the specified row from current row selection, if the table's selection model permits it.
row |
False
include: True
if the specified row was successfully de-selected, False
if not. boolean Accessibility::Table::removeColumnSelection | ( | in long | column | ) |
Remove the specified column from current column selection, if the table's selection model permits it.
column |
False
include: True
if the specified column was successfully de-selected, False
if not. boolean Accessibility::Table::getRowColumnExtentsAtIndex | ( | in long | index, | |
out long | row, | |||
out long | col, | |||
out long | row_extents, | |||
out long | col_extents, | |||
out boolean | is_selected | |||
) |
Given a child index, determine the row and column indices and extents, and whether the cell is currently selected. If the child at index
is not a cell (for instance, if it is a summary, caption, etc.), False
is returned.
index | the index of the Table child whose row/column extents are requested. | |
row | back-filled with the first table row associated with the cell with child index index . | |
col | back-filled with the first table column associated with the cell with child index index . | |
row_extents | back-filled with the number of table rows across which child i extends. | |
col_extents | back-filled with the number of table columns across which child i extends. | |
is_selected | a boolean which is back-filled with True if the child at index i corresponds to a selected table cell, False otherwise. |
retval = table::getRowColumnExtentsAtIndex (6, row, col, row_extents, col_extents, is_selected);
row
, col
, row_extents
, col_extents
, and is_selected
will contain 2
, 5
, 1
, 2
, and True
, respectively.
True
if the index is associated with a valid table cell, False
if the index does not correspond to a cell. If False
is returned, the values of the out parameters are undefined.
readonly attribute long Accessibility::Table::nRows |
The total number of rows in this table (including empty rows), exclusive of any rows which are programmatically hidden. Rows which are merely scrolled out of view are included.
readonly attribute long Accessibility::Table::nColumns |
The total number of columns in this table (including empty columns), exclusive of columns which are programmatically hidden. Columns which are scrolled out of view or clipped by the current viewport are included.
readonly attribute Accessible Accessibility::Table::caption |
An Accessible which represents of a caption for a Table.
readonly attribute Accessible Accessibility::Table::summary |
readonly attribute long Accessibility::Table::nSelectedRows |
The number of rows currently selected. A selected row is one in which all included cells are selected.
readonly attribute long Accessibility::Table::nSelectedColumns |
The number of columns currently selected. A selected column is one in which all included cells are selected.