com.jidesoft.swing
Class DelegateAction.PassthroughDelegateAction
java.lang.Object
javax.swing.AbstractAction
com.jidesoft.swing.DelegateAction
com.jidesoft.swing.DelegateAction.PassthroughDelegateAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- DelegateAction
public static class DelegateAction.PassthroughDelegateAction
- extends DelegateAction
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class com.jidesoft.swing.DelegateAction |
actionPerformed, getAction, getTarget, isEnabled, replaceAction, replaceAction, replaceAction, replaceAction, replaceAction, restoreAction, restoreAction, restoreAction, setAction, setTarget |
DelegateAction.PassthroughDelegateAction
public DelegateAction.PassthroughDelegateAction()
delegateActionPerformed
public boolean delegateActionPerformed(ActionEvent e)
- Description copied from class:
DelegateAction
- Performs an action. Returns true if no further action should be taken for this keystroke. Otherwise, returns
false.
- Specified by:
delegateActionPerformed
in class DelegateAction
- Parameters:
e
- the action event.
- Returns:
- true if no further action should be taken for this keystroke. Otherwise, returns false.
isDelegateEnabled
public boolean isDelegateEnabled()
- Description copied from class:
DelegateAction
- Checks if an action can be performed. Returns true if delegateActionPerformed would perform an action. Otherwise
returns false.
- Overrides:
isDelegateEnabled
in class DelegateAction
- Returns:
true
if the action can be performed.