org.jdesktop.swingx.decorator
Class ShadingColorHighlighter

java.lang.Object
  extended by org.jdesktop.swingx.decorator.AbstractHighlighter
      extended by org.jdesktop.swingx.decorator.ColorHighlighter
          extended by org.jdesktop.swingx.decorator.ShadingColorHighlighter
All Implemented Interfaces:
Highlighter

public class ShadingColorHighlighter
extends ColorHighlighter

Experimental replacement of HierarchicalColumnHighligher. Darkens the component's background.

Author:
Jeanette Winzenburg

Constructor Summary
ShadingColorHighlighter()
          Instantiates a Highlighter with null colors using the default HighlightPredicate.
ShadingColorHighlighter(HighlightPredicate predicate)
          Instantiates a Highlighter with null colors using the specified HighlightPredicate.
 
Method Summary
 
Methods inherited from class org.jdesktop.swingx.decorator.ColorHighlighter
getBackground, getForeground, getSelectedBackground, getSelectedForeground, setBackground, setForeground, setSelectedBackground, setSelectedForeground
 
Methods inherited from class org.jdesktop.swingx.decorator.AbstractHighlighter
addChangeListener, getChangeListeners, getHighlightPredicate, highlight, removeChangeListener, setHighlightPredicate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadingColorHighlighter

public ShadingColorHighlighter()
Instantiates a Highlighter with null colors using the default HighlightPredicate.


ShadingColorHighlighter

public ShadingColorHighlighter(HighlightPredicate predicate)
Instantiates a Highlighter with null colors using the specified HighlightPredicate.

Parameters:
predicate - the HighlightPredicate to use.