Main Page | Packages | Class Tree | Index | Help

xp.events

class MenuItemEvent

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


class MenuItemEvent
extends MenuEvent

Broadcast when a MenuItem is selected.

Notifies listeners that a MenuItem has been selected


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary


data: Object
The data object associated with the item.


id: String
The id of the MenuItem


item: Object
The selected MenuItem.

Fields inherited from class xp.events.MenuEvent

menu, menubar

Fields inherited from class xp.events.Event

bubbles, cancel, currentTarget, handled, target, type

Constructor

public
MenuItemEvent ( type: String, menubar: Object, menu: Object, item: Object, id: String, data: Object)
Constructs a new select event



Field Documentation

data

var data: Object
The data object associated with the item.

id

var id: String
The id of the MenuItem

item

var item: Object
The selected MenuItem.


Constructor Documentation

MenuItemEvent

public function MenuItemEvent(type: String,
 menubar: Object,
 menu: Object,
 item: Object,
 id: String,
 data: Object)
Constructs a new select event

Parameters:
type
The string "select"
menubar
A reference to the MenuBar instance this menu belongs to
menu
The new active menu.
item
The new selected item.
id
The Id of the MenuItem.
data
The data object associated with the item.

The documentation was generated from the following file:


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