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, enabledFields 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 TypeMethodDescriptionbooleanPerforms an action.booleanChecks 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, setTargetMethods 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:DelegateActionPerforms an action. Returns true if no further action should be taken for this keystroke. Otherwise, returns false.- Specified by:
delegateActionPerformedin 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:DelegateActionChecks if an action can be performed. Returns true if delegateActionPerformed would perform an action. Otherwise returns false.- Overrides:
isDelegateEnabledin classDelegateAction- Returns:
trueif the action can be performed.
-