blob: 9ae91980b5ee3f1250d302a27edabdf3749cf6da [file] [log] [blame]
{ "type": "class",
"qname": "org.apache.royale.core.Application",
"baseClassname": "org.apache.royale.core.ApplicationBase"
,
"description": "The Application class is the main class and entry point for a Royale application. This Application class is different than the Flex SDK's mx:Application or spark:Application in that it does not contain user interface elements. Those UI elements go in the views (ViewBase). This Application class expects there to be a main model, a controller, and an initial view.",
"tags": [
{ "tagName": "see",
"values": ["ViewBase"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "method",
"qname": "org.apache.royale.core.Application",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Constructor.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": []}
,
{ "type": "field",
"qname": "instanceParent",
"return": "org.apache.royale.core.IParent",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {}},
{ "type": "accessor",
"access": "write-only",
"return": "org.apache.royale.core.IValuesImpl",
"qname": "valuesImpl",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The org.apache.royale.core.IValuesImpl that will determine the default values and other values for the application. The most common choice is org.apache.royale.core.SimpleCSSValuesImpl.",
"tags": [
{ "tagName": "see",
"values": ["org.apache.royale.core.SimpleCSSValuesImpl"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "org.apache.royale.core.IApplicationView",
"qname": "initialView",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The initial view.",
"tags": [
{ "tagName": "see",
"values": ["org.apache.royale.core.ViewBase"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Object",
"qname": "model",
"namespace": "public",
"bindable": ["__NoChangeEvent__"],
"details": ["override"],
"deprecated": {},
"description": "The data model (for the initial view).",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-write",
"return": "Object",
"qname": "controller",
"namespace": "public",
"bindable": ["__NoChangeEvent__"],
"details": [],
"deprecated": {},
"description": "The controller. The controller typically watches the UI for events and updates the model accordingly.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-only",
"return": "org.apache.royale.core.IPopUpHostParent",
"qname": "popUpParent",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Application can host popups but they will be in the layout, if any",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-only",
"return": "Array",
"qname": "MXMLDescriptor",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "An array of data that describes the MXML attributes and tags in an MXML document. This data is usually decoded by an MXMLDataInterpreter",
"tags": [
{ "tagName": "see",
"values": ["org.apache.royale.utils.MXMLDataInterpreter"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "method",
"qname": "generateMXMLAttributes",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "An method called by the compiler's generated code to kick off the setting of MXML attribute values and instantiation of child tags. The call has to be made in the generated code in order to ensure that the constructors have completed first. MXML attributes.",
"tags": [
{ "tagName": "see",
"values": ["org.apache.royale.utils.MXMLDataInterpreter"]},
{ "tagName": "param",
"values": ["data The encoded data representing the"]},
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "data", "type": "Array"}]}
,
{ "type": "field",
"qname": "beads",
"return": "Array",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The array property that is used to add additional beads to an MXML tag. From ActionScript, just call addBead directly.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]},
{ "tagName": "royalesuppresspublicvarwarning",
"values": []} ]},
{ "type": "method",
"qname": "addElement",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "copy",
"values": ["org.apache.royale.core.IParent#addElement()"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.IUIBase", "HTMLElement"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "c", "type": "org.apache.royale.core.IChild"},
{ "name": "dispatchEvent", "type": "Boolean"}]}
,
{ "type": "method",
"qname": "addElementAt",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "copy",
"values": ["org.apache.royale.core.IParent#addElementAt()"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.IUIBase"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "c", "type": "org.apache.royale.core.IChild"},
{ "name": "index", "type": "int"},
{ "name": "dispatchEvent", "type": "Boolean"}]}
,
{ "type": "method",
"qname": "getElementAt",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "copy",
"values": ["org.apache.royale.core.IParent#getElementAt()"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "org.apache.royale.core.IChild",
"params": [{ "name": "index", "type": "int"}]}
,
{ "type": "method",
"qname": "getElementIndex",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "copy",
"values": ["org.apache.royale.core.IParent#getElementIndex()"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "int",
"params": [{ "name": "c", "type": "org.apache.royale.core.IChild"}]}
,
{ "type": "method",
"qname": "removeElement",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "copy",
"values": ["org.apache.royale.core.IParent#removeElement()"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "royaleignorecoercion",
"values": ["HTMLElement"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "c", "type": "org.apache.royale.core.IChild"},
{ "name": "dispatchEvent", "type": "Boolean"}]}
,
{ "type": "accessor",
"access": "read-only",
"return": "int",
"qname": "numElements",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "copy",
"values": ["org.apache.royale.core.IParent#numElements"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "method",
"qname": "internalChildren",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "return",
"values": ["{Object} The array of children."]} ],
"return": "NodeList",
"params": []}
,
{ "type": "field",
"qname": "startupTimer",
"return": "org.apache.royale.utils.Timer",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {}},
{ "type": "method",
"qname": "start",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.IBead"]} ],
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "initialize",
"namespace": "protected",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "royaleignorecoercion",
"values": ["org.apache.royale.core.IBead", "org.apache.royale.core.UIBase"]} ],
"return": "void",
"params": []}
,
{ "type": "accessor",
"access": "read-only",
"return": "org.apache.royale.core.IPopUpHost",
"qname": "popUpHost",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": ""}]
,
"events": [
{ "qname": "initialize",
"type": "org.apache.royale.events.Event"
,
"description": "Dispatched at startup. Attributes and sub-instances of the MXML document have been created and assigned. The component lifecycle is different than the Flex SDK. There is no creationComplete event.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "qname": "preinitialize",
"type": "org.apache.royale.events.Event"
,
"description": "Dispatched at startup before the instances get created. Beads can call preventDefault and defer initialization. This event will be dispatched on every frame until no listeners call preventDefault(), then the initialize() method will be called.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "qname": "viewChanged",
"type": "org.apache.royale.events.Event"
,
"description": "Dispatched at startup after the initial view has been put on the display list. This event is sent before applicationComplete is dispatched.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "qname": "applicationComplete",
"type": "org.apache.royale.events.Event"
,
"description": "Dispatched at startup after the initial view has been put on the display list.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 10.2", "AIR 2.6"]},
{ "tagName": "productversion",
"values": ["Royale 0.0"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]}]
}