public abstract class StationColor extends AbstractDockColor
DockStation.| Modifier and Type | Field and Description |
|---|---|
static Path |
KIND_STATION_COLOR
the path describing this kind of color
|
KIND_DOCK_COLOR| Constructor and Description |
|---|
StationColor(String id,
DockStation station,
Color backup)
Creates a new
DockColor. |
StationColor(String id,
Path kind,
DockStation station,
Color backup)
Creates a new
DockColor. |
| Modifier and Type | Method and Description |
|---|---|
DockStation |
getStation()
Gets the
DockStation for which this color is used. |
color, connect, mechanged, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, valuepublic static final Path KIND_STATION_COLOR
public StationColor(String id, Path kind, DockStation station, Color backup)
DockColor.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 missingpublic StationColor(String id, DockStation station, Color backup)
DockColor.id - the identifier of this colorstation - the station for which this color will be usedbackup - a backup in case a color is missingpublic DockStation getStation()
DockStation for which this color is used.nullCopyright © 2017 Docking Frames. All rights reserved.