ActionListener
, Serializable
, Cloneable
, EventListener
, Action
public static class DelegateAction.PassthroughDelegateAction extends DelegateAction
DelegateAction.PassthroughDelegateAction
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor | Description |
---|---|
PassthroughDelegateAction() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
delegateActionPerformed(ActionEvent e) |
Performs an action.
|
boolean |
isDelegateEnabled() |
Checks if an action can be performed.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
actionPerformed, getAction, getTarget, isEnabled, replaceAction, replaceAction, replaceAction, replaceAction, replaceAction, restoreAction, restoreAction, restoreAction, setAction, setTarget
public boolean delegateActionPerformed(ActionEvent e)
DelegateAction
delegateActionPerformed
in class DelegateAction
e
- the action event.public boolean isDelegateEnabled()
DelegateAction
isDelegateEnabled
in class DelegateAction
true
if the action can be performed.