javax.accessibility
Interface AccessibleTable

All Known Subinterfaces:
AccessibleExtendedTable sample code for javax.accessibility.AccessibleExtendedTable definition code for javax.accessibility.AccessibleExtendedTable
All Known Implementing Classes:
JTable.AccessibleJTable sample code for javax.swing.JTable.AccessibleJTable definition code for javax.swing.JTable.AccessibleJTable

public interface AccessibleTable

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


Method Summary
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleAt sample code for javax.accessibility.AccessibleTable.getAccessibleAt(int, int) definition code for javax.accessibility.AccessibleTable.getAccessibleAt(int, int) (int r, int c)
          Returns the Accessible at a specified row and column in the table.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleCaption sample code for javax.accessibility.AccessibleTable.getAccessibleCaption() definition code for javax.accessibility.AccessibleTable.getAccessibleCaption() ()
          Returns the caption for the table.
 int getAccessibleColumnCount sample code for javax.accessibility.AccessibleTable.getAccessibleColumnCount() definition code for javax.accessibility.AccessibleTable.getAccessibleColumnCount() ()
          Returns the number of columns in the table.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleColumnDescription sample code for javax.accessibility.AccessibleTable.getAccessibleColumnDescription(int) definition code for javax.accessibility.AccessibleTable.getAccessibleColumnDescription(int) (int c)
          Returns the description text of the specified column in the table.
 int getAccessibleColumnExtentAt sample code for javax.accessibility.AccessibleTable.getAccessibleColumnExtentAt(int, int) definition code for javax.accessibility.AccessibleTable.getAccessibleColumnExtentAt(int, int) (int r, int c)
          Returns the number of columns occupied by the Accessible at a specified row and column in the table.
 AccessibleTable sample code for javax.accessibility.AccessibleTable definition code for javax.accessibility.AccessibleTable getAccessibleColumnHeader sample code for javax.accessibility.AccessibleTable.getAccessibleColumnHeader() definition code for javax.accessibility.AccessibleTable.getAccessibleColumnHeader() ()
          Returns the column headers as an AccessibleTable.
 int getAccessibleRowCount sample code for javax.accessibility.AccessibleTable.getAccessibleRowCount() definition code for javax.accessibility.AccessibleTable.getAccessibleRowCount() ()
          Returns the number of rows in the table.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleRowDescription sample code for javax.accessibility.AccessibleTable.getAccessibleRowDescription(int) definition code for javax.accessibility.AccessibleTable.getAccessibleRowDescription(int) (int r)
          Returns the description of the specified row in the table.
 int getAccessibleRowExtentAt sample code for javax.accessibility.AccessibleTable.getAccessibleRowExtentAt(int, int) definition code for javax.accessibility.AccessibleTable.getAccessibleRowExtentAt(int, int) (int r, int c)
          Returns the number of rows occupied by the Accessible at a specified row and column in the table.
 AccessibleTable sample code for javax.accessibility.AccessibleTable definition code for javax.accessibility.AccessibleTable getAccessibleRowHeader sample code for javax.accessibility.AccessibleTable.getAccessibleRowHeader() definition code for javax.accessibility.AccessibleTable.getAccessibleRowHeader() ()
          Returns the row headers as an AccessibleTable.
 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible getAccessibleSummary sample code for javax.accessibility.AccessibleTable.getAccessibleSummary() definition code for javax.accessibility.AccessibleTable.getAccessibleSummary() ()
          Returns the summary description of the table.
 int[] getSelectedAccessibleColumns sample code for javax.accessibility.AccessibleTable.getSelectedAccessibleColumns() definition code for javax.accessibility.AccessibleTable.getSelectedAccessibleColumns() ()
          Returns the selected columns in a table.
 int[] getSelectedAccessibleRows sample code for javax.accessibility.AccessibleTable.getSelectedAccessibleRows() definition code for javax.accessibility.AccessibleTable.getSelectedAccessibleRows() ()
          Returns the selected rows in a table.
 boolean isAccessibleColumnSelected sample code for javax.accessibility.AccessibleTable.isAccessibleColumnSelected(int) definition code for javax.accessibility.AccessibleTable.isAccessibleColumnSelected(int) (int c)
          Returns a boolean value indicating whether the specified column is selected.
 boolean isAccessibleRowSelected sample code for javax.accessibility.AccessibleTable.isAccessibleRowSelected(int) definition code for javax.accessibility.AccessibleTable.isAccessibleRowSelected(int) (int r)
          Returns a boolean value indicating whether the specified row is selected.
 boolean isAccessibleSelected sample code for javax.accessibility.AccessibleTable.isAccessibleSelected(int, int) definition code for javax.accessibility.AccessibleTable.isAccessibleSelected(int, int) (int r, int c)
          Returns a boolean value indicating whether the accessible at a specified row and column is selected.
 void setAccessibleCaption sample code for javax.accessibility.AccessibleTable.setAccessibleCaption(javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleTable.setAccessibleCaption(javax.accessibility.Accessible) (Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  a)
          Sets the caption for the table.
 void setAccessibleColumnDescription sample code for javax.accessibility.AccessibleTable.setAccessibleColumnDescription(int, javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleTable.setAccessibleColumnDescription(int, javax.accessibility.Accessible) (int c, Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  a)
          Sets the description text of the specified column in the table.
 void setAccessibleColumnHeader sample code for javax.accessibility.AccessibleTable.setAccessibleColumnHeader(javax.accessibility.AccessibleTable) definition code for javax.accessibility.AccessibleTable.setAccessibleColumnHeader(javax.accessibility.AccessibleTable) (AccessibleTable sample code for javax.accessibility.AccessibleTable definition code for javax.accessibility.AccessibleTable  table)
          Sets the column headers.
 void setAccessibleRowDescription sample code for javax.accessibility.AccessibleTable.setAccessibleRowDescription(int, javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleTable.setAccessibleRowDescription(int, javax.accessibility.Accessible) (int r, Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  a)
          Sets the description text of the specified row of the table.
 void setAccessibleRowHeader sample code for javax.accessibility.AccessibleTable.setAccessibleRowHeader(javax.accessibility.AccessibleTable) definition code for javax.accessibility.AccessibleTable.setAccessibleRowHeader(javax.accessibility.AccessibleTable) (AccessibleTable sample code for javax.accessibility.AccessibleTable definition code for javax.accessibility.AccessibleTable  table)
          Sets the row headers.
 void setAccessibleSummary sample code for javax.accessibility.AccessibleTable.setAccessibleSummary(javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleTable.setAccessibleSummary(javax.accessibility.Accessible) (Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  a)
          Sets the summary description of the table
 

Method Detail

getAccessibleCaption sample code for javax.accessibility.AccessibleTable.getAccessibleCaption() definition code for javax.accessibility.AccessibleTable.getAccessibleCaption()

Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleCaption()
Returns the caption for the table.

Returns:
the caption for the table

setAccessibleCaption sample code for javax.accessibility.AccessibleTable.setAccessibleCaption(javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleTable.setAccessibleCaption(javax.accessibility.Accessible)

void setAccessibleCaption(Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  a)
Sets the caption for the table.

Parameters:
a - the caption for the table

getAccessibleSummary sample code for javax.accessibility.AccessibleTable.getAccessibleSummary() definition code for javax.accessibility.AccessibleTable.getAccessibleSummary()

Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleSummary()
Returns the summary description of the table.

Returns:
the summary description of the table

setAccessibleSummary sample code for javax.accessibility.AccessibleTable.setAccessibleSummary(javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleTable.setAccessibleSummary(javax.accessibility.Accessible)

void setAccessibleSummary(Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  a)
Sets the summary description of the table

Parameters:
a - the summary description of the table

getAccessibleRowCount sample code for javax.accessibility.AccessibleTable.getAccessibleRowCount() definition code for javax.accessibility.AccessibleTable.getAccessibleRowCount()

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

Returns:
the number of rows in the table

getAccessibleColumnCount sample code for javax.accessibility.AccessibleTable.getAccessibleColumnCount() definition code for javax.accessibility.AccessibleTable.getAccessibleColumnCount()

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

Returns:
the number of columns in the table

getAccessibleAt sample code for javax.accessibility.AccessibleTable.getAccessibleAt(int, int) definition code for javax.accessibility.AccessibleTable.getAccessibleAt(int, int)

Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  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

getAccessibleRowExtentAt sample code for javax.accessibility.AccessibleTable.getAccessibleRowExtentAt(int, int) definition code for javax.accessibility.AccessibleTable.getAccessibleRowExtentAt(int, int)

int getAccessibleRowExtentAt(int r,
                             int c)
Returns the number of rows occupied by the Accessible at a specified row and column in the table.

Returns:
the number of rows occupied by the Accessible at a given specified (row, column)

getAccessibleColumnExtentAt sample code for javax.accessibility.AccessibleTable.getAccessibleColumnExtentAt(int, int) definition code for javax.accessibility.AccessibleTable.getAccessibleColumnExtentAt(int, int)

int getAccessibleColumnExtentAt(int r,
                                int c)
Returns the number of columns occupied by the Accessible at a specified row and column in the table.

Returns:
the number of columns occupied by the Accessible at a given specified row and column

getAccessibleRowHeader sample code for javax.accessibility.AccessibleTable.getAccessibleRowHeader() definition code for javax.accessibility.AccessibleTable.getAccessibleRowHeader()

AccessibleTable sample code for javax.accessibility.AccessibleTable definition code for javax.accessibility.AccessibleTable  getAccessibleRowHeader()
Returns the row headers as an AccessibleTable.

Returns:
an AccessibleTable representing the row headers

setAccessibleRowHeader sample code for javax.accessibility.AccessibleTable.setAccessibleRowHeader(javax.accessibility.AccessibleTable) definition code for javax.accessibility.AccessibleTable.setAccessibleRowHeader(javax.accessibility.AccessibleTable)

void setAccessibleRowHeader(AccessibleTable sample code for javax.accessibility.AccessibleTable definition code for javax.accessibility.AccessibleTable  table)
Sets the row headers.

Parameters:
table - an AccessibleTable representing the row headers

getAccessibleColumnHeader sample code for javax.accessibility.AccessibleTable.getAccessibleColumnHeader() definition code for javax.accessibility.AccessibleTable.getAccessibleColumnHeader()

AccessibleTable sample code for javax.accessibility.AccessibleTable definition code for javax.accessibility.AccessibleTable  getAccessibleColumnHeader()
Returns the column headers as an AccessibleTable.

Returns:
an AccessibleTable representing the column headers

setAccessibleColumnHeader sample code for javax.accessibility.AccessibleTable.setAccessibleColumnHeader(javax.accessibility.AccessibleTable) definition code for javax.accessibility.AccessibleTable.setAccessibleColumnHeader(javax.accessibility.AccessibleTable)

void setAccessibleColumnHeader(AccessibleTable sample code for javax.accessibility.AccessibleTable definition code for javax.accessibility.AccessibleTable  table)
Sets the column headers.

Parameters:
table - an AccessibleTable representing the column headers

getAccessibleRowDescription sample code for javax.accessibility.AccessibleTable.getAccessibleRowDescription(int) definition code for javax.accessibility.AccessibleTable.getAccessibleRowDescription(int)

Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleRowDescription(int r)
Returns the description of the specified row in the table.

Parameters:
r - zero-based row of the table
Returns:
the description of the row

setAccessibleRowDescription sample code for javax.accessibility.AccessibleTable.setAccessibleRowDescription(int, javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleTable.setAccessibleRowDescription(int, javax.accessibility.Accessible)

void setAccessibleRowDescription(int r,
                                 Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  a)
Sets the description text of the specified row of the table.

Parameters:
r - zero-based row of the table
a - the description of the row

getAccessibleColumnDescription sample code for javax.accessibility.AccessibleTable.getAccessibleColumnDescription(int) definition code for javax.accessibility.AccessibleTable.getAccessibleColumnDescription(int)

Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  getAccessibleColumnDescription(int c)
Returns the description text of the specified column in the table.

Parameters:
c - zero-based column of the table
Returns:
the text description of the column

setAccessibleColumnDescription sample code for javax.accessibility.AccessibleTable.setAccessibleColumnDescription(int, javax.accessibility.Accessible) definition code for javax.accessibility.AccessibleTable.setAccessibleColumnDescription(int, javax.accessibility.Accessible)

void setAccessibleColumnDescription(int c,
                                    Accessible sample code for javax.accessibility.Accessible definition code for javax.accessibility.Accessible  a)
Sets the description text of the specified column in the table.

Parameters:
c - zero-based column of the table
a - the text description of the column

isAccessibleSelected sample code for javax.accessibility.AccessibleTable.isAccessibleSelected(int, int) definition code for javax.accessibility.AccessibleTable.isAccessibleSelected(int, int)

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

isAccessibleRowSelected sample code for javax.accessibility.AccessibleTable.isAccessibleRowSelected(int) definition code for javax.accessibility.AccessibleTable.isAccessibleRowSelected(int)

boolean isAccessibleRowSelected(int r)
Returns a boolean value indicating whether the specified row is selected.

Parameters:
r - zero-based row of the table
Returns:
the boolean value true if the specified row is selected. Otherwise, false.

isAccessibleColumnSelected sample code for javax.accessibility.AccessibleTable.isAccessibleColumnSelected(int) definition code for javax.accessibility.AccessibleTable.isAccessibleColumnSelected(int)

boolean isAccessibleColumnSelected(int c)
Returns a boolean value indicating whether the specified column is selected.

Parameters:
c - zero-based column of the table
Returns:
the boolean value true if the specified column is selected. Otherwise, false.

getSelectedAccessibleRows sample code for javax.accessibility.AccessibleTable.getSelectedAccessibleRows() definition code for javax.accessibility.AccessibleTable.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

getSelectedAccessibleColumns sample code for javax.accessibility.AccessibleTable.getSelectedAccessibleColumns() definition code for javax.accessibility.AccessibleTable.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