Packagespark.events
Classpublic class MenuEvent
InheritanceMenuEvent Inheritance IndexChangeEvent Inheritance flash.events.Event

This class is experimental, which means it has not been tested or documented as thoroughly as other core Apache Flex classes.



Public Properties
 PropertyDefined By
  item : Object
MenuEvent
  menu : List
MenuEvent
 InheritednewIndex : int
The zero-based index after the change.
IndexChangeEvent
 InheritedoldIndex : int
The zero-based index before the change.
IndexChangeEvent
Public Methods
 MethodDefined By
  
MenuEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, owner:List = null, selectedItem:Object = null)
MenuEvent
  
clone():Event
[override]
MenuEvent
  
convert(event:IndexChangeEvent, menu:Menu, item:Object):Event
[static]
MenuEvent
Public Constants
 ConstantDefined By
 InheritedCARET_CHANGE : String = caretChange
[static] The IndexChangeEvent.CARET_CHANGE constant defines the value of the type property of the event object for a caretChange event, which indicates that the current item in focus is about to change.
IndexChangeEvent
 InheritedCHANGE : String = change
[static] The IndexChangeEvent.CHANGE constant defines the value of the type property of the event object for a change event, which indicates that an index has changed, such as when a List-based control changes its selection.
IndexChangeEvent
 InheritedCHANGING : String = changing
[static] The IndexChangeEvent.CHANGING constant defines the value of the type property of the event object for a changing event, which indicates that the current selection is about to change.
IndexChangeEvent
  CHECKED : String = checked
[static]
MenuEvent
  SELECTED : String = selected
[static]
MenuEvent
Property Detail
itemproperty
public var item:Object

menuproperty 
public var menu:List

Constructor Detail
MenuEvent()Constructor
public function MenuEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, owner:List = null, selectedItem:Object = null)



Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
owner:List (default = null)
 
selectedItem:Object (default = null)
Method Detail
clone()method
override public function clone():Event

Returns
Event
convert()method 
public static function convert(event:IndexChangeEvent, menu:Menu, item:Object):Event

Parameters

event:IndexChangeEvent
 
menu:Menu
 
item:Object

Returns
Event
Constant Detail
CHECKEDConstant
public static const CHECKED:String = checked

SELECTEDConstant 
public static const SELECTED:String = selected