Packagecom.adobe.csxs.events
Classpublic class MenuClickEvent
InheritanceMenuClickEvent Inheritance flash.events.Event

This event is dispatched when a panel menu command is clicked. The event contains the unique identifier and the localized display name of the menu command, as passed by the extension on creation.



Public Properties
 PropertyDefined by
  menuId : String
The unique identifier of the panel menu command that generated this event.
MenuClickEvent
  menuName : String
The display name of the panel menu command that generated this event.
MenuClickEvent
Public Methods
 MethodDefined by
  
MenuClickEvent(menuId:String, menuName:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates the event object.
MenuClickEvent
  
clone():Event
Creates a copy of this object and sets the value of each property to match that of the original.
MenuClickEvent
  
toString():String
Creates a string that contains all the properties of this object, in this format:

[MenuClickEvent type=value bubbles=value cancelable=value ...

MenuClickEvent
Public Constants
 ConstantDefined by
  FLYOUT_MENU_CLICK : String = "flyoutMenuClick"
[static] The event type contant.
MenuClickEvent
Property detail
menuIdproperty
public var menuId:String

The unique identifier of the panel menu command that generated this event.

menuNameproperty 
public var menuName:String

The display name of the panel menu command that generated this event.

Constructor detail
MenuClickEvent()constructor
public function MenuClickEvent(menuId:String, menuName:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates the event object.

Parameters
menuId:String — The unique identifier of the panel menu command.
 
menuName:String — The display name of the panel menu command.
 
bubbles:Boolean (default = false) — True to allow propagation of this event.
 
cancelable:Boolean (default = false) — True if the behavior associated with the event can be prevented.
Method detail
clone()method
public override function clone():Event

Creates a copy of this object and sets the value of each property to match that of the original.

Returns
Event — The new object.
toString()method 
public override function toString():String

Creates a string that contains all the properties of this object, in this format:

[MenuClickEvent type=value bubbles=value cancelable=value ... delta=value]

Returns
String — The properties string.
Constant detail
FLYOUT_MENU_CLICKconstant
public static const FLYOUT_MENU_CLICK:String = "flyoutMenuClick"

The event type contant.