qnx.fuse.ui.events.ActionEvent

ActionEvent

Properties | Methods | Constants


Packageqnx.fuse.ui.events
Classpublic class ActionEvent
InheritanceActionEvent Inheritance flash.events.Event

The ActionEvent event is used to broadcast when an action has been selected from the ActionBar or from a UIComponent when interacting with the context menu.

Class information:
BlackBerry 10 Version:   10.0.0
Found in:  qnxui.swc



Public Properties

 PropertyDefined By
  action : ActionBase
[read-only] The action that was selected.
ActionEvent

Public Methods

 MethodDefined By
  
ActionEvent(type:String, action:ActionBase)
Creates a ActionEvent instance.
ActionEvent

Public Constants

 ConstantDefined By
  ACTION_SELECTED : String = actionSelected
[static] Dispatched when an action is selected.
ActionEvent

Property Detail

action


action:ActionBase  [read-only]

The action that was selected.


Implementation

public function get action():ActionBase

Constructor Detail

ActionEvent()


public function ActionEvent(type:String, action:ActionBase)

Creates a ActionEvent instance.

Parameters

type:String — The type of the event.
action:ActionBase — The action associated with the event.

Constant Detail

ACTION_SELECTED


public static const ACTION_SELECTED:String = actionSelected

Dispatched when an action is selected.

The ActionEvent.ACTION_SELECTED constant defines the value of the type property of the event object for an actionSelected event.

The properties of the event object have the following values:

PropertyValue
actionThe action that was selected.
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
typeActionEvent.ACTION_SELECTED





comments powered by Disqus