Package org.eclipse.jface.viewers
Class TableViewerFocusCellManager
java.lang.Object
org.eclipse.jface.viewers.TableViewerFocusCellManager
This class is responsible to provide the concept of cells for
Table.
This concept is needed to provide features like editor activation with the
keyboard- Since:
- 3.3
-
Constructor Summary
ConstructorsConstructorDescriptionTableViewerFocusCellManager(TableViewer viewer, FocusCellHighlighter focusDrawingDelegate) Create a new manager with a default navigation strategy:SWT.ARROW_UP: navigate to cell aboveSWT.ARROW_DOWN: navigate to cell belowSWT.ARROW_RIGHT: navigate to next visible cell on the rightSWT.ARROW_LEFT: navigate to next visible cell on the leftTableViewerFocusCellManager(TableViewer viewer, FocusCellHighlighter focusDrawingDelegate, CellNavigationStrategy navigationStrategy) Create a new manager -
Method Summary
-
Constructor Details
-
TableViewerFocusCellManager
Create a new manager with a default navigation strategy:SWT.ARROW_UP: navigate to cell aboveSWT.ARROW_DOWN: navigate to cell belowSWT.ARROW_RIGHT: navigate to next visible cell on the rightSWT.ARROW_LEFT: navigate to next visible cell on the left
- Parameters:
viewer- the viewer the manager is bound tofocusDrawingDelegate- the delegate responsible to highlight selected cell
-
-
Method Details
-
getFocusCell
- Returns:
- the cell with the focus
-