qnx.fuse.ui.core.InvokableAction

InvokableAction

Properties | Methods | Events


Packageqnx.fuse.ui.core
Classpublic final class InvokableAction
InheritanceInvokableAction Inheritance ActionBase Inheritance flash.events.EventDispatcher

Represents an invokable action on the system. If chosen from a component that accepts actions, the corresponding invocation will be performed.

This class should never be instantiated directly, instead create an InvokeActionItem and listen for its Event.COMPLETE event. Then call its getInvokableActions() method to retrive a list of avaliable InvokableActions for that InvokeActionItem.



Class information:
BlackBerry 10 Version:   10.0.0



Public Properties

 PropertyDefined By
 Inheriteddata : Object
The data associated with the action.
ActionBase
 Inheritedenabled : Boolean
Enables or disables the Action.
ActionBase
 Inheritedicon : Object
An optional icon that is shown next to the label text.
ActionBase
  invokeAction : InvokeActionItem
[read-only] A reference to the InvokeActionItem that this InvokableAction belongs to.
InvokableAction
 InheritedkeyboardShortcut : Array
An array of keys that can be pressed to trigger this action.
ActionBase
 Inheritedlabel : String
The text that appears when this action is displayed in a UI component.
ActionBase

Public Methods

 MethodDefined By
  
InvokableAction(label:String, icon:Object = null, data:Object = null, invokeAction:InvokeActionItem = null)
This class should not be instantiated directly, nstead create an InvokeActionItem and listen for its Event.COMPLETE event.
InvokableAction

Events

 Event Summary Defined By
 InheritedDispatched when one of the properties on the Action is modified.ActionBase

Property Detail

invokeAction


invokeAction:InvokeActionItem  [read-only]

A reference to the InvokeActionItem that this InvokableAction belongs to.


Implementation

public function get invokeAction():InvokeActionItem

Constructor Detail

InvokableAction()


public function InvokableAction(label:String, icon:Object = null, data:Object = null, invokeAction:InvokeActionItem = null)

This class should not be instantiated directly, nstead create an InvokeActionItem and listen for its Event.COMPLETE event. Then call its getInvokableActions() method to retrive a list of avaliable InvokableActions for that InvokeActionItem.

Parameters

label:String
icon:Object (default = null)
data:Object (default = null)
invokeAction:InvokeActionItem (default = null)





comments powered by Disqus