Package org.jdesktop.swingx.decorator
Class HighlighterFactory.UIColorHighlighter
java.lang.Object
org.jdesktop.swingx.decorator.AbstractHighlighter
org.jdesktop.swingx.decorator.ColorHighlighter
org.jdesktop.swingx.decorator.HighlighterFactory.UIColorHighlighter
- All Implemented Interfaces:
Highlighter,UIDependent
- Enclosing class:
HighlighterFactory
public static class HighlighterFactory.UIColorHighlighter
extends ColorHighlighter
implements UIDependent
A ColorHighlighter with UI-dependent background.
PENDING JW: internally install a AND predicate to check for LFs
which provide striping on the UI-Delegate level?
-
Field Summary
Fields inherited from class org.jdesktop.swingx.decorator.AbstractHighlighter
listenerList -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a ColorHighlighter with LF provided unselected background and default predicate.Instantiates a ColorHighlighter with LF provided unselected background and the given predicate. -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateUI()Updates all internal visuals after changing a UI-delegate.Methods inherited from class org.jdesktop.swingx.decorator.ColorHighlighter
applyBackground, applyForeground, doHighlight, getBackground, getForeground, getSelectedBackground, getSelectedForeground, setBackground, setForeground, setSelectedBackground, setSelectedForegroundMethods inherited from class org.jdesktop.swingx.decorator.AbstractHighlighter
addChangeListener, areEqual, canHighlight, fireStateChanged, getChangeListeners, getHighlightPredicate, highlight, removeChangeListener, setHighlightPredicate
-
Constructor Details
-
UIColorHighlighter
public UIColorHighlighter()Instantiates a ColorHighlighter with LF provided unselected background and default predicate. All other colors are null. -
UIColorHighlighter
Instantiates a ColorHighlighter with LF provided unselected background and the given predicate. All other colors are null.- Parameters:
odd- the predicate to use
-
-
Method Details
-
updateUI
public void updateUI()Description copied from interface:UIDependentUpdates all internal visuals after changing a UI-delegate.- Specified by:
updateUIin interfaceUIDependent- See Also:
-