bibliothek.gui.dock.themes.color
Class DisplayerColor

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

public abstract class DisplayerColor
extends AbstractDockColor

A color used on a DockableDisplayer.

Author:
Benjamin Sigg

Field Summary
static Path KIND_DISPLAYER_COLOR
          the kind of color DisplayerColor is
 
Fields inherited from interface bibliothek.gui.dock.util.color.DockColor
KIND_DOCK_COLOR
 
Constructor Summary
DisplayerColor(java.lang.String id, DockableDisplayer displayer, java.awt.Color backup)
          Creates a new DisplayerColor
DisplayerColor(java.lang.String id, Path kind, DockableDisplayer displayer, java.awt.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, setValue, update, 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
 

Field Detail

KIND_DISPLAYER_COLOR

public static final Path KIND_DISPLAYER_COLOR
the kind of color DisplayerColor is

Constructor Detail

DisplayerColor

public DisplayerColor(java.lang.String id,
                      Path kind,
                      DockableDisplayer displayer,
                      java.awt.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

DisplayerColor

public DisplayerColor(java.lang.String id,
                      DockableDisplayer displayer,
                      java.awt.Color backup)
Creates a new DisplayerColor

Parameters:
id - the identifier of the color
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