- 
- All Known Subinterfaces:
- AccessibleExtendedTable
 - All Known Implementing Classes:
- JTable.AccessibleJTable
 
 public interface AccessibleTableClassAccessibleTabledescribes a user-interface component that presents data in a two-dimensional table format.- Since:
- 1.3
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessiblegetAccessibleAt(int r, int c)Returns theAccessibleat a specified row and column in the table.AccessiblegetAccessibleCaption()Returns the caption for the table.intgetAccessibleColumnCount()Returns the number of columns in the table.AccessiblegetAccessibleColumnDescription(int c)Returns the description text of the specified column in the table.intgetAccessibleColumnExtentAt(int r, int c)Returns the number of columns occupied by theAccessibleat a specified row and column in the table.AccessibleTablegetAccessibleColumnHeader()Returns the column headers as anAccessibleTable.intgetAccessibleRowCount()Returns the number of rows in the table.AccessiblegetAccessibleRowDescription(int r)Returns the description of the specified row in the table.intgetAccessibleRowExtentAt(int r, int c)Returns the number of rows occupied by theAccessibleat a specified row and column in the table.AccessibleTablegetAccessibleRowHeader()Returns the row headers as anAccessibleTable.AccessiblegetAccessibleSummary()Returns the summary description of the table.int[]getSelectedAccessibleColumns()Returns the selected columns in a table.int[]getSelectedAccessibleRows()Returns the selected rows in a table.booleanisAccessibleColumnSelected(int c)Returns a boolean value indicating whether the specified column is selected.booleanisAccessibleRowSelected(int r)Returns a boolean value indicating whether the specified row is selected.booleanisAccessibleSelected(int r, int c)Returns a boolean value indicating whether the accessible at a specified row and column is selected.voidsetAccessibleCaption(Accessible a)Sets the caption for the table.voidsetAccessibleColumnDescription(int c, Accessible a)Sets the description text of the specified column in the table.voidsetAccessibleColumnHeader(AccessibleTable table)Sets the column headers.voidsetAccessibleRowDescription(int r, Accessible a)Sets the description text of the specified row of the table.voidsetAccessibleRowHeader(AccessibleTable table)Sets the row headers.voidsetAccessibleSummary(Accessible a)Sets the summary description of the table.
 
- 
- 
- 
Method Detail- 
getAccessibleCaptionAccessible getAccessibleCaption() Returns the caption for the table.- Returns:
- the caption for the table
 
 - 
setAccessibleCaptionvoid setAccessibleCaption(Accessible a) Sets the caption for the table.- Parameters:
- a- the caption for the table
 
 - 
getAccessibleSummaryAccessible getAccessibleSummary() Returns the summary description of the table.- Returns:
- the summary description of the table
 
 - 
setAccessibleSummaryvoid setAccessibleSummary(Accessible a) Sets the summary description of the table.- Parameters:
- a- the summary description of the table
 
 - 
getAccessibleRowCountint getAccessibleRowCount() Returns the number of rows in the table.- Returns:
- the number of rows in the table
 
 - 
getAccessibleColumnCountint getAccessibleColumnCount() Returns the number of columns in the table.- Returns:
- the number of columns in the table
 
 - 
getAccessibleAtAccessible getAccessibleAt(int r, int c) Returns theAccessibleat 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 Accessibleat the specified row and column
 
 - 
getAccessibleRowExtentAtint getAccessibleRowExtentAt(int r, int c)Returns the number of rows occupied by theAccessibleat 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 number of rows occupied by the Accessibleat a given specified (row, column)
 
 - 
getAccessibleColumnExtentAtint getAccessibleColumnExtentAt(int r, int c)Returns the number of columns occupied by theAccessibleat 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 number of columns occupied by the Accessibleat a given specified row and column
 
 - 
getAccessibleRowHeaderAccessibleTable getAccessibleRowHeader() Returns the row headers as anAccessibleTable.- Returns:
- an AccessibleTablerepresenting the row headers
 
 - 
setAccessibleRowHeadervoid setAccessibleRowHeader(AccessibleTable table) Sets the row headers.- Parameters:
- table- an- AccessibleTablerepresenting the row headers
 
 - 
getAccessibleColumnHeaderAccessibleTable getAccessibleColumnHeader() Returns the column headers as anAccessibleTable.- Returns:
- an AccessibleTablerepresenting the column headers
 
 - 
setAccessibleColumnHeadervoid setAccessibleColumnHeader(AccessibleTable table) Sets the column headers.- Parameters:
- table- an- AccessibleTablerepresenting the column headers
 
 - 
getAccessibleRowDescriptionAccessible 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
 
 - 
setAccessibleRowDescriptionvoid 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
 
 - 
getAccessibleColumnDescriptionAccessible 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
 
 - 
setAccessibleColumnDescriptionvoid 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
 
 - 
isAccessibleSelectedboolean 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 trueif the accessible at the row and column is selected. Otherwise, the boolean valuefalse
 
 - 
isAccessibleRowSelectedboolean 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 trueif the specified row is selected. Otherwise,false.
 
 - 
isAccessibleColumnSelectedboolean 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 trueif the specified column is selected. Otherwise,false.
 
 - 
getSelectedAccessibleRowsint[] 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
 
 - 
getSelectedAccessibleColumnsint[] 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
 
 
- 
 
-