public abstract class ActionColor extends AbstractDockColor
DockAction
.Modifier and Type | Field and Description |
---|---|
static Path |
KIND_ACTION_COLOR
the path describing this kind of color
|
KIND_DOCK_COLOR
Constructor and Description |
---|
ActionColor(java.lang.String id,
Dockable dockable,
DockAction action,
java.awt.Color backup)
Creates a new
DockColor . |
ActionColor(java.lang.String id,
Path kind,
Dockable dockable,
DockAction action,
java.awt.Color backup)
Creates a new
DockColor . |
Modifier and Type | Method and Description |
---|---|
DockAction |
getAction()
Gets the action for which this color is used.
|
Dockable |
getDockable()
Gets the
Dockable for which the action is shown. |
color, connect, me
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value
public static final Path KIND_ACTION_COLOR
public ActionColor(java.lang.String id, Path kind, Dockable dockable, DockAction action, java.awt.Color backup)
DockColor
.id
- the identifier of this colorkind
- which kind of color this isdockable
- the Dockable for which the action is shownaction
- the action for which the color is usedbackup
- a backup in case a color is missingpublic ActionColor(java.lang.String id, Dockable dockable, DockAction action, java.awt.Color backup)
DockColor
.id
- the identifier of this colordockable
- the Dockable for which the action is shownaction
- the action for which the color is usedbackup
- a backup in case a color is missingpublic DockAction getAction()