pivot.wtk
Class Action
java.lang.Object
pivot.wtk.Action
public abstract class Action
- extends Object
Abstract base class for "actions". Actions are common application
behaviors generally triggered by buttons and keyboard shortcuts.
- Author:
- gbrown
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Action
public Action()
Action
public Action(String id)
getID
public String getID()
getDescription
public abstract String getDescription()
- Returns a text description of the action.
perform
public abstract void perform()
- Performs the action.
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getActions
public static Action.ActionDictionary getActions()
getActionListeners
public ListenerList<ActionListener> getActionListeners()