Package org.eclipse.swt.accessibility
Class AccessibleTableCellAdapter
java.lang.Object
org.eclipse.swt.accessibility.AccessibleTableCellAdapter
- All Implemented Interfaces:
- AccessibleTableCellListener
This adapter class provides default implementations for the
 methods in the 
AccessibleTableCellListener interface.
 
 Classes that wish to deal with AccessibleTableCell events can
 extend this class and override only the methods that they are
 interested in.
 
- Since:
- 1.4
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidReturns the column headers as an array of cell accessibles.voidTranslates this cell accessible into the corresponding column index.voidReturns the number of columns occupied by this cell accessible.voidReturns the row headers as an array of cell accessibles.voidTranslates this cell accessible into the corresponding row index.voidReturns the number of rows occupied by this cell accessible.voidReturns the accessible for the table containing this cell.voidReturns a boolean value indicating whether this cell is selected.
- 
Constructor Details- 
AccessibleTableCellAdapterpublic AccessibleTableCellAdapter()
 
- 
- 
Method Details- 
getColumnSpanReturns the number of columns occupied by this cell accessible.This is 1 if the specified cell is only in one column, or more than 1 if the specified cell spans multiple columns. - Specified by:
- getColumnSpanin interface- AccessibleTableCellListener
- Parameters:
- e- an event object containing the following fields:- [out] count - the 1 based number of columns spanned by the specified cell
 
 
- 
getColumnHeadersReturns the column headers as an array of cell accessibles. TODO: doc that this is a more efficient way to get headers of a cell than TableListener.getRow/ColHeaders- Specified by:
- getColumnHeadersin interface- AccessibleTableCellListener
- Parameters:
- e- an event object containing the following fields:- [out] accessibles - an array of cell accessibles, or null if there are no column headers
 
 
- 
getColumnIndexTranslates this cell accessible into the corresponding column index.- Specified by:
- getColumnIndexin interface- AccessibleTableCellListener
- Parameters:
- e- an event object containing the following fields:- [out] index - the 0 based column index of the specified cell, or the index of the first column if the cell spans multiple columns
 
 
- 
getRowSpanReturns the number of rows occupied by this cell accessible.This is 1 if the specified cell is only in one row, or more than 1 if the specified cell spans multiple rows. - Specified by:
- getRowSpanin interface- AccessibleTableCellListener
- Parameters:
- e- an event object containing the following fields:- [out] count - the 1 based number of rows spanned by the specified cell
 
 
- 
getRowHeadersReturns the row headers as an array of cell accessibles. TODO: doc that this is a more efficient way to get headers of a cell than TableListener.getRow/ColHeaders- Specified by:
- getRowHeadersin interface- AccessibleTableCellListener
- Parameters:
- e- an event object containing the following fields:- [out] accessibles - an array of cell accessibles, or null if there are no row headers
 
 
- 
getRowIndexTranslates this cell accessible into the corresponding row index.- Specified by:
- getRowIndexin interface- AccessibleTableCellListener
- Parameters:
- e- an event object containing the following fields:- [out] index - the 0 based row index of the specified cell, or the index of the first row if the cell spans multiple rows
 
 
- 
getTableReturns the accessible for the table containing this cell.- Specified by:
- getTablein interface- AccessibleTableCellListener
- Parameters:
- e- an event object containing the following fields:- [out] accessible - the accessible for the containing table
 
 
- 
isSelectedReturns a boolean value indicating whether this cell is selected.- Specified by:
- isSelectedin interface- AccessibleTableCellListener
- Parameters:
- e- an event object containing the following fields:- [out] isSelected - true if the specified cell is selected and false otherwise
 
 
 
-