bibliothek.gui.dock.util.laf
Class DefaultLookAndFeelColors

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

public class DefaultLookAndFeelColors
extends AbstractLookAndFeelColors

The set of colors used when no specialiced set has been specified.

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, WINDOW_BORDER
 
Constructor Summary
DefaultLookAndFeelColors()
          Creates a new object.
 
Method Summary
 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.
 
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

DefaultLookAndFeelColors

public DefaultLookAndFeelColors()
Creates a new object.

Method Detail

getColor

public java.awt.Color getColor(java.lang.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

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.