bibliothek.gui.dock.action
Class DockActionIcon
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<javax.swing.Icon,DockIcon>
bibliothek.gui.dock.util.icon.DockIcon
bibliothek.gui.dock.action.DockActionIcon
- All Implemented Interfaces:
- UIValue<javax.swing.Icon>
public abstract class DockActionIcon
- extends DockIcon
This DockIcon
is used to get Icon
s 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 |
KIND_DOCK_ACTION
public static final Path KIND_DOCK_ACTION
- the kind of value this
UIValue
is
DockActionIcon
public DockActionIcon(java.lang.String id,
DockAction action)
- Creates a new
DockActionIcon
.
- Parameters:
id
- the unique identifier of the iconaction
- the action using the icon
DockActionIcon
public DockActionIcon(java.lang.String id,
DockAction action,
Path kind)
- Creates a new
DockActionIcon
.
- Parameters:
id
- the unique identifier of the iconaction
- the action using the iconkind
- what kind of UIValue
this is
getAction
public DockAction getAction()
- Gets the action which is using the icon.
- Returns:
- the action