public class DefaultLabelColorScheme extends java.lang.Object implements LabelColorScheme
DefaultLabelColorScheme uses colors that are appropriate
  for rendering a JSelectableLabel in a JTree.| Modifier and Type | Field and Description | 
|---|---|
protected java.awt.Color | 
_backgroundNonSelectionColor  | 
protected java.awt.Color | 
_backgroundSelectionColor  | 
protected java.awt.Color | 
_borderSelectionColor  | 
protected java.awt.Color | 
_textNonSelectionColor  | 
protected java.awt.Color | 
_textSelectionColor  | 
| Constructor and Description | 
|---|
DefaultLabelColorScheme()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
_loadColors()  | 
java.awt.Color | 
getBackgroundNonSelectionColor()
Returns the  
Color to be used for the background when
  the label is not selected. | 
java.awt.Color | 
getBackgroundSelectionColor()
Returns the  
Color to be used for the background when
  the label is selected. | 
java.awt.Color | 
getBorderSelectionColor()
Returns the  
Color to be used for the border around
  the selection when the label is selected. | 
java.awt.Color | 
getTextNonSelectionColor()
Returns the  
Color to be used for text when the label
  is not selected. | 
java.awt.Color | 
getTextSelectionColor()
Returns the  
Color to be used for text when the label
  is selected. | 
void | 
updateUI()
The  
JComponent subclass that uses the
  LabelColorScheme should call this updateUI()
  method when its own updateUI() method is called. | 
protected java.awt.Color _textSelectionColor
protected java.awt.Color _textNonSelectionColor
protected java.awt.Color _backgroundSelectionColor
protected java.awt.Color _backgroundNonSelectionColor
protected java.awt.Color _borderSelectionColor
public java.awt.Color getTextSelectionColor()
LabelColorSchemeColor to be used for text when the label
  is selected.getTextSelectionColor in interface LabelColorSchemepublic java.awt.Color getTextNonSelectionColor()
LabelColorSchemeColor to be used for text when the label
  is not selected.getTextNonSelectionColor in interface LabelColorSchemepublic java.awt.Color getBackgroundSelectionColor()
LabelColorSchemeColor to be used for the background when
  the label is selected.getBackgroundSelectionColor in interface LabelColorSchemepublic java.awt.Color getBackgroundNonSelectionColor()
LabelColorSchemeColor to be used for the background when
  the label is not selected.getBackgroundNonSelectionColor in interface LabelColorSchemepublic java.awt.Color getBorderSelectionColor()
LabelColorSchemeColor to be used for the border around
  the selection when the label is selected.getBorderSelectionColor in interface LabelColorSchemepublic void updateUI()
LabelColorSchemeJComponent subclass that uses the
  LabelColorScheme should call this updateUI()
  method when its own updateUI() method is called.  This
  is so that the color scheme can be updated when the user changes the
  look-and-feel.updateUI in interface LabelColorSchemeprotected void _loadColors()