public abstract class StationPaintColor extends AbstractDockColor
StationPaint
.Modifier and Type | Field and Description |
---|---|
static Path |
KIND_STATION_PAINT_COLOR
the kind of color
StationPaintColor is |
KIND_DOCK_COLOR
Constructor and Description |
---|
StationPaintColor(java.lang.String id,
Path kind,
StationPaint paint,
java.awt.Color backup)
Creates a new
DockColor |
StationPaintColor(java.lang.String id,
StationPaint paint,
java.awt.Color backup)
Creates a new
DockColor |
Modifier and Type | Method and Description |
---|---|
StationPaint |
getPaint()
Gets the
StationPaint that uses this color. |
color, connect, me
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value
public static final Path KIND_STATION_PAINT_COLOR
StationPaintColor
ispublic StationPaintColor(java.lang.String id, Path kind, StationPaint paint, java.awt.Color backup)
DockColor
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 foundpublic StationPaintColor(java.lang.String id, StationPaint paint, java.awt.Color backup)
DockColor
id
- the identifier of this colorpaint
- the StationPaint
that uses this colorbackup
- a backup used when no color was foundpublic StationPaint getPaint()
StationPaint
that uses this color.this