You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



interface nsIAccessibleTable

nsIAcc Interface which contains tabular or row/column information


Public Fields


[more] attribute nsIAccessible caption
get the caption for the table
[more] attribute AString summary
Gets the summary description of the table
[more] readonly attribute long columns
Gets the the number of columns in the table
[more] readonly attribute nsIAccessibleTable columnHeader
Gets the column header of a specified column in an accessible table
[more] readonly attribute long rows
Gets the number of rows in the table
[more] readonly attribute nsIAccessibleTable rowHeader
Gets the row header of a specified row in an accessible table


Public Methods


[more] void getSelectedColumns (out unsigned long columnsSize, [retval, array, size_is(columnsSize)] out long columns )
Gets the selected columns of the table.
[more] void getSelectedRows (out unsigned long rowsSize, [retval, array, size_is(rowsSize)] out long rows )
Gets the selected rows of the table.
[more] nsIAccessible cellRefAt (in long row, in long column)
Gets a reference to the table cell at row, column.
[more] long getIndexAt (in long row, in long column)
Gets a long result representing the index at the specified row and column.
[more] long getColumnAtIndex (in long index)
Gets a long representing the column at the specified index
[more] long getRowAtIndex (in long index)
Gets a long representing the row at the specified index
[more] long getColumnExtentAt (in long row, in long column)
Gets the number of columns occupied by the accessible object at the specified row and column in the table.
[more] long getRowExtentAt (in long row, in long column)
Gets the number of rows occupied by the accessible object at the specified row and column in the table.
[more] AString getColumnDescription (in long column)
gets the description of the specified column
[more] AString getRowDescription (in long row)
gets the description of the specified row
[more] boolean isColumnSelected (in long column)
Gets a boolean value indicating whether the specified column is selected
[more] boolean isRowSelected (in long row)
Gets a boolean value indicating whether the specified row is selected
[more] boolean isCellSelected (in long row, in long column)
Gets a boolean value indicating whether the cell at the specified row and column is selected


Documentation

nsIAcc Interface which contains tabular or row/column information
o attribute nsIAccessible caption
get the caption for the table


o attribute AString summary
Gets the summary description of the table


o readonly attribute long columns
Gets the the number of columns in the table


o readonly attribute nsIAccessibleTable columnHeader
Gets the column header of a specified column in an accessible table


o readonly attribute long rows
Gets the number of rows in the table


o readonly attribute nsIAccessibleTable rowHeader
Gets the row header of a specified row in an accessible table


o void getSelectedColumns(out unsigned long columnsSize, [retval, array, size_is(columnsSize)] out long columns )
Gets the selected columns of the table.

Parameters:
columnSize - output the size of the selected columns
- columns output the number of selected columns

o void getSelectedRows(out unsigned long rowsSize, [retval, array, size_is(rowsSize)] out long rows )
Gets the selected rows of the table.

Parameters:
rowSize - output the size of the selected rows
- rows output the number of selected rows

o nsIAccessible cellRefAt(in long row, in long column)
Gets a reference to the table cell at row, column.

Parameters:
row - indicates the row number
column - indicates the column number
Returns:
a nsIAccessible representing the referred cell

o long getIndexAt(in long row, in long column)
Gets a long result representing the index at the specified row and column. The value NS_ERROR_NOT_IMPLEMENTED is returned if the object at row,column is not a child of table or table does not implement this interface

Parameters:
row - indicates the row number
column - indicates the column number
Returns:
a long index

o long getColumnAtIndex(in long index)
Gets a long representing the column at the specified index

Parameters:
index - input the index
Returns:
the column number

o long getRowAtIndex(in long index)
Gets a long representing the row at the specified index

Parameters:
index - input the index
Returns:
the row number

o long getColumnExtentAt(in long row, in long column)
Gets the number of columns occupied by the accessible object at the specified row and column in the table.

Parameters:
row - specify the row
column - specify the column
Returns:
the number of columns

o long getRowExtentAt(in long row, in long column)
Gets the number of rows occupied by the accessible object at the specified row and column in the table.

Parameters:
row - specify the row
column - specify the column
Returns:
the number of rows

o AString getColumnDescription(in long column)
gets the description of the specified column

Parameters:
column - specify the column number
Returns:
an AString description

o AString getRowDescription(in long row)
gets the description of the specified row

Parameters:
row - specify the row number
Returns:
an AString description

o boolean isColumnSelected(in long column)
Gets a boolean value indicating whether the specified column is selected

Parameters:
column - specify the column number
Returns:
a boolean result representing if the column is selected

o boolean isRowSelected(in long row)
Gets a boolean value indicating whether the specified row is selected

Parameters:
column - specify the row number
Returns:
a boolean result representing if the row is selected

o boolean isCellSelected(in long row, in long column)
Gets a boolean value indicating whether the cell at the specified row and column is selected

Parameters:
row - specify the row number
column - specify the column number


This class has no child classes.


Alphabetic index



This page was generated with the help of DOC++ .