| Modifier and Type | Field and Description |
|---|---|
static Path |
KIND_SWING_ACTION
the kind of value this
UIValue is |
| Constructor and Description |
|---|
SwingActionText(String id,
String key,
Action action)
Creates a new
DockActionIcon. |
SwingActionText(String id,
String key,
Action action,
Path kind)
Creates a new
DockActionIcon. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
changed(String oldValue,
String newValue)
Called when the resource of this
AbstractDockColor has changed |
Action |
getAction()
Gets the action which is using the icon.
|
me, setControllerpublic SwingActionText(String id, String key, Action action)
DockActionIcon.id - the unique identifier of the iconkey - the key to be used for Action.putValue(String, Object)action - the action using the iconpublic SwingActionText(String id, String key, Action action, Path kind)
DockActionIcon.id - the unique identifier of the iconaction - the action using the iconkey - the key to be used for Action.putValue(String, Object)kind - what kind of UIValue this ispublic Action getAction()
protected void changed(String oldValue, String newValue)
AbstractUIValueAbstractDockColor has changedchanged in class AbstractUIValue<String,TextValue>oldValue - the old value, can be nullnewValue - the new value, can be nullCopyright © 2017 Docking Frames. All rights reserved.