blob: 18cc7d0e2974d8fbd34eafd89375718f3f1178ef [file] [log] [blame]
{ "type": "class",
"qname": "mx.messaging.events.MessageEvent",
"baseClassname": "org.apache.royale.events.Event"
,
"description": "The MessageEvent class is used to propagate messages within the messaging system.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]},
{ "tagName": "royalesuppresspublicvarwarning",
"values": []} ],
"members": [
{ "type": "field",
"qname": "MESSAGE",
"return": "String",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "The MESSAGE event type; dispatched upon receipt of a message. <p>The value of this constant is <code>&quot;message&quot;</code>.</p> <p>The properties of the event object have the following values:</p> <table class=&quot;innertable&quot;> <tr><th>Property</th><th>Value</th></tr> <tr><td><code>bubbles</code></td><td>false</td></tr> <tr><td><code>cancelable</code></td><td>false</td></tr> <tr><td><code>currentTarget</code></td><td>The Object that defines the event listener that handles the event. For example, if you use <code>myButton.addEventListener()</code> to register an event listener, myButton is the value of the <code>currentTarget</code>. </td></tr> <tr><td><code>message</code></td><td>The message associated with this event.</td></tr> <tr><td><code>target</code></td><td>The Object that dispatched the event; it is not always the Object listening for the event. Use the <code>currentTarget</code> property to always access the Object listening for the event.</td></tr> </table>",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "eventType",
"values": ["message"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "field",
"qname": "RESULT",
"return": "String",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "The RESULT event type; dispatched when an RPC agent receives a result from a remote service destination. <p>The value of this constant is <code>&quot;result&quot;</code>.</p> <p>The properties of the event object have the following values:</p> <table class=&quot;innertable&quot;> <tr><th>Property</th><th>Value</th></tr> <tr><td><code>bubbles</code></td><td>false</td></tr> <tr><td><code>cancelable</code></td><td>false</td></tr> <tr><td><code>currentTarget</code></td><td>The Object that defines the event listener that handles the event. For example, if you use <code>myButton.addEventListener()</code> to register an event listener, myButton is the value of the <code>currentTarget</code>. </td></tr> <tr><td><code>message</code></td><td>The message associated with this event.</td></tr> <tr><td><code>target</code></td><td>The Object that dispatched the event; it is not always the Object listening for the event. Use the <code>currentTarget</code> property to always access the Object listening for the event.</td></tr> </table>",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "eventType",
"values": ["result"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "method",
"qname": "createEvent",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "Utility method to create a new MessageEvent that doesn't bubble and is not cancelable.",
"tags": [
{ "tagName": "param",
"values": ["type The type for the MessageEvent.", "message The associated message."]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "return",
"values": ["New MessageEvent."]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "mx.messaging.events.MessageEvent",
"params": [{ "name": "type", "type": "String"},
{ "name": "msg", "type": "mx.messaging.messages.IMessage"}]}
,
{ "type": "method",
"qname": "mx.messaging.events.MessageEvent",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Constructs an instance of this event with the specified type and message. list hierarchy. event can be prevented; used by the RPC subclasses.",
"tags": [
{ "tagName": "param",
"values": ["type The type for the MessageEvent.", "bubbles Specifies whether the event can bubble up the display", "cancelable Indicates whether the behavior associated with the", "message The associated message."]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": [{ "name": "type", "type": "String"},
{ "name": "bubbles", "type": "Boolean"},
{ "name": "cancelable", "type": "Boolean"},
{ "name": "message", "type": "mx.messaging.messages.IMessage"}]}
,
{ "type": "field",
"qname": "message",
"return": "mx.messaging.messages.IMessage",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "The Message associated with this event.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-only",
"return": "String",
"qname": "messageId",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "",
"tags": [
{ "tagName": "private",
"values": []} ]},
{ "type": "method",
"qname": "clone",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Clones the MessageEvent.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "return",
"values": ["Copy of this MessageEvent."]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "org.apache.royale.events.Event",
"params": []}
,
{ "type": "method",
"qname": "toString",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Returns a string representation of the MessageEvent.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "return",
"values": ["String representation of the MessageEvent."]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "String",
"params": []}
,
{ "type": "method",
"qname": "formatToString",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"return": "String",
"params": [{ "name": "className", "type": "String"},
{ "name": "args", "type": "Array"}]}
]
}