[scriptable, uuid(dcc1e5c3-966e-45b2-b30a-839d35432b24)]
interface nsIAccessibleTable : nsISupports
Attributes
readonly attribute
nsIAccessible
caption
readonly attribute
nsIAccessibleTable
columnHeader
readonly attribute
long
columns
readonly attribute
nsIAccessibleTable
rowHeader
readonly attribute
long
rows
Returns the total number of selected cells.
readonly attribute
unsigned long
selectedCellsCount
Returns the total number of selected columns.
readonly attribute
unsigned long
selectedColumnsCount
Returns the total number of selected rows.
readonly attribute
unsigned long
selectedRowsCount
readonly attribute
AString
summary
Methods
Returns the accessible object at the specified row and column in the table. If both row and column index are valid then the corresponding accessible object is returned that represents the requested cell regardless of whether the cell is currently visible (on the screen). @param row - The row index for which to retrieve the cell. @param column - The column index for which to retrieve the cell.
nsIAccessible
cellRefAt(in long row, in long column)
Translates the given child index into the corresponding column index.
@param index - index of the child of the table for which to return
the column index.
long
getColumnAtIndex(in long index)
Returns the description text of the specified column in the table.
@param column - The index of the column for which to retrieve
the description.
AString
getColumnDescription(in long column)
Returns the number of columns occupied by the accessible object
at the specified row and column in the table. The result differs from 1
if the specified cell spans multiple columns.
@param row - Row index of the accessible for which to return
the column extent.
@param column - Column index of the accessible for which to return
the column extent.
long
getColumnExtentAt(in long row, in long column)
Translates the given row and column indices into the corresponding cell
index.
@param row - index of the row of the table for which to return the cell
index.
@param column - index of the column of the table for which to return
the cell index.
long
getIndexAt(in long row, in long column)
Translates the given child index into the corresponding row index.
@param index - index of the child of the table for which to return
the row index.
long
getRowAtIndex(in long index)
Returns the description text of the specified row in the table. @param row - The index of the row for which to retrieve the description.
AString
getRowDescription(in long row)
Returns the number of rows occupied by the accessible oject
at the specified row and column in the table. The result differs from 1
if the specified cell spans multiple rows.
@param row - Row index of the accessible for which to return
the column extent.
@param column - Column index of the accessible for which to return
the column extent.
long
getRowExtentAt(in long row, in long column)
Returns a list of cells indexes currently selected. @param cellsSize - length of array @param cells - array of indexes of selected cells
void
getSelectedCells(out unsigned long cellsSize, [array, size_is(cellsSize), retval] out long cells)
Returns a list of column indexes currently selected. @param columnsSize - Length of array @param columns - Array of indexes of selected columns
void
getSelectedColumns(out unsigned long columnsSize, [array, size_is(columnsSize), retval] out long columns)
Returns a list of row indexes currently selected. @param rowsSize - Length of array @param rows - Array of indexes of selected rows
void
getSelectedRows(out unsigned long rowsSize, [array, size_is(rowsSize), retval] out long rows)
Returns a boolean value indicating whether the specified cell is selected.
@param row - Index of the row for the cell to determine whether it is
selected.
@param column - Index of the column for the cell to determine whether it
is selected.
boolean
isCellSelected(in long row, in long column)
Returns a boolean value indicating whether the specified column is
completely selected.
@param column - Index of the column for which to determine whether it is
selected.
boolean
isColumnSelected(in long column)
Use heuristics to determine if table is most likely used for layout.
boolean
isProbablyForLayout()
Returns a boolean value indicating whether the specified row is completely
selected.
@param row - Index of the row for which to determine whether it is
selected.
boolean
isRowSelected(in long row)
Selects a column and unselects all previously selected columns. @param column - Index of the column to be selected.
void
selectColumn(in long column)
Selects a row and unselects all previously selected rows. @param row - Index of the row to be selected.
void
selectRow(in long row)
Unselects one column, leaving other selected columns selected (if any). @param column - Index of the column to be selected.
void
unselectColumn(in long column)
Unselects one row, leaving other selected rows selected (if any). @param row - Index of the row to be selected.
void
unselectRow(in long row)
Compare to: