|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActionHandler
The listener interface for receiving action events and specifying the state of the actions.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface java.awt.event.ActionListener |
|---|
actionPerformed |
| Method Detail |
|---|
boolean 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||