Top Description Constructors Methods
org.eclipse.swt.accessibility

public Class AccessibleTableCellAdapter

extends Object
implements AccessibleTableCellListener
Class Inheritance
All Implemented Interfaces
org.eclipse.swt.accessibility.AccessibleTableCellListener, org.eclipse.swt.internal.SWTEventListener, java.util.EventListener

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
3.6
See Also
AccessibleTableCellListener, AccessibleTableCellEvent

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
getColumnHeaders(AccessibleTableCellEvent
an event object containing the following fields:
  • [out] accessibles - an array of cell accessibles, or null if there are no column headers
e
)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getColumnHeaders.

Returns the column headers as an array of cell accessibles.
public void
getColumnIndex(AccessibleTableCellEvent
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
e
)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getColumnIndex.

Translates this cell accessible into the corresponding column index.
public void
getColumnSpan(AccessibleTableCellEvent
an event object containing the following fields:
  • [out] count - the 1 based number of columns spanned by the specified cell
e
)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getColumnSpan.

Returns the number of columns occupied by this cell accessible.
public void
getRowHeaders(AccessibleTableCellEvent
an event object containing the following fields:
  • [out] accessibles - an array of cell accessibles, or null if there are no row headers
e
)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getRowHeaders.

Returns the row headers as an array of cell accessibles.
public void
getRowIndex(AccessibleTableCellEvent
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
e
)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getRowIndex.

Translates this cell accessible into the corresponding row index.
public void
getRowSpan(AccessibleTableCellEvent
an event object containing the following fields:
  • [out] count - the 1 based number of rows spanned by the specified cell
e
)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getRowSpan.

Returns the number of rows occupied by this cell accessible.
public void
getTable(AccessibleTableCellEvent
an event object containing the following fields:
  • [out] accessible - the accessible for the containing table
e
)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getTable.

Returns the accessible for the table containing this cell.
public void
isSelected(AccessibleTableCellEvent
an event object containing the following fields:
  • [out] isSelected - true if the specified cell is selected and false otherwise
e
)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.isSelected.

Returns a boolean value indicating whether this cell is selected.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AccessibleTableCellAdapterback to summary
public AccessibleTableCellAdapter()

Method Detail

getColumnHeadersback to summary
public void getColumnHeaders(AccessibleTableCellEvent e)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getColumnHeaders.

Returns 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

Parameters
e:AccessibleTableCellEvent

an event object containing the following fields:

  • [out] accessibles - an array of cell accessibles, or null if there are no column headers
Annotations
@Override
getColumnIndexback to summary
public void getColumnIndex(AccessibleTableCellEvent e)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getColumnIndex.

Translates this cell accessible into the corresponding column index.

Parameters
e:AccessibleTableCellEvent

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
Annotations
@Override
getColumnSpanback to summary
public void getColumnSpan(AccessibleTableCellEvent e)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getColumnSpan.

Returns 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.

Parameters
e:AccessibleTableCellEvent

an event object containing the following fields:

  • [out] count - the 1 based number of columns spanned by the specified cell
Annotations
@Override
getRowHeadersback to summary
public void getRowHeaders(AccessibleTableCellEvent e)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getRowHeaders.

Returns 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

Parameters
e:AccessibleTableCellEvent

an event object containing the following fields:

  • [out] accessibles - an array of cell accessibles, or null if there are no row headers
Annotations
@Override
getRowIndexback to summary
public void getRowIndex(AccessibleTableCellEvent e)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getRowIndex.

Translates this cell accessible into the corresponding row index.

Parameters
e:AccessibleTableCellEvent

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
Annotations
@Override
getRowSpanback to summary
public void getRowSpan(AccessibleTableCellEvent e)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getRowSpan.

Returns 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.

Parameters
e:AccessibleTableCellEvent

an event object containing the following fields:

  • [out] count - the 1 based number of rows spanned by the specified cell
Annotations
@Override
getTableback to summary
public void getTable(AccessibleTableCellEvent e)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.getTable.

Returns the accessible for the table containing this cell.

Parameters
e:AccessibleTableCellEvent

an event object containing the following fields:

  • [out] accessible - the accessible for the containing table
Annotations
@Override
isSelectedback to summary
public void isSelected(AccessibleTableCellEvent e)

Implements org.eclipse.swt.accessibility.AccessibleTableCellListener.isSelected.

Returns a boolean value indicating whether this cell is selected.

Parameters
e:AccessibleTableCellEvent

an event object containing the following fields:

  • [out] isSelected - true if the specified cell is selected and false otherwise
Annotations
@Override