Packagecom.ghostwire.ui.events
Classpublic class uiResizeEvent
InheritanceuiResizeEvent Inheritance flash.events.Event

The uiResizeEvent class defines the "resize" event that is dispatched when a component is explicitly resized via the setSize() method.

~ This class is available in Aspire UI Components Lite Edition ~

See also



Public Properties
 PropertyDefined by
  oldHeight : Number
Stores the previous height of the component.
uiResizeEvent
  oldWidth : Number
Stores the previous width of the component.
uiResizeEvent
Public Methods
 MethodDefined by
  
uiResizeEvent(oldWidth:Number, oldHeight:Number)
Creates a new uiResizeEvent object with the specified oldX and oldY parameters.
uiResizeEvent
Public Constants
 ConstantDefined by
  RESIZE : String = "resize"
[static] Dispatched when the component is explicitly resized via the setSize() method.
uiResizeEvent
Property detail
oldHeightproperty
public var oldHeight:Number

Stores the previous height of the component.

oldWidthproperty 
public var oldWidth:Number

Stores the previous width of the component.

Constructor detail
uiResizeEvent()constructor
public function uiResizeEvent(oldWidth:Number, oldHeight:Number)

Creates a new uiResizeEvent object with the specified oldX and oldY parameters.

Parameters
oldWidth:Number — The previous x coordinate of the component.
 
oldHeight:Number — The previous y coordinate of the component.
Constant detail
RESIZEconstant
public static const RESIZE:String = "resize"

Dispatched when the component is explicitly resized via the setSize() method.

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.
oldWidthA number indicating the old value of the width.
oldHeightA number indicating the old value of the height.