Package org.eclipse.jface.viewers
Class FocusCellHighlighter
java.lang.Object
org.eclipse.jface.viewers.FocusCellHighlighter
- Direct Known Subclasses:
FocusCellOwnerDrawHighlighter
- Since:
- 3.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
focusCellChanged
(ViewerCell cell) Deprecated.protected void
focusCellChanged
(ViewerCell newCell, ViewerCell oldCell) Called by the framework when the focus cell has changed.protected void
init()
This method is called by the framework to initialize this cell highlighter object.
-
Constructor Details
-
FocusCellHighlighter
- Parameters:
viewer
- the attached viewer
-
-
Method Details
-
getFocusCell
- Returns:
- the focus cell
-
focusCellChanged
Deprecated.usefocusCellChanged(ViewerCell, ViewerCell)
insteadCalled by the framework when the focus cell has changed. Subclasses may extend.- Parameters:
cell
- the new focus cell ornull
if no new cell receives the focus
-
focusCellChanged
Called by the framework when the focus cell has changed. Subclasses may extend.The default implementation for this method calls focusCellChanged(ViewerCell). Subclasses should override this method rather than
focusCellChanged(ViewerCell)
.- Parameters:
newCell
- the new focus cell ornull
if no new cell receives the focusoldCell
- the old focus cell ornull
if no cell has been focused before- Since:
- 3.4
-
init
protected void init()This method is called by the framework to initialize this cell highlighter object. Subclasses may extend.
-
focusCellChanged(ViewerCell, ViewerCell)
instead