Packageorg.aswing.event
Classpublic class ResizedEvent
InheritanceResizedEvent Inheritance AWEvent Inheritance flash.events.Event

The event for component resized.



Public Methods
 MethodDefined by
  
ResizedEvent
  
clone():Event
ResizedEvent
  
ResizedEvent
  
ResizedEvent
Public Constants
 ConstantDefined by
 InheritedACT : String = "act"
[static] The AWEvent.ACT constant defines the value of the type property of the event object for a act event.
AWEvent
 InheritedFOCUS_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
 InheritedFOCUS_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
 InheritedHIDDEN : String = "hidden"
[static] The AWEvent.HIDDEN constant defines the value of the type property of the event object for a hidden event.
AWEvent
 InheritedPAINT : String = "paint"
[static] The AWEvent.PAINT constant defines the value of the type property of the event object for a paint event.
AWEvent
  RESIZED : String = "resized"
[static] The ResizedEvent.RESIZED constant defines the value of the type property of the event object for a resized event.
ResizedEvent
 InheritedSHOWN : String = "shown"
[static] The AWEvent.SHOWN constant defines the value of the type property of the event object for a shown event.
AWEvent
Constructor detail
ResizedEvent()constructor
public function ResizedEvent(oldSize:IntDimension, newSize:IntDimension)Parameters
oldSize:IntDimension
 
newSize:IntDimension
Method detail
clone()method
public override function clone():Event

Returns
Event
getNewSize()method 
public function getNewSize():IntDimension

Returns
IntDimension
getOldSize()method 
public function getOldSize():IntDimension

Returns
IntDimension
Constant detail
RESIZEDconstant
public static const RESIZED:String = "resized"

The ResizedEvent.RESIZED constant defines the value of the type property of the event object for a resized event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
getOldSize()the old size
getNewSize()the new size
currentTargetThe 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.
targetThe 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.