bibliothek.gui.dock.themes.color
Class StationPaintColor

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

public abstract class StationPaintColor
extends AbstractDockColor

A color used by a StationPaint.

Author:
Benjamin Sigg

Constructor Summary
StationPaintColor(String id, Class<? extends DockColor> kind, StationPaint paint, Color backup)
          Creates a new DockColor
 
Method Summary
 StationPaint getPaint()
          Gets the StationPaint that uses this color.
 
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

StationPaintColor

public StationPaintColor(String id,
                         Class<? extends DockColor> kind,
                         StationPaint paint,
                         Color backup)
Creates a new DockColor

Parameters:
id - the identifier of this color
kind - what kind of color this is
paint - the StationPaint that uses this color
backup - a backup used when no color was found
Method Detail

getPaint

public StationPaint getPaint()
Gets the StationPaint that uses this color.

Returns:
the paint that uses this