Package 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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jidesoft.swing.DelegateAction
DelegateAction.PassthroughDelegateAction
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Performs an action.boolean
Checks if an action can be performed.Methods inherited from class com.jidesoft.swing.DelegateAction
actionPerformed, getAction, getTarget, isEnabled, replaceAction, replaceAction, replaceAction, replaceAction, replaceAction, restoreAction, restoreAction, restoreAction, setAction, setTarget
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
PassthroughDelegateAction
public PassthroughDelegateAction()
-
-
Method Details
-
delegateActionPerformed
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 classDelegateAction
- 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 classDelegateAction
- Returns:
true
if the action can be performed.
-