javax.accessibility
Interface AccessibleTable

All Known Subinterfaces:
AccessibleExtendedTable
All Known Implementing Classes:
javax.swing.JTable.AccessibleJTable

public interface AccessibleTable

Untamed:


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

Method Detail

getAccessibleCaption

public Accessible getAccessibleCaption()
Enabled: Returns the caption for the table.

Returns:
the caption for the table

setAccessibleCaption

public void setAccessibleCaption(Accessible a)
Enabled: Sets the caption for the table.

Parameters:
a - the caption for the table

getAccessibleSummary

public Accessible getAccessibleSummary()
Enabled: Returns the summary description of the table.

Returns:
the summary description of the table

setAccessibleSummary

public void setAccessibleSummary(Accessible a)
Enabled: Sets the summary description of the table

Parameters:
a - the summary description of the table

getAccessibleRowCount

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

Returns:
the number of rows in the table

getAccessibleColumnCount

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

Returns:
the number of columns in the table

getAccessibleAt

public Accessible getAccessibleAt(int r,
                                  int c)
Enabled: 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

public int getAccessibleRowExtentAt(int r,
                                    int c)
Enabled: 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

public int getAccessibleColumnExtentAt(int r,
                                       int c)
Enabled: 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

public AccessibleTable getAccessibleRowHeader()
Enabled: Returns the row headers as an AccessibleTable.

Returns:
an AccessibleTable representing the row headers

setAccessibleRowHeader

public void setAccessibleRowHeader(AccessibleTable table)
Enabled: Sets the row headers.

Parameters:
table - an AccessibleTable representing the row headers

getAccessibleColumnHeader

public AccessibleTable getAccessibleColumnHeader()
Enabled: Returns the column headers as an AccessibleTable.

Returns:
an AccessibleTable representing the column headers

setAccessibleColumnHeader

public void setAccessibleColumnHeader(AccessibleTable table)
Enabled: Sets the column headers.

Parameters:
table - an AccessibleTable representing the column headers

getAccessibleRowDescription

public Accessible getAccessibleRowDescription(int r)
Enabled: 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

public void setAccessibleRowDescription(int r,
                                        Accessible a)
Enabled: 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

public Accessible getAccessibleColumnDescription(int c)
Enabled: 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

public void setAccessibleColumnDescription(int c,
                                           Accessible a)
Enabled: 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

public boolean isAccessibleSelected(int r,
                                    int c)
Enabled: 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

public boolean isAccessibleRowSelected(int r)
Enabled: 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

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

Returns:
the boolean value true if the specified column is selected. Otherwise, false.

getSelectedAccessibleRows

public int[] getSelectedAccessibleRows()
Enabled: 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

public int[] getSelectedAccessibleColumns()
Enabled: Returns the selected columns in a table.

Returns:
an array of selected columns where each element is a zero-based column of the table


comments?