bibliothek.gui.dock.util.laf
Class Windows

java.lang.Object
  extended by bibliothek.gui.dock.util.laf.AbstractLookAndFeelColors
      extended by bibliothek.gui.dock.util.laf.Windows
All Implemented Interfaces:
LookAndFeelColors

public class Windows
extends AbstractLookAndFeelColors

A set of colors derived from SystemColors.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from class bibliothek.gui.dock.util.laf.AbstractLookAndFeelColors
listeners
 
Fields inherited from interface bibliothek.gui.dock.util.laf.LookAndFeelColors
CONTROL_SHADOW, PANEL_BACKGROUND, PANEL_FOREGROUND, SELECTION, TITLE_BACKGROUND, TITLE_FOREGROUND, TITLE_SELECTION_BACKGROUND, TITLE_SELECTION_FOREGROUND
 
Constructor Summary
Windows()
          Creates the new LookAndFeelColors
 
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 bibliothek.gui.dock.util.laf.AbstractLookAndFeelColors
addListener, fireColorChanged, fireColorsChanged, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Windows

public Windows()
Creates the new LookAndFeelColors

Method Detail

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