Main Page | Packages | Class Tree | Index | Help

xp.events

class MenuEvent

Object
  |
  +--xp.events.Event
        |
        +--xp.events.MenuEvent

All Known Subclasses: MenuItemEvent

class MenuEvent
extends Event

Broadcast when a Menu is about to be activated.

Notifies listeners that a Menu is being activated, this event can be used to update the Menu before it is displayed.
For this event the target property will refer to the MenuBar or MenuPanel containing this Menu.


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary


menu: Object
A reference to the Menu instance being activated


menubar: Object
A reference to the MenuBar instance this menu belongs to

Fields inherited from class xp.events.Event

bubbles, cancel, currentTarget, handled, target, type

Constructor

public
MenuEvent ( type: String, menubar: Object, menu: Object)
Constructs a new menu activate event



Field Documentation

menu

var menu: Object
A reference to the Menu instance being activated

menubar

var menubar: Object
A reference to the MenuBar instance this menu belongs to


Constructor Documentation

MenuEvent

public function MenuEvent(type: String,
 menubar: Object,
 menu: Object)
Constructs a new menu activate event

Parameters:
type
The event type one of "activate"
menubar
A reference to the MenuBar instance this menu belongs to
menu
The new active menu.

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc