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 and Description |
---|
DelegateAction.PassthroughDelegateAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
delegateActionPerformed(ActionEvent e)
Performs an action.
|
boolean |
isDelegateEnabled()
Checks if an action can be performed.
|
actionPerformed, getAction, getTarget, isEnabled, replaceAction, replaceAction, replaceAction, replaceAction, replaceAction, restoreAction, restoreAction, restoreAction, setAction, setTarget
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
public DelegateAction.PassthroughDelegateAction()
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.