Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
Application

Package | org.apache.cordova
Class | public class Application
Inheritance | Application Application ApplicationBase flash.display.Sprite
Implements | IFlexInfo

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

A customized Application that dispatches the Cordova deviceReady event

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | beads : Array The array property that is used to add additional beads to an MXML tag. | Application
|  | controller : Object The controller. | Application
|  | initialView : IApplicationView The initial view. | Application
|  | isDeviceReady : Boolean = false | Application
|  | model : Object The data model (for the initial view). | Application
|  | MXMLDescriptor : Array [read-only] An array of data that describes the MXML attributes and tags in an MXML document. | Application
|  | numElements : int [read-only] The number of elements in the parent. | Application
|  | valuesImpl : IValuesImpl [write-only] The org.apache.flex.core.IValuesImpl that will determine the default values and other values for the application. | Application

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | Application() FalconJX will inject html into the index.html file. | Application
|  | addBead(bead:IBead):void Add a bead to the strand. | Application
|  | addElement(c:Object, dispatchEvent:Boolean = true):void Add a component to the parent. | Application
|  | addElementAt(c:Object, index:int, dispatchEvent:Boolean = true):void Add a component to the parent. | Application
|  | generateMXMLAttributes(data:Array):void An method called by the compiler's generated code to kick off the setting of MXML attribute values and instantiation of child tags. | Application
|  | getBeadByType(classOrInterface:Class):IBead Find a bead on the strand. | Application
|  | getElementAt(index:int):Object Get a component from the parent. | Application
|  | getElementIndex(c:Object):int Gets the index of this subcomponent. | Application
|  | info():Object An Object containing information generated by the compiler that is useful at startup time. | ApplicationBase
|  | removeBead(value:IBead):IBead Remove a bead from the strand. | Application
|  | removeElement(c:Object, dispatchEvent:Boolean = true):void Remove a component from the parent. | Application

Protected Methods
Show Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | initialize():void This method gets called when all preinitialize handlers no longer call preventDefault(); | Application

Events
Hide Inherited Events
Show Inherited Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | applicationComplete | Dispatched at startup after the initial view has been put on the display list. | Application
|  | initialize | Dispatched at startup. | Application
|  | preinitialize | Dispatched at startup before the instances get created. | Application
|  | viewChanged | Dispatched at startup after the initial view has been put on the display list. | Application

Property Detail

isDeviceReady | property

`public var isDeviceReady:Boolean = false`

Constructor Detail

Application | () | Constructor

`public function Application()`

FalconJX will inject html into the index.html file. Surround with "inject_html" tag as follows:

Mon Sep 5 2016, 07:19 AM -07:00