bibliothek.gui.dock.themes.color
Class ActionColor
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<Color,DockColor>
bibliothek.gui.dock.util.color.AbstractDockColor
bibliothek.gui.dock.themes.color.ActionColor
- All Implemented Interfaces:
- DockColor, UIValue<Color>
public abstract class ActionColor
- extends AbstractDockColor
A color used for a DockAction
.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue |
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.util.UIValue |
set |
KIND_ACTION_COLOR
public static final Path KIND_ACTION_COLOR
- the path describing this kind of color
ActionColor
public ActionColor(String id,
Path kind,
Dockable dockable,
DockAction action,
Color backup)
- Creates a new
DockColor
.
- Parameters:
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 missing
ActionColor
public ActionColor(String id,
Dockable dockable,
DockAction action,
Color backup)
- Creates a new
DockColor
.
- Parameters:
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 missing
getAction
public DockAction getAction()
- Gets the action for which this color is used.
- Returns:
- the action
getDockable
public Dockable getDockable()
- Gets the
Dockable
for which the action is shown.
- Returns:
- the owner of the action