bibliothek.gui.dock.themes.color
Class DisplayerColor

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<Color,DockColor>
      extended by bibliothek.gui.dock.util.color.AbstractDockColor
          extended by bibliothek.gui.dock.themes.color.DisplayerColor
All Implemented Interfaces:
DockColor, UIValue<Color>

public abstract class DisplayerColor
extends AbstractDockColor

A color used on a DockableDisplayer.

Author:
Benjamin Sigg

Constructor Summary
DisplayerColor(String id, Class<? extends AbstractDockColor> 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
color, connect, me
 
Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.util.UIValue
set
 

Constructor Detail

DisplayerColor

public DisplayerColor(String id,
                      Class<? extends AbstractDockColor> 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