public abstract class Action extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Action.NamedActionDictionary
Action dictionary implementation.
|
Modifier and Type | Method and Description |
---|---|
static ListenerList<ActionClassListener> |
getActionClassListeners() |
ListenerList<ActionListener> |
getActionListeners() |
String |
getDescription()
Returns a text description of the action.
|
static Action.NamedActionDictionary |
getNamedActions() |
boolean |
isEnabled() |
abstract void |
perform(Component source)
Performs the action.
|
void |
setEnabled(boolean enabled) |
public String getDescription()
public abstract void perform(Component source)
source
- The component that initiated the action.public boolean isEnabled()
public void setEnabled(boolean enabled)
public static Action.NamedActionDictionary getNamedActions()
public ListenerList<ActionListener> getActionListeners()
public static ListenerList<ActionClassListener> getActionClassListeners()