|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.decorator.Highlighter
org.jdesktop.swingx.decorator.HierarchicalColumnHighlighter
public class HierarchicalColumnHighlighter
HierarchicalColumnHighlighter
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jdesktop.swingx.decorator.Highlighter |
---|
Highlighter.UIHighlighter |
Field Summary |
---|
Fields inherited from class org.jdesktop.swingx.decorator.Highlighter |
---|
changeEvent, immutable, ledgerBackground, listenerList, notePadBackground |
Constructor Summary | |
---|---|
HierarchicalColumnHighlighter()
|
|
HierarchicalColumnHighlighter(java.awt.Color background,
java.awt.Color foreground)
|
Method Summary | |
---|---|
protected java.awt.Color |
computeBackground(java.awt.Component component,
ComponentAdapter adapter)
Computes a suitable background for the renderer component within the specified adapter and returns the computed color. |
protected java.awt.Color |
computeBackgroundSeed(java.awt.Color seed)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HierarchicalColumnHighlighter()
public HierarchicalColumnHighlighter(java.awt.Color background, java.awt.Color foreground)
Method Detail |
---|
protected java.awt.Color computeBackground(java.awt.Component component, ComponentAdapter adapter)
Highlighter
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.
computeBackground
in class Highlighter
component
- the cell renderer component that is to be decoratedadapter
- the ComponentAdapter
for this decorate operation
protected java.awt.Color computeBackgroundSeed(java.awt.Color seed)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |