bibliothek.gui.dock.util.laf
Class Windows
java.lang.Object
bibliothek.gui.dock.util.laf.AbstractLookAndFeelColors
bibliothek.gui.dock.util.laf.Windows
- All Implemented Interfaces:
- LookAndFeelColors
public class Windows
- extends AbstractLookAndFeelColors
A set of colors derived from SystemColor
s.
- Author:
- Benjamin Sigg
Method Summary |
void |
bind()
Called when this objects gets activated. |
Color |
getColor(String key)
Searches for a color respecting the properties of the current
LookAndFeel. |
void |
unbind()
Called when this objects gets deactivated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Windows
public Windows()
- Creates the new
LookAndFeelColors
bind
public void bind()
- Description copied from interface:
LookAndFeelColors
- Called when this objects gets activated. The object may now register
listeners or do other resource hungry stuff.
unbind
public void unbind()
- Description copied from interface:
LookAndFeelColors
- Called when this objects gets deactivated. The object may now
unregister listeners and free resources.
getColor
public Color getColor(String key)
- Description copied from interface:
LookAndFeelColors
- Searches for a color respecting the properties of the current
LookAndFeel.
- Parameters:
key
- one of the string keys defined in this interface, clients
may extend the set of keys.
- Returns:
- the color that matches
key
or null