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(String id,
Dockable dockable,
DockAction action,
Color backup)
Creates a new
DockColor. |
ActionColor(String id,
Path kind,
Dockable dockable,
DockAction action,
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, mechanged, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, valuepublic static final Path KIND_ACTION_COLOR
public ActionColor(String id, Path kind, Dockable dockable, DockAction action, 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(String id, Dockable dockable, DockAction action, 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()
Copyright © 2017 Docking Frames. All rights reserved.