{ "type": "class", | |
"qname": "spark.events.IndexChangeEvent", | |
"baseClassname": "org.apache.royale.events.Event" | |
, | |
"description": "The IndexChangeEvent class represents events that are dispatched when an index changes in a Spark component.", | |
"tags": [ | |
{ "tagName": "see", | |
"values": ["spark.components.supportClasses.ListBase", "spark.components.List", "spark.components.ButtonBar"]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]}, | |
{ "tagName": "royalesuppresspublicvarwarning", | |
"values": []} ], | |
"members": [ | |
{ "type": "field", | |
"qname": "CHANGE", | |
"return": "String", | |
"namespace": "public", | |
"bindable": [], | |
"details": ["static"], | |
"deprecated": {}, | |
"description": "The <code>IndexChangeEvent.CHANGE</code> constant defines the value of the <code>type</code> property of the event object for a <code>change</code> event, which indicates that an index has changed, such as when a List-based control changes its selection. <p>The properties of the event object have the following values:</p> <table class="innertable"> <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>newIndex</code></td><td>The zero-based index after the change.</td></tr> <tr><td><code>oldIndex</code></td><td>The zero-based index before the change.</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> <tr><td><code>Type</code></td><td>IndexChangeEvent.CHANGE</td></tr> </table>", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "eventType", | |
"values": ["change"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "method", | |
"qname": "spark.events.IndexChangeEvent", | |
"namespace": "", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "Constructor. up the display list hierarchy. associated with the event can be prevented.", | |
"tags": [ | |
{ "tagName": "param", | |
"values": ["type The event type; indicates the action that caused the event.", "bubbles Specifies whether the event can bubble", "cancelable Specifies whether the behavior", "oldIndex The zero-based index before the change.", "newIndex The zero-based index after the change."]}, | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ], | |
"return": "", | |
"params": [{ "name": "type", "type": "String"}, | |
{ "name": "bubbles", "type": "Boolean"}, | |
{ "name": "cancelable", "type": "Boolean"}, | |
{ "name": "oldIndex", "type": "int"}, | |
{ "name": "newIndex", "type": "int"}]} | |
, | |
{ "type": "field", | |
"qname": "newIndex", | |
"return": "int", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The zero-based index after the change. For <code>change</code> events it is the index of the current child.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}, | |
{ "type": "field", | |
"qname": "oldIndex", | |
"return": "int", | |
"namespace": "public", | |
"bindable": [], | |
"details": [], | |
"deprecated": {}, | |
"description": "The zero-based index before the change. For <code>change</code> events it is the index of the previous child.", | |
"tags": [ | |
{ "tagName": "playerversion", | |
"values": ["Flash 10", "AIR 1.5"]}, | |
{ "tagName": "productversion", | |
"values": ["Royale 0.9.4"]}, | |
{ "tagName": "langversion", | |
"values": ["3.0"]} ]}] | |
} |