org.jdesktop.swingx.decorator
Class HierarchicalColumnHighlighter
java.lang.Object
org.jdesktop.swingx.decorator.AbstractHighlighter
org.jdesktop.swingx.decorator.LegacyHighlighter
org.jdesktop.swingx.decorator.HierarchicalColumnHighlighter
- All Implemented Interfaces:
- Highlighter
Deprecated. use a ColorHighlighter with a ColumnHighlightPredicate.
public class HierarchicalColumnHighlighter
- extends LegacyHighlighter
HierarchicalColumnHighlighter
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HierarchicalColumnHighlighter
public HierarchicalColumnHighlighter()
- Deprecated.
HierarchicalColumnHighlighter
public HierarchicalColumnHighlighter(Color background,
Color foreground)
- Deprecated.
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 decoratedadapter
- the ComponentAdapter
for this decorate operation
- Returns:
- a suitable background color for the specified component and adapter
computeBackgroundSeed
protected Color computeBackgroundSeed(Color seed)
- Deprecated.