org.jdesktop.swingx.decorator
Class HierarchicalColumnHighlighter

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

Deprecated. use a ColorHighlighter with a ColumnHighlightPredicate.

public class HierarchicalColumnHighlighter
extends LegacyHighlighter

HierarchicalColumnHighlighter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.swingx.decorator.LegacyHighlighter
LegacyHighlighter.UIHighlighter
 
Field Summary
 
Fields inherited from class org.jdesktop.swingx.decorator.LegacyHighlighter
immutable, ledgerBackground, notePadBackground
 
Fields inherited from class org.jdesktop.swingx.decorator.AbstractHighlighter
listenerList
 
Constructor Summary
HierarchicalColumnHighlighter()
          Deprecated.  
HierarchicalColumnHighlighter(Color background, Color foreground)
          Deprecated.  
 
Method Summary
protected  Color computeBackground(Component component, ComponentAdapter adapter)
          Deprecated. Computes a suitable background for the renderer component within the specified adapter and returns the computed color.
protected  Color computeBackgroundSeed(Color seed)
          Deprecated.  
 
Methods inherited from class org.jdesktop.swingx.decorator.LegacyHighlighter
addChangeListener, applyBackground, applyForeground, computeForeground, computeSelectedBackground, computeSelectedBackground, computeSelectedForeground, computeSelectedForeground, computeUnselectedBackground, computeUnselectedForeground, doHighlight, getBackground, getForeground, getSelectedBackground, getSelectedForeground, highlight, isImmutable, setBackground, setForeground, setSelectedBackground, setSelectedForeground
 
Methods inherited from class org.jdesktop.swingx.decorator.AbstractHighlighter
fireStateChanged, getChangeListeners, getHighlightPredicate, removeChangeListener, setHighlightPredicate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HierarchicalColumnHighlighter

public HierarchicalColumnHighlighter()
Deprecated. 

HierarchicalColumnHighlighter

public HierarchicalColumnHighlighter(Color background,
                                     Color foreground)
Deprecated. 
Method Detail

computeBackground

protected Color computeBackground(Component component,
                                  ComponentAdapter adapter)
Deprecated. 
Description copied from class: LegacyHighlighter

Computes a suitable background for the renderer component within the specified adapter and returns the computed color.

In this implementation the returned color depends on isSelected: it will return computSelected/-UnselectedBackground, respectively.

Overrides:
computeBackground in class LegacyHighlighter
Parameters:
component - the cell renderer component that is to be decorated
adapter - the ComponentAdapter for this decorate operation
Returns:
a suitable background color for the specified component and adapter

computeBackgroundSeed

protected Color computeBackgroundSeed(Color seed)
Deprecated.