|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.appframe.event.IlvActionHandlerArray
public class IlvActionHandlerArray
Action handler that contains an array of action handlers.
| Constructor Summary | |
|---|---|
IlvActionHandlerArray()
Constructs a new IlvActionHandlerArray. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs. |
void |
addActionHandler(ActionHandler actionHandler)
Adds the specified actionHandler to the list of action handlers
of this object. |
ActionHandler |
getActionHandler(String command)
Retrieves the action handler of this object that is able to process the action with the specified command key. |
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 |
removeActionHandler(ActionHandler actionHandler)
Removes the specified actionHandler from the list of action
handlers of this object. |
boolean |
updateAction(Action action)
Invoked by the application to update the state of the specified action. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvActionHandlerArray()
IlvActionHandlerArray.
| Method Detail |
|---|
public boolean isProcessingAction(String command)
command key in its
ActionListener.actionPerformed(java.awt.event.ActionEvent) method.
isProcessingAction in interface ActionHandlercommand - The command key of the action.
true if one of the action handlers added to the
object can process the action;
false otherwise.getActionHandler(java.lang.String)public ActionHandler getActionHandler(String command)
command key.
command - The command key of the action to retrieve an action handler
from.
ActionHandler.isProcessingAction(java.lang.String)
method that returns true for the specified action command or
null if there is no action handler that can process this
action.isProcessingAction(java.lang.String)public void actionPerformed(ActionEvent e)
getActionHandler(java.lang.String) method
has its actionPerformed method called with the specified
action event parameter.
actionPerformed in interface ActionListenere - The action event to process.public boolean updateAction(Action action)
action.
updateAction in interface ActionHandleraction - The action to update.
true if one of the action handlers of this object
could update the state of the action; false otherwise.public void addActionHandler(ActionHandler actionHandler)
actionHandler to the list of action handlers
of this object.
actionHandler - The new action handler to add.removeActionHandler(ilog.views.appframe.event.ActionHandler)public boolean removeActionHandler(ActionHandler actionHandler)
actionHandler from the list of action
handlers of this object.
actionHandler - The action handler to remove.
true if the action handler was previously added to
this object; false otherwise.addActionHandler(ilog.views.appframe.event.ActionHandler)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||