qnx.fuse.ui.core.TabAction

TabAction

Properties | Methods | Events


Packageqnx.fuse.ui.core
Classpublic final class TabAction
InheritanceTabAction Inheritance ActionBase Inheritance flash.events.EventDispatcher

TabActions are Actions used for adding tabs to the ActionBar.

Tabs represent different views in your application, whereas actions represent actions to be performed in that view.



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
 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
  
TabAction(label:String, icon:Object = null, data:Object = null, keyboardShortcut:Array = null)
Creates a new TabAction.
TabAction

Events

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

Constructor Detail

TabAction()


public function TabAction(label:String, icon:Object = null, data:Object = null, keyboardShortcut:Array = null)

Creates a new TabAction.

Parameters

label:String — A label for the Action to be shown whenever an Action is shown in components like the ActionBar.
icon:Object (default = null) — A DisplayObject, a String as a URL to an external image, a Bitmap instance, or a BitmapData instance.
data:Object (default = null) — Data to be associated with the TabAction. Use this parameter to maintain useful data associated with the TabAction.
keyboardShortcut:Array (default = null) — An array of keys that can be pressed to trigger this action. Valid keys can be found in the flash.ui.Keyboard class.





comments powered by Disqus