Bean Builder

com.adventnet.components.projectworkspace
Interface ActionHandlerInterface

All Known Implementing Classes:
DefaultActionHandler

public interface ActionHandlerInterface
extends java.util.EventListener

ActionHandler Interface is used to handle actions generated by a menu item which is a FrameworkEvent event. Both MenuBar Framework and ToolBar Framework use this interface.

See Also:
EventListener

Method Summary
 boolean handleAction(FrameworkEvent event)
          The handleAction method is invoked when a MenuItem or a ToolBarItem is activated by clicking on it.
 

Method Detail

handleAction

public boolean handleAction(FrameworkEvent event)
The handleAction method is invoked when a MenuItem or a ToolBarItem is activated by clicking on it. If this action is handled here , then this method should return true (so that this framework event is consumed). If this method returns false the action is propagated to the next higher level. This propagation occurs upto the menubar/toolbar level.
Parameters:
event - A Framework event is passed as an argument, using which user can get the action type, action value and event source.
See Also:
FrameworkEvent

Bean Builder

© 2001 - 2002 AdventNet Inc. Visit us at: http://www.adventnet.com