Package org.eclipse.swt.accessibility
Class AccessibleTableAdapter
java.lang.Object
org.eclipse.swt.accessibility.AccessibleTableAdapter
- All Implemented Interfaces:
- AccessibleTableListener
This adapter class provides default implementations for the
 methods in the 
AccessibleTableListener interface.
 
 Classes that wish to deal with AccessibleTable events can
 extend this class and override only the methods that they are
 interested in.
 
 Many methods in this adapter return cell accessible objects,
 which should implement AccessibleTableCellListener.
 
- Since:
- 1.4
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidDeselects one column, leaving other selected columns selected (if any).voidDeselects one row, leaving other selected rows selected (if any).voidReturns the caption for the table.voidReturns the accessible object at the specified row and column in the table.voidReturns the accessible object for the specified column in the table.voidReturns the total number of columns in the table.voidReturns the description text of the specified column in the table.voidReturns the accessible object for the column header.voidReturns the column header cells as an array of accessible objects.voidReturns the columns as an array of accessible objects.voidReturns the accessible object for the specified row in the table.voidReturns the total number of rows in the table.voidReturns the description text of the specified row in the table.voidReturns the accessible object for the row header.voidReturns the row header cells as an array of accessible objects.voidReturns the rows as an array of accessible objects.voidReturns the number of selected cells.voidReturns the currently selected cells.voidReturns the number of selected columns.voidReturns the column indexes that are currently selected.voidReturns the number of selected rows.voidReturns the row indexes that are currently selected.voidReturns the summary description of the table.voidReturns the visible columns as an array of accessible objects.voidReturns the visible rows as an array of accessible objects.voidReturns a boolean value indicating whether the specified column is completely selected.voidReturns a boolean value indicating whether the specified row is completely selected.voidSelects a column.voidSelects a row.voidSelects a column and deselects all previously selected columns.voidSelects a row and deselects all previously selected rows.
- 
Constructor Details- 
AccessibleTableAdapterpublic AccessibleTableAdapter()
 
- 
- 
Method Details- 
deselectColumnDeselects one column, leaving other selected columns selected (if any).- Specified by:
- deselectColumnin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] column - 0 based index of the column to be unselected.
- [out] result - set to ACC.OKif the column was deselected.
 
 
- 
deselectRowDeselects one row, leaving other selected rows selected (if any).- Specified by:
- deselectRowin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] row - 0 based index of the row to be unselected
- [out] result - set to ACC.OKif the row was deselected.
 
 
- 
getCaptionReturns the caption for the table.- Specified by:
- getCaptionin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessible - the caption for the table, or null if the table does not have a caption
 
 
- 
getCellReturns the accessible object at the specified row and column in the table.- Specified by:
- getCellin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] row - the 0 based row index for which to retrieve the accessible cell
- [in] column - the 0 based column index for which to retrieve the accessible cell
- [out] accessible - the table cell at the specified row and column index, or null if the row or column index are not valid
 
 
- 
getColumnReturns the accessible object for the specified column in the table.- Specified by:
- getColumnin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] column - the 0 based column index for which to retrieve the accessible column
- [out] accessible - the table column at the specified column index, or null if the column index is not valid
 
 
- 
getColumnCountReturns the total number of columns in the table.- Specified by:
- getColumnCountin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] count - the number of columns in the table
 
 
- 
getColumnDescriptionReturns the description text of the specified column in the table.- Specified by:
- getColumnDescriptionin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] column - the 0 based index of the column for which to retrieve the description
- [out] result - the description text of the specified column in the table, or null if the column does not have a description
 
 
- 
getColumnHeaderReturns the accessible object for the column header.- Specified by:
- getColumnHeaderin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessible - an accessible object representing the column header, or null if there is no column header
 
 
- 
getColumnHeaderCellsReturns the column header cells as an array of accessible objects.- Specified by:
- getColumnHeaderCellsin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessibles - an array of accessible objects representing column header cells, or null if there are no column header cells
 
 
- 
getColumnsReturns the columns as an array of accessible objects.- Specified by:
- getColumnsin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessibles - an array of accessible objects representing columns, or null if there are no columns
 
 
- 
getRowReturns the accessible object for the specified row in the table.- Specified by:
- getRowin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] row - the 0 based row index for which to retrieve the accessible row
- [out] accessible - the table row at the specified row index, or null if the row index is not valid
 
 
- 
getRowCountReturns the total number of rows in the table.- Specified by:
- getRowCountin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] count - the number of rows in the table
 
 
- 
getRowDescriptionReturns the description text of the specified row in the table.- Specified by:
- getRowDescriptionin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] row - the 0 based index of the row for which to retrieve the description
- [out] result - the description text of the specified row in the table, or null if the row does not have a description
 
 
- 
getRowHeaderReturns the accessible object for the row header.- Specified by:
- getRowHeaderin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessible - an accessible object representing the row header, or null if there is no row header
 
 
- 
getRowHeaderCellsReturns the row header cells as an array of accessible objects.- Specified by:
- getRowHeaderCellsin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessibles - an array of accessible objects representing row header cells, or null if there are no row header cells
 
 
- 
getRowsReturns the rows as an array of accessible objects.- Specified by:
- getRowsin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessibles - an array of accessible objects representing rows, or null if there are no rows
 
 
- 
getSelectedCellCountReturns the number of selected cells.- Specified by:
- getSelectedCellCountin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] count - the number of cells currently selected
 
 
- 
getSelectedCellsReturns the currently selected cells.- Specified by:
- getSelectedCellsin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessibles - array containing the selected accessible cells
 
 
- 
getSelectedColumnCountReturns the number of selected columns.- Specified by:
- getSelectedColumnCountin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] count - the number of columns currently selected
 
 
- 
getSelectedColumnsReturns the column indexes that are currently selected.- Specified by:
- getSelectedColumnsin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] selected - an array of 0 based column indexes of selected columns
 
 
- 
getSelectedRowCountReturns the number of selected rows.- Specified by:
- getSelectedRowCountin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] count - the number of rows currently selected
 
 
- 
getSelectedRowsReturns the row indexes that are currently selected.- Specified by:
- getSelectedRowsin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] selected - an array of 0 based row indexes of selected rows
 
 
- 
getSummaryReturns the summary description of the table.- Specified by:
- getSummaryin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessible - the summary for the table, or null if the table does not have a summary
 
 
- 
getVisibleColumnsReturns the visible columns as an array of accessible objects.- Specified by:
- getVisibleColumnsin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessibles - an array of accessible objects representing visible columns, or null if there are no visible columns
 
 
- 
getVisibleRowsReturns the visible rows as an array of accessible objects.- Specified by:
- getVisibleRowsin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [out] accessibles - an array of accessible objects representing visible rows, or null if there are no visible rows
 
 
- 
isColumnSelectedReturns a boolean value indicating whether the specified column is completely selected.- Specified by:
- isColumnSelectedin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] column - 0 based index of the column for which to determine whether it is selected
- [out] isSelected - true if the specified column is selected completely, and false otherwise
 
 
- 
isRowSelectedReturns a boolean value indicating whether the specified row is completely selected.- Specified by:
- isRowSelectedin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] row - 0 based index of the row for which to determine whether it is selected
- [out] isSelected - true if the specified row is selected completely, and false otherwise
 
 
- 
selectColumnSelects a column.- Specified by:
- selectColumnin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] column - 0 based index of the column to be selected
- [out] result - set to ACC.OKif the column was selected.
 
 
- 
selectRowSelects a row.- Specified by:
- selectRowin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] row - 0 based index of the row to be selected
- [out] result - set to ACC.OKif the row was selected.
 
 
- 
setSelectedColumnSelects a column and deselects all previously selected columns.- Specified by:
- setSelectedColumnin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] column - 0 based index of the column to be selected
- [out] result - set to ACC.OKif the column was selected.
 
 
- 
setSelectedRowSelects a row and deselects all previously selected rows.- Specified by:
- setSelectedRowin interface- AccessibleTableListener
- Parameters:
- e- an event object containing the following fields:- [in] row - 0 based index of the row to be selected
- [out] result - set to ACC.OKif the row was selected.
 
 
 
-