bibliothek.gui.dock.themes.color
Class StationPaintColor
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<Color,DockColor>
bibliothek.gui.dock.util.color.AbstractDockColor
bibliothek.gui.dock.themes.color.StationPaintColor
- All Implemented Interfaces:
- DockColor, UIValue<Color>
public abstract class StationPaintColor
- extends AbstractDockColor
A color used by a StationPaint
.
- Author:
- Benjamin Sigg
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 |
KIND_STATION_PAINT_COLOR
public static final Path KIND_STATION_PAINT_COLOR
- the kind of color
StationPaintColor
is
StationPaintColor
public StationPaintColor(String id,
Path 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
StationPaintColor
public StationPaintColor(String id,
StationPaint paint,
Color backup)
- Creates a new
DockColor
- Parameters:
id
- the identifier of this colorpaint
- 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