bibliothek.gui.dock.util.laf
Class Nimbus6u10

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

public class Nimbus6u10
extends AbstractLookAndFeelColors

Access to the colors of the Nimbus LookAndFeel.

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
Nimbus6u10()
          Creates a new object.
 
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 put(String colorKey, String lafKey)
          Tells this Nimbus6u10 that the color colorKey should be read from the UIManager using lafKey as key.
 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

Nimbus6u10

public Nimbus6u10()
Creates a new object.

Method Detail

put

public void put(String colorKey,
                String lafKey)
Tells this Nimbus6u10 that the color colorKey should be read from the UIManager using lafKey as key.

Parameters:
colorKey - name of a color
lafKey - key used by the UIManager

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

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.