public class Windows extends AbstractLookAndFeelColors
SystemColor
s.listeners
CONTROL_SHADOW, PANEL_BACKGROUND, PANEL_FOREGROUND, SELECTION, TITLE_BACKGROUND, TITLE_FOREGROUND, TITLE_SELECTION_BACKGROUND, TITLE_SELECTION_FOREGROUND, WINDOW_BORDER
Constructor and Description |
---|
Windows()
Creates the new
LookAndFeelColors |
Modifier and Type | Method and Description |
---|---|
void |
bind()
Called when this objects gets activated.
|
java.awt.Color |
getColor(java.lang.String key)
Searches for a color respecting the properties of the current
LookAndFeel.
|
void |
unbind()
Called when this objects gets deactivated.
|
addListener, fireColorChanged, fireColorsChanged, removeListener
public Windows()
LookAndFeelColors
public void bind()
LookAndFeelColors
public void unbind()
LookAndFeelColors
public java.awt.Color getColor(java.lang.String key)
LookAndFeelColors
key
- one of the string keys defined in this interface, clients
may extend the set of keys.key
or null