public interface

AccessibleTable

javax.accessibility.AccessibleTable
Known Indirect Subclasses

Class Overview

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

Summary

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

Public Methods

public abstract 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

public abstract Accessible getAccessibleCaption ()

Returns the caption for the table.

Returns
  • the caption for the table

public abstract int getAccessibleColumnCount ()

Returns the number of columns in the table.

Returns
  • the number of columns in the table

public abstract 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

public abstract 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

public abstract AccessibleTable getAccessibleColumnHeader ()

Returns the column headers as an AccessibleTable.

Returns
  • an AccessibleTable representing the column headers

public abstract int getAccessibleRowCount ()

Returns the number of rows in the table.

Returns
  • the number of rows in the table

public abstract 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

public abstract 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)

public abstract AccessibleTable getAccessibleRowHeader ()

Returns the row headers as an AccessibleTable.

Returns
  • an AccessibleTable representing the row headers

public abstract Accessible getAccessibleSummary ()

Returns the summary description of the table.

Returns
  • the summary description of the table

public abstract 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

public abstract 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

public abstract 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.

public abstract 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.

public abstract 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

public abstract void setAccessibleCaption (Accessible a)

Sets the caption for the table.

Parameters
a the caption for the table

public abstract void setAccessibleColumnDescription (int c, 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

public abstract void setAccessibleColumnHeader (AccessibleTable table)

Sets the column headers.

Parameters
table an AccessibleTable representing the column headers

public abstract void setAccessibleRowDescription (int r, 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

public abstract void setAccessibleRowHeader (AccessibleTable table)

Sets the row headers.

Parameters
table an AccessibleTable representing the row headers

public abstract void setAccessibleSummary (Accessible a)

Sets the summary description of the table

Parameters
a the summary description of the table