Package | com.ghostwire.ui.events |
Class | public class uiMoveEvent |
Inheritance | uiMoveEvent ![]() |
uiMoveEvent
class defines the "move" event that is dispatched when a component is
explicitly moved via the move()
method.
~ This class is available in Aspire UI Components Lite Edition ~
See also
Property | Defined by | ||
---|---|---|---|
oldX : Number
Stores the previous
x coordinate of the component. | uiMoveEvent | ||
oldY : Number
Stores the previous
y coordinate of the component. | uiMoveEvent |
Method | Defined by | ||
---|---|---|---|
uiMoveEvent(oldX:Number, oldY:Number)
Creates a new
uiMoveEvent object with the specified oldX and
oldY parameters. | uiMoveEvent |
Constant | Defined by | ||
---|---|---|---|
MOVE : String = "move" [static]
Dispatched when the component is explicitly moved via the
move() method. | uiMoveEvent |
oldX | property |
public var oldX:Number
Stores the previous x
coordinate of the component.
oldY | property |
public var oldY:Number
Stores the previous y
coordinate of the component.
uiMoveEvent | () | constructor |
public function uiMoveEvent(oldX:Number, oldY:Number)
Creates a new uiMoveEvent
object with the specified oldX
and
oldY
parameters.
oldX:Number — The previous x coordinate of the component.
|
|
oldY:Number — The previous y coordinate of the component.
|
MOVE | constant |
public static const MOVE:String = "move"
Dispatched when the component is explicitly moved via the move()
method.
This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the event object with an event listener. |
target | The 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. |
oldX | An integer number indicating the old value of the x position. |
oldY | An integer number indicating the old value of the y position. |