// Copyright 2007. Adobe Systems Incorporated. All Rights Reserved. package fl.events { import flash.events.Event; /** * The student_ar_fl_events_ComponentEvent class defines events that are associated with the UIComponent class. * These include the following events: * * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ public class student_ar_fl_events_ComponentEvent extends Event { /** * Defines the value of the type property of a buttonDown * event object. * *

This event has the following properties:

* * * * * * *
PropertyValue
bubblesfalse
cancelablefalse; there is no default * behavior to cancel.
currentTargetThe object that is actively processing * the event object with an event listener.
targetThe object that dispatched the event. The target is * not always the object listening for the event. Use the currentTarget * property to access the object that is listening for the event.
* * @eventType buttonDown * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ public static const BUTTON_DOWN:String = "buttonDown"; /** * Defines the value of the type property of a labelChange * event object. * *

This event has the following properties:

* * * * * * *
PropertyValue
bubblesfalse
cancelablefalse; there is no default * behavior to cancel.
currentTargetThe object that is actively processing * the event object with an event listener.
targetThe object that dispatched the event. The target is * not always the object listening for the event. Use the currentTarget * property to access the object that is listening for the event.
* * @eventType labelChange * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ public static const LABEL_CHANGE:String = "labelChange"; /** * Defines the value of the type property of a hide * event object. * *

This event has the following properties:

* * * * * * *
PropertyValue
bubblesfalse
cancelablefalse; there is no default * behavior to cancel.
currentTargetThe object that is actively processing * the event object with an event listener.
targetThe object that dispatched the event. The target is * not always the object listening for the event. Use the currentTarget * property to access the object that is listening for the event.
* * @eventType hide * * @includeExample ../core/examples/UIComponent.HIDE.1.as -noswf * * @see #SHOW * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ public static const HIDE:String = "hide"; /** * Defines the value of the type property of a show event * object. * *

This event has the following properties:

* * * * * * *
PropertyValue
bubblesfalse
cancelablefalse; there is no default * behavior to cancel.
currentTargetThe object that is actively processing * the event object with an event listener.
targetThe object that dispatched the event. The target is * not always the object listening for the event. Use the currentTarget * property to access the object that is listening for the event.
* * @eventType show * * @includeExample ../core/examples/UIComponent.HIDE.1.as -noswf * * @see #HIDE * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ public static const SHOW:String = "show"; /** * Defines the value of the type property of a resize * event object. * *

This event has the following properties:

* * * * * * *
PropertyValue
bubblesfalse
cancelablefalse; there is no default * behavior to cancel.
currentTargetThe object that is actively processing * the event object with an event listener.
targetThe object that dispatched the event. The target is * not always the object listening for the event. Use the currentTarget * property to access the object that is listening for the event.
* * @eventType resize * * @includeExample ../core/examples/UIComponent.RESIZE.1.as -noswf * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ public static const RESIZE:String = "resize"; /** * Defines the value of the type property of a move * event object. * *

This event has the following properties:

* * * * * * *
PropertyValue
bubblesfalse
cancelablefalse; there is no default * behavior to cancel.
currentTargetThe object that is actively processing * the event object with an event listener.
targetThe object that dispatched the event. The target is * not always the object listening for the event. Use the currentTarget * property to access the object that is listening for the event.
* * @eventType move * * @includeExample ../core/examples/UIComponent.MOVE.1.as -noswf * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ public static const MOVE:String = "move"; /** * Defines the value of the type property of an enter * event object. * *

This event has the following properties:

* * * * * * *
PropertyValue
bubblesfalse
cancelablefalse; there is no default * behavior to cancel.
currentTargetThe object that is actively processing * the event object with an event listener.
targetThe object that dispatched the event. The target is * not always the object listening for the event. Use the currentTarget * property to access the object that is listening for the event.
* * @eventType enter * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ public static const ENTER:String = "enter"; /** * Creates a new student_ar_fl_events_ComponentEvent object that contains information about a component * event. A student_ar_fl_events_ComponentEvent object is passed as a parameter to an event listener. * * @param type The type of the event. Event listeners can access this information * through the type property of the event object. A component can * have the following types of events: student_ar_fl_events_ComponentEvent.BUTTON_DOWN, * student_ar_fl_events_ComponentEvent.ENTER, student_ar_fl_events_ComponentEvent.HIDE, * student_ar_fl_events_ComponentEvent.LABEL_CHANGE, student_ar_fl_events_ComponentEvent.MOVE, * student_ar_fl_events_ComponentEvent.RESIZE, student_ar_fl_events_ComponentEvent.SHOW. * * @param bubbles Determines whether the student_ar_fl_events_ComponentEvent object participates in the * bubbling phase of the event flow. Event listeners can access this information * through the bubbles property of the event object. * * @param cancelable Determines whether the student_ar_fl_events_ComponentEvent object can be canceled. Event * listeners can access this information through the cancelable property * of the event object. * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ public function student_ar_fl_events_ComponentEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) { super(type, bubbles, cancelable); } /** * Returns a string that contains all the properties of the student_ar_fl_events_ComponentEvent object. The * string is in the following format: *

[student_ar_fl_events_ComponentEvent type=value bubbles=value cancelable=value]

* * @return A string representation of the student_ar_fl_events_ComponentEvent object. * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ override public function toString():String { return formatToString("student_ar_fl_events_ComponentEvent", "type", "bubbles", "cancelable"); } /** * Creates a copy of the student_ar_fl_events_ComponentEvent object and sets the value of each parameter to * match the original. * * @return A new student_ar_fl_events_ComponentEvent object with property values that match those of the * original. * * @langversion 3.0 * @playerversion Flash 9.0.28.0 */ override public function clone():Event { return new student_ar_fl_events_ComponentEvent(type, bubbles, cancelable); } } }