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 );
rowIndexcolumnIndexAn nsIAccessible object.
Translate the given row and column indices into the corresponding cell index.
long getCellIndexAt( in long rowIndex, in long columnIndex );
rowIndexcolumnIndexA cell index.
Return the description text of the specified column in the table.
AString getColumnDescription( in long columnIndex );
columnIndexThe 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 );
rowcolumnThe number of columns the cell spans.
Return the index of the column containg the given cell index.
long getColumnIndexAt( in long cellIndex );
cellIndexThe 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 );
cellIndexrowIndexcolumnIndexReturn the description text of the specified row in the table.
AString getRowDescription( in long rowIndex );
rowIndexThe 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 );
rowcolumnThe number of rows the cell spans.
Return the index of the row containg the given cell index.
long getRowIndexAt( in long cellIndex );
cellIndexThe 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 );
cellsArraySizecellsArrayReturn an array of column indices currently selected.
void getSelectedColumnIndices( out unsigned long columnsArraySize, [retval, array, size_is(columnsArraySize)] out long columnsArray );
columnsArraySizecolumnsArraycolumns.Return an array of row indices currently selected.
void getSelectedRowIndices( out unsigned long rowsArraySize, [retval, array, size_is(rowsArraySize)] out long rowsArray );
rowsArraySizerowsArrayrows.Return a boolean value indicating whether the specified cell is selected.
boolean isCellSelected( in long rowIndex, in long columnIndex );
rowIndexcolumnIndextrue 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 );
columnIndextrue 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 );
rowIndextrue 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 );
columnIndexSelect a row and unselects all previously selected rows.
void selectRow( in long rowIndex );
rowIndexUnselect the given column, leaving other selected columns selected (if any).
void unselectColumn( in long columnIndex );
columnIndexUnselect the given row, leaving other selected rows selected (if any).
void unselectRow( in long rowIndex );
rowIndex