Eclipse Platform
Release 3.3

org.eclipse.jface.viewers
Class FocusCellOwnerDrawHighlighter

java.lang.Object
  extended byorg.eclipse.jface.viewers.FocusCellHighlighter
      extended byorg.eclipse.jface.viewers.FocusCellOwnerDrawHighlighter

public class FocusCellOwnerDrawHighlighter
extends FocusCellHighlighter

Since:
3.3

Constructor Summary
FocusCellOwnerDrawHighlighter(ColumnViewer viewer)
           
 
Method Summary
protected  void focusCellChanged(ViewerCell cell)
          Called by the framework when the focus cell has changed.
protected  Color getSelectedCellBackgroundColor(ViewerCell cell)
           
protected  Color getSelectedCellForegroundColor(ViewerCell cell)
           
 
Methods inherited from class org.eclipse.jface.viewers.FocusCellHighlighter
getFocusCell, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FocusCellOwnerDrawHighlighter

public FocusCellOwnerDrawHighlighter(ColumnViewer viewer)
Parameters:
viewer - the viewer
Method Detail

getSelectedCellBackgroundColor

protected Color getSelectedCellBackgroundColor(ViewerCell cell)
Parameters:
cell - the cell which is colored
Returns:
the color

getSelectedCellForegroundColor

protected Color getSelectedCellForegroundColor(ViewerCell cell)
Parameters:
cell - the cell which is colored
Returns:
the color

focusCellChanged

protected void focusCellChanged(ViewerCell cell)
Description copied from class: FocusCellHighlighter
Called by the framework when the focus cell has changed. Subclasses may extend.

Overrides:
focusCellChanged in class FocusCellHighlighter
Parameters:
cell - the new focus cell

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.