public static class HighlighterFactory.UIColorHighlighter extends ColorHighlighter implements UIDependent
listenerList
Constructor and Description |
---|
UIColorHighlighter()
Instantiates a ColorHighlighter with LF provided unselected
background and default predicate.
|
UIColorHighlighter(HighlightPredicate odd)
Instantiates a ColorHighlighter with LF provided unselected
background and the given predicate.
|
Modifier and Type | Method and Description |
---|---|
private Color |
getUIColor()
Looks up and returns the LF specific color to use for striping
background highlighting.
|
void |
updateUI()
Updates all internal visuals after changing a UI-delegate.
|
applyBackground, applyForeground, doHighlight, getBackground, getForeground, getSelectedBackground, getSelectedForeground, setBackground, setForeground, setSelectedBackground, setSelectedForeground
addChangeListener, areEqual, canHighlight, fireStateChanged, getChangeListeners, getHighlightPredicate, highlight, removeChangeListener, setHighlightPredicate
public UIColorHighlighter()
public UIColorHighlighter(HighlightPredicate odd)
odd
- the predicate to usepublic void updateUI()
UIDependent
updateUI
in interface UIDependent
JComponent.updateUI()
private Color getUIColor()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses