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:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Enclosing class:
- DelegateAction
public static class DelegateAction.PassthroughDelegateAction extends DelegateAction
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jidesoft.swing.DelegateAction
DelegateAction.PassthroughDelegateAction
-
-
Constructor Summary
Constructors Constructor Description PassthroughDelegateAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandelegateActionPerformed(java.awt.event.ActionEvent e)Performs an action.booleanisDelegateEnabled()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
-
-
-
-
Method Detail
-
delegateActionPerformed
public boolean delegateActionPerformed(java.awt.event.ActionEvent e)
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.
-
-