| Package | org.aswing.event |
| Class | public class MovedEvent |
| Inheritance | MovedEvent AWEvent flash.events.Event |
| Method | Defined by | ||
|---|---|---|---|
| MovedEvent | |||
|
clone():Event
| MovedEvent | ||
| MovedEvent | |||
| MovedEvent | |||
| Constant | Defined by | ||
|---|---|---|---|
![]() | ACT : String = "act" [static]
The
AWEvent.ACT constant defines the value of the
type property of the event object for a act event. | AWEvent | |
![]() | FOCUS_GAINED : String = "focusGained" [static]
The
AWEvent.FOCUS_GAINED constant defines the value of the
type property of the event object for a focusGained event. | AWEvent | |
![]() | FOCUS_LOST : String = "focusLost" [static]
The
AWEvent.FOCUS_LOST constant defines the value of the
type property of the event object for a focusLost event. | AWEvent | |
![]() | HIDDEN : String = "hidden" [static]
The
AWEvent.HIDDEN constant defines the value of the
type property of the event object for a hidden event. | AWEvent | |
| MOVED : String = "moved" [static]
The
MovedEvent.MOVED constant defines the value of the
type property of the event object for a moved event. | MovedEvent | ||
![]() | PAINT : String = "paint" [static]
The
AWEvent.PAINT constant defines the value of the
type property of the event object for a paint event. | AWEvent | |
![]() | SHOWN : String = "shown" [static]
The
AWEvent.SHOWN constant defines the value of the
type property of the event object for a shown event. | AWEvent | |
| MovedEvent | () | constructor |
public function MovedEvent(oldPos:IntPoint, newPos:IntPoint)Parameters
oldPos:IntPoint |
|
newPos:IntPoint |
| clone | () | method |
public override function clone():Event
Returns
Event |
| getNewLocation | () | method |
| getOldLocation | () | method |
| MOVED | constant |
public static const MOVED:String = "moved"
The MovedEvent.MOVED constant defines the value of the
type property of the event object for a moved event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
getOldLocation() | the old location |
getNewLocation() | the new location |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |