Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

BarMenuEvent Class Reference

Indicates that a BarMenu item has been selected. More...

List of all members.

Public Methods

 BarMenuEvent (Object source, String command, int type, String menuName)
 Construct event with given parameters. More...

String getCommand ()
 Get the name of the menu item. More...

int getType ()
 Get the type (NORM_TYPE or SAMETHOD_TYPE) of the menu item. More...

String getMenuName ()
 Get the name of the menu to which the item belongs. More...


Static Public Attributes

final int NORM_TYPE = 0
 Normal menu item selected. More...

final int SAMETHOD_TYPE = 1
 SaMethod menu item selected. More...


Detailed Description

Indicates that a BarMenu item has been selected.

Contains the command and type of the associated menu item. The event is send by BarMenu to all BarMenuListeners.


Constructor & Destructor Documentation

BarMenuEvent::BarMenuEvent Object    source,
String    command,
int    type,
String    menuName
[inline]
 

Construct event with given parameters.


Member Function Documentation

String BarMenuEvent::getCommand   [inline]
 

Get the name of the menu item.

int BarMenuEvent::getType   [inline]
 

Get the type (NORM_TYPE or SAMETHOD_TYPE) of the menu item.

String BarMenuEvent::getMenuName   [inline]
 

Get the name of the menu to which the item belongs.


Member Data Documentation

final int BarMenuEvent::NORM_TYPE = 0 [static]
 

Normal menu item selected.

final int BarMenuEvent::SAMETHOD_TYPE = 1 [static]
 

SaMethod menu item selected.


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 14:14:21 2002 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001