public abstract class AbstractDockColor extends AbstractUIValue<java.awt.Color,DockColor> implements DockColor
DockColor
that contains more than one Color
:
ColorManager
ColorManager
.KIND_DOCK_COLOR
Constructor and Description |
---|
AbstractDockColor(java.lang.String id)
Creates a new
DockColor . |
AbstractDockColor(java.lang.String id,
Path kind)
Creates a new
DockColor . |
AbstractDockColor(java.lang.String id,
Path kind,
java.awt.Color backup)
Creates a new
DockColor . |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
color()
Gets the first non-
null value of the list
override , value , backup . |
void |
connect(DockController controller)
|
protected DockColor |
me()
Returns
this . |
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value
public AbstractDockColor(java.lang.String id)
DockColor
.id
- the id of the color for which this
should listenpublic AbstractDockColor(java.lang.String id, Path kind)
DockColor
.id
- the id of the color for which this
should listenkind
- the kind of DockColor
this isprotected DockColor me()
AbstractUIValue
this
. This method can only be implemented when
the generic boundaries are met, so this methods ensures that this
is really an U
, or abstract
.me
in class AbstractUIValue<java.awt.Color,DockColor>
this
public void connect(DockController controller)
controller
- the owner of this DockColor
or null
public java.awt.Color color()
null
value of the list
override
, value
, backup
.null