bibliothek.gui.dock.themes.color
Class DisplayerColor

java.lang.Object
  extended by bibliothek.gui.dock.util.color.AbstractDockColor
      extended by bibliothek.gui.dock.themes.color.DisplayerColor
All Implemented Interfaces:
DockColor

public abstract class DisplayerColor
extends AbstractDockColor

A color used on a DockableDisplayer.

Author:
Benjamin Sigg

Constructor Summary
DisplayerColor(String id, Class<? extends DockColor> kind, DockableDisplayer displayer, Color backup)
          Creates a new DisplayerColor
 
Method Summary
 DockableDisplayer getDisplayer()
          Gets the element for which this color is used.
 
Methods inherited from class bibliothek.gui.dock.util.color.AbstractDockColor
changed, color, connect, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayerColor

public DisplayerColor(String id,
                      Class<? extends DockColor> kind,
                      DockableDisplayer displayer,
                      Color backup)
Creates a new DisplayerColor

Parameters:
id - the identifier of the color
kind - which kind of color this is
displayer - the element for which the color is used
backup - a backup color
Method Detail

getDisplayer

public DockableDisplayer getDisplayer()
Gets the element for which this color is used.

Returns:
the element