bibliothek.gui.dock.themes.color
Class StationColor
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<Color,DockColor>
bibliothek.gui.dock.util.color.AbstractDockColor
bibliothek.gui.dock.themes.color.StationColor
- All Implemented Interfaces:
- DockColor, UIValue<Color>
public abstract class StationColor
- extends AbstractDockColor
A color used for painting a DockStation
.
- Author:
- Benjamin Sigg
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 |
KIND_STATION_COLOR
public static final Path KIND_STATION_COLOR
- the path describing this kind of color
StationColor
public StationColor(String id,
Path kind,
DockStation station,
Color backup)
- Creates a new
DockColor
.
- Parameters:
id
- the identifier of this colorkind
- which kind of color this isstation
- the station for which this color will be usedbackup
- a backup in case a color is missing
StationColor
public StationColor(String id,
DockStation station,
Color backup)
- Creates a new
DockColor
.
- Parameters:
id
- the identifier of this colorstation
- the station for which this color will be usedbackup
- a backup in case a color is missing
getStation
public DockStation getStation()
- Gets the
DockStation
for which this color is used.
- Returns:
- the station, not
null