public abstract class AbstractDockColor extends AbstractUIValue<Color,DockColor> implements DockColor
DockColor that contains more than one Color:
ColorManagerColorManager.KIND_DOCK_COLOR| Constructor and Description |
|---|
AbstractDockColor(String id)
Creates a new
DockColor. |
AbstractDockColor(String id,
Path kind)
Creates a new
DockColor. |
AbstractDockColor(String id,
Path kind,
Color backup)
Creates a new
DockColor. |
| Modifier and Type | Method and Description |
|---|---|
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, valuepublic AbstractDockColor(String id)
DockColor.id - the id of the color for which this should listenpublic AbstractDockColor(String id, Path kind)
DockColor.id - the id of the color for which this should listenkind - the kind of DockColor this isprotected DockColor me()
AbstractUIValuethis. 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<Color,DockColor>thispublic void connect(DockController controller)
controller - the owner of this DockColor or nullpublic Color color()
null value of the list
override, value, backup.nullCopyright © 2017 Docking Frames. All rights reserved.