Package | com.ghostwire.ui.events |
Class | public class uiResizeEvent |
Inheritance | uiResizeEvent ![]() |
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
Property | Defined by | ||
---|---|---|---|
oldHeight : Number
Stores the previous
height of the component. | uiResizeEvent | ||
oldWidth : Number
Stores the previous
width of the component. | uiResizeEvent |
Method | Defined by | ||
---|---|---|---|
uiResizeEvent(oldWidth:Number, oldHeight:Number)
Creates a new
uiResizeEvent object with the specified oldX and
oldY parameters. | uiResizeEvent |
Constant | Defined by | ||
---|---|---|---|
RESIZE : String = "resize" [static]
Dispatched when the component is explicitly resized via the
setSize() method. | uiResizeEvent |
oldHeight | property |
public var oldHeight:Number
Stores the previous height
of the component.
oldWidth | property |
public var oldWidth:Number
Stores the previous width
of the component.
uiResizeEvent | () | constructor |
public function uiResizeEvent(oldWidth:Number, oldHeight:Number)
Creates a new uiResizeEvent
object with the specified oldX
and
oldY
parameters.
oldWidth:Number — The previous x coordinate of the component.
|
|
oldHeight:Number — The previous y coordinate of the component.
|
RESIZE | constant |
public static const RESIZE:String = "resize"
Dispatched when the component is explicitly resized via the setSize()
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. |
oldWidth | A number indicating the old value of the width. |
oldHeight | A number indicating the old value of the height. |