bibliothek.gui.dock.themes.color
Class StationPaintColor
java.lang.Object
bibliothek.gui.dock.util.color.AbstractDockColor
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
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 |
StationPaintColor
public StationPaintColor(String id,
Class<? extends DockColor> kind,
StationPaint paint,
Color backup)
- Creates a new
DockColor
- Parameters:
id
- the identifier of this colorkind
- what kind of color this ispaint
- the StationPaint
that uses this colorbackup
- a backup used when no color was found
getPaint
public StationPaint getPaint()
- Gets the
StationPaint
that uses this color.
- Returns:
- the paint that uses
this