nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)nsIAccessible getCellAt(in long rowIndex, in long columnIndex); Note: Renamed from cellRefAt in Gecko 1.9.2 |
long getCellIndexAt(in long rowIndex, in long columnIndex); Note: Renamed from getIndexAt in Gecko 1.9.2 |
AString getColumnDescription(in long columnIndex); |
long getColumnExtentAt(in long row, in long column); |
long getColumnIndexAt(in long cellIndex); Note: Renamed from getColumnAtIndex in Gecko 1.9.2 |
void getRowAndColumnIndicesAt(in long cellIndex, out long rowIndex, out long columnIndex); |
AString getRowDescription(in long rowIndex); |
long getRowExtentAt(in long row, in long column); |
long getRowIndexAt(in long cellIndex); Note: Renamed from getRowAtIndex in Gecko 1.9.2 |
void getSelectedCellIndices(out unsigned long cellsArraySize, [retval, array, size_is(cellsArraySize)] out long cellsArray); Note: Renamed from getSelectedCells in Gecko 1.9.2 |
void getSelectedColumnIndices(out unsigned long columnsArraySize, [retval, array, size_is(columnsArraySize)] out long columnsArray); Note: Renamed from getSelectedColumns in Gecko 1.9.2 |
void getSelectedRowIndices(out unsigned long rowsArraySize, [retval, array, size_is(rowsArraySize)] out long rowsArray); Note: Renamed from getSelectedRows in Gecko 1.9.2 |
boolean isCellSelected(in long rowIndex, in long columnIndex); |
boolean isColumnSelected(in long columnIndex); |
boolean isProbablyForLayout(); |
boolean isRowSelected(in long rowIndex); |
void selectColumn(in long columnIndex); |
void selectRow(in long rowIndex); |
void unselectColumn(in long columnIndex); |
void unselectRow(in long rowIndex); |
Attribute | Type | Description |
caption |
|
The caption accessible for the table. For example, html:caption element of html:table element. Read only. |
columnCount |
long |
The number of columns in the table. Read only. Note: Renamed from columns in Gecko 1.9.2 |
columnHeader |
|
Read only. Obsolete since Gecko 1.9.2 |
rowCount |
long |
The number of rows in the table. Read only. Note: Renamed from rows in Gecko 1.9.2 |
rowHeader |
|
Read only. Obsolete since Gecko 1.9.2 |
selectedCellCount |
unsigned long |
The total number of selected cells. Read only. Note: Renamed from selectedCellsCount in Gecko 1.9.2 |
selectedCells |
|
An array of selected cells. Read only. |
selectedColumnCount |
unsigned long |
The total number of selected columns. Read only. Note: Renamed from selectedColumnsCount in Gecko 1.9.2 |
selectedRowCount |
unsigned long |
The total number of selected rows. Read only. Note: Renamed from selectedRowsCount in Gecko 1.9.2 |
summary |
AString |
The summary description for the table. For example, @summary attribute on html:table element. Read only. |
Return 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).
nsIAccessible getCellAt( in long rowIndex, in long columnIndex );
rowIndex
columnIndex
An nsIAccessible
object.
Translate the given row and column indices into the corresponding cell index.
long getCellIndexAt( in long rowIndex, in long columnIndex );
rowIndex
columnIndex
A cell index.
Return the description text of the specified column in the table.
AString getColumnDescription( in long columnIndex );
columnIndex
The column description.
Return the number of columns
occupied by the accessible cell at the specified row and column in the table. The result differs from 1 if the specified cell spans multiple columns
.
long getColumnExtentAt( in long row, in long column );
row
column
The number of columns the cell spans.
Return the index of the column containg the given cell index.
long getColumnIndexAt( in long cellIndex );
cellIndex
The column index.
Translate the given cell index into the corresponding row and column indices.
void getRowAndColumnIndicesAt( in long cellIndex, out long rowIndex, out long columnIndex );
cellIndex
rowIndex
columnIndex
Return the description text of the specified row in the table.
AString getRowDescription( in long rowIndex );
rowIndex
The row description
Return the number of rows
occupied by the accessible cell at the specified row and column in the table. The result differs from 1 if the specified cell spans multiple rows
.
long getRowExtentAt( in long row, in long column );
row
column
The number of rows the cell spans.
Return the index of the row containg the given cell index.
long getRowIndexAt( in long cellIndex );
cellIndex
The row index.
Renamed from getSelectedCells
in Gecko 1.9.2
Return an array of cell indices currently selected.
void getSelectedCellIndices( out unsigned long cellsArraySize, [retval, array, size_is(cellsArraySize)] out long cellsArray );
cellsArraySize
cellsArray
Return an array of column indices currently selected.
void getSelectedColumnIndices( out unsigned long columnsArraySize, [retval, array, size_is(columnsArraySize)] out long columnsArray );
columnsArraySize
columnsArray
columns
.Return an array of row indices currently selected.
void getSelectedRowIndices( out unsigned long rowsArraySize, [retval, array, size_is(rowsArraySize)] out long rowsArray );
rowsArraySize
rowsArray
rows
.Return a boolean value indicating whether the specified cell is selected.
boolean isCellSelected( in long rowIndex, in long columnIndex );
rowIndex
columnIndex
true
if the cell is selected, false
if the cell is not selected.
Return a boolean value indicating whether the specified column is selected, that is all cells within the column are selected.
boolean isColumnSelected( in long columnIndex );
columnIndex
true
if the column is selected, false
if the column is not selected.
Use heuristics to determine if table is most likely used for layout.
boolean isProbablyForLayout();
None.
true
if the table is probably for layout, false
if the table is probably not for layout.
Return a boolean value indicating whether the specified row is selected, that is all cells within the row are selected.
boolean isRowSelected( in long rowIndex );
rowIndex
true
if the row is selected, false
if the row is not selected.
Select a column and unselects all previously selected columns
.
void selectColumn( in long columnIndex );
columnIndex
Select a row and unselects all previously selected rows
.
void selectRow( in long rowIndex );
rowIndex
Unselect the given column, leaving other selected columns
selected (if any).
void unselectColumn( in long columnIndex );
columnIndex
Unselect the given row, leaving other selected rows
selected (if any).
void unselectRow( in long rowIndex );
rowIndex