public interface ActionHandler extends ActionListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
isProcessingAction(String command)
Determines whether the action handler is able to perform the action
with the specified
command key in its
ActionListener.actionPerformed(java.awt.event.ActionEvent) method. |
boolean |
updateAction(Action action)
Invoked by the application for updating the state of the specified
action. |
actionPerformedboolean isProcessingAction(String command)
command key in its
ActionListener.actionPerformed(java.awt.event.ActionEvent) method.command - The command key of the action.true if the action handler is able to handle
the specified action; false otherwise.boolean updateAction(Action action)
action. For example, the implementation of this method
can enable or disable the action.action - The action to update.true if the action handler has updated the state
of the action; false otherwise.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.