swingx
Version 2005-08-19

org.jdesktop.swingx.decorator
Class RolloverHighlighter

java.lang.Object
  extended by org.jdesktop.swingx.decorator.Highlighter
      extended by org.jdesktop.swingx.decorator.ConditionalHighlighter
          extended by org.jdesktop.swingx.decorator.RolloverHighlighter

public class RolloverHighlighter
extends ConditionalHighlighter


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.ConditionalHighlighter
highlightColumn, mask, testColumn
 
Fields inherited from class org.jdesktop.swingx.decorator.Highlighter
changeEvent, immutable, ledgerBackground, listenerList, notePadBackground
 
Constructor Summary
RolloverHighlighter(Color cellBackground, Color cellForeground)
           
 
Method Summary
protected  boolean test(ComponentAdapter adapter)
          Tests if the cell identified by the specified adapter should actually be highlighted, and returns true if so; otherwise, it returns false.
 
Methods inherited from class org.jdesktop.swingx.decorator.ConditionalHighlighter
computeSelectedForeground, doMask, getHighlightColumnIndex, getMask, getTestColumnIndex, highlight, maskBackground, maskForeground, needsHighlight, setHighlightColumnIndex, setMask, setTestColumnIndex
 
Methods inherited from class org.jdesktop.swingx.decorator.Highlighter
addChangeListener, applyBackground, applyForeground, computeBackground, computeForeground, computeSelectedBackground, computeSelectedBackground, computeSelectedForeground, computeUnselectedBackground, computeUnselectedForeground, doHighlight, fireStateChanged, getBackground, getChangeListeners, getForeground, getSelectedBackground, getSelectedForeground, isImmutable, removeChangeListener, setBackground, setForeground, setSelectedBackground, setSelectedForeground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolloverHighlighter

public RolloverHighlighter(Color cellBackground,
                           Color cellForeground)
Method Detail

test

protected boolean test(ComponentAdapter adapter)
Description copied from class: ConditionalHighlighter
Tests if the cell identified by the specified adapter should actually be highlighted, and returns true if so; otherwise, it returns false.

Specified by:
test in class ConditionalHighlighter
Returns:
true if the test succeeds; false otherwise

swingx
Version 2005-08-19