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:
BlackBerry API 4.6.1

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

getAccessibleRowCount

int getAccessibleRowCount()
Returns the number of rows in the table.

Returns:
the number of rows in the table
Since:
BlackBerry API 4.6.1

getAccessibleColumnCount

int getAccessibleColumnCount()
Returns the number of columns in the table.

Returns:
the number of columns in the table
Since:
BlackBerry API 4.6.1

getAccessibleAt

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:
BlackBerry API 4.6.1

getAccessibleRowHeader

AccessibleContext[] getAccessibleRowHeader()
Returns the row headers as an AccessibleContext.

Returns:
an AccessibleTable representing the row headers
Since:
BlackBerry API 4.6.1

getAccessibleColumnHeader

AccessibleContext[] getAccessibleColumnHeader()
Returns the column headers as an AccessibleContext.

Returns:
an AccessibleTable representing the column headers
Since:
BlackBerry API 4.6.1

isAccessibleSelected

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:
BlackBerry API 4.6.1

getSelectedAccessibleRows

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:
BlackBerry API 4.6.1

getSelectedAccessibleColumns

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:
BlackBerry API 4.6.1





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal