net.rim.device.api.ui.accessibility
Interface AccessibleTable


public interface AccessibleTable

Class AccessibleTable describes a user-interface component that presents data in a two-dimensional table format.

Since:
JDE 4.7.0

Method Summary
 AccessibleContext getAccessibleAt(int r, int c)
          Returns the Accessible at a specified row and column in the table.
 int getAccessibleColumnCount()
          Returns the number of columns in the table.
 AccessibleContext[] getAccessibleColumnHeader()
          Returns the column headers as an AccessibleContext.
 int getAccessibleRowCount()
          Returns the number of rows in the table.
 AccessibleContext[] getAccessibleRowHeader()
          Returns the row headers as an AccessibleContext.
 int[] getSelectedAccessibleColumns()
          Returns the selected columns in a table.
 int[] getSelectedAccessibleRows()
          Returns the selected rows in a table.
 boolean isAccessibleSelected(int r, int c)
          Returns a boolean value indicating whether the accessible at a specified row and column is selected.
 

Method Detail

getAccessibleAt

public AccessibleContext getAccessibleAt(int r,
                                         int c)
Returns the Accessible at a specified row and column in the table.
Parameters:
r - zero-based row of the table
c - zero-based column of the table
Returns:
the Accessible at the specified row and column
Since:
JDE 4.7.0

getAccessibleColumnCount

public int getAccessibleColumnCount()
Returns the number of columns in the table.
Returns:
the number of columns in the table
Since:
JDE 4.7.0

getAccessibleColumnHeader

public AccessibleContext[] getAccessibleColumnHeader()
Returns the column headers as an AccessibleContext.
Returns:
an AccessibleTable representing the column headers
Since:
JDE 4.7.0

getAccessibleRowCount

public int getAccessibleRowCount()
Returns the number of rows in the table.
Returns:
the number of rows in the table
Since:
JDE 4.7.0

getAccessibleRowHeader

public AccessibleContext[] getAccessibleRowHeader()
Returns the row headers as an AccessibleContext.
Returns:
an AccessibleTable representing the row headers
Since:
JDE 4.7.0

getSelectedAccessibleColumns

public int[] getSelectedAccessibleColumns()
Returns the selected columns in a table.
Returns:
an array of selected columns where each element is a zero-based column of the table
Since:
JDE 4.7.0

getSelectedAccessibleRows

public int[] getSelectedAccessibleRows()
Returns the selected rows in a table.
Returns:
an array of selected rows where each element is a zero-based row of the table
Since:
JDE 4.7.0

isAccessibleSelected

public boolean isAccessibleSelected(int r,
                                    int c)
Returns a boolean value indicating whether the accessible at a specified row and column is selected.
Parameters:
r - zero-based row of the table
c - zero-based column of the table
Returns:
the boolean value true if the accessible at the row and column is selected. Otherwise, the boolean value false
Since:
JDE 4.7.0



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.