org.eclipse.actf.accservice.core
Interface IAccessibleTableElement

All Known Implementing Classes:
IA2AccessibleTable, JavaAccessibleTable

public interface IAccessibleTableElement

Interface for exposing accessibility-related properties of tables to the validation engine.

Author:
Mike Smith
See Also:
IAccessibleElement2

Method Summary
 Object getCaption()
          get the caption for the table
 long getColumnCount()
          get the number of columns for the table
 String getColumnDescription(long column)
          get the description for the specified column
 long getRowCount()
          get the number of rows for the table
 String getRowDescription(long row)
          get the description for the specified row
 int getSelectedChildCount()
          get the number of selected chidren for the table
 int[] getSelectedChildren()
          get the indices of the selected Children
 int[] getSelectedColumns()
          get the indecies of the selected columns
 int[] getSelectedRows()
          get the indecies of the selected rows
 Object getSummary()
          get the summary for the table
 

Method Detail

getCaption

Object getCaption()
                  throws InvalidComponentException
get the caption for the table

Returns:
caption or an empty string if no caption is provided
Throws:
InvalidComponentException

getSummary

Object getSummary()
                  throws InvalidComponentException
get the summary for the table

Returns:
summary or an empty string if no summary is provided
Throws:
InvalidComponentException

getColumnCount

long getColumnCount()
                    throws InvalidComponentException
get the number of columns for the table

Returns:
column count
Throws:
InvalidComponentException

getRowCount

long getRowCount()
                 throws InvalidComponentException
get the number of rows for the table

Returns:
row count
Throws:
InvalidComponentException

getColumnDescription

String getColumnDescription(long column)
                            throws InvalidComponentException
get the description for the specified column

Parameters:
column - zero-based index of column
Returns:
row description or an empty string if column index is out of range
Throws:
InvalidComponentException

getRowDescription

String getRowDescription(long row)
                         throws InvalidComponentException
get the description for the specified row

Parameters:
row - zero-based index of row
Returns:
row description or an empty string if row index is out of range
Throws:
InvalidComponentException

getSelectedColumns

int[] getSelectedColumns()
                         throws InvalidComponentException
get the indecies of the selected columns

Returns:
an array of selected column indecies
Throws:
InvalidComponentException

getSelectedRows

int[] getSelectedRows()
                      throws InvalidComponentException
get the indecies of the selected rows

Returns:
an array of selected row indecies
Throws:
InvalidComponentException

getSelectedChildCount

int getSelectedChildCount()
                          throws InvalidComponentException
get the number of selected chidren for the table

Returns:
selected children count
Throws:
InvalidComponentException

getSelectedChildren

int[] getSelectedChildren()
                          throws InvalidComponentException
get the indices of the selected Children

Returns:
an array of selected children indecies
Throws:
InvalidComponentException