| Method | Defined by | ||
|---|---|---|---|
|
disableResize(targetObj:UIComponent):void
[static]
Disable the UIComponent to have resize capability.
| ResizeManager | ||
|
enableResize(targetObj:UIComponent, minWidth:Number, minHeight:Number, resizeOnTop:Boolean = true, flags:uint = 15):void
[static]
Enable the UIComponent to have resize capability.
| ResizeManager | ||
| Constant | Defined by | ||
|---|---|---|---|
| SIDE_ALL : Number [static]
| ResizeManager | ||
| SIDE_BOTTOM : Number = 2 [static]
| ResizeManager | ||
| SIDE_LEFT : Number = 4 [static]
| ResizeManager | ||
| SIDE_OTHER : Number = 0 [static]
| ResizeManager | ||
| SIDE_RIGHT : Number = 8 [static]
| ResizeManager | ||
| SIDE_TOP : Number = 1 [static]
| ResizeManager | ||
| disableResize | () | method |
public static function disableResize(targetObj:UIComponent):voidDisable the UIComponent to have resize capability.
ParameterstargetObj:UIComponent — The UIComponent to be disabled resize capability
|
| enableResize | () | method |
public static function enableResize(targetObj:UIComponent, minWidth:Number, minHeight:Number, resizeOnTop:Boolean = true, flags:uint = 15):voidEnable the UIComponent to have resize capability.
ParameterstargetObj:UIComponent — The UIComponent to be enabled resize capability
|
|
minWidth:Number — The min size of the UIComponent when resizing
|
|
minHeight:Number |
|
resizeOnTop:Boolean (default = true) |
|
flags:uint (default = 15) |
| SIDE_ALL | constant |
public static const SIDE_ALL:Number
| SIDE_BOTTOM | constant |
public static const SIDE_BOTTOM:Number = 2
| SIDE_LEFT | constant |
public static const SIDE_LEFT:Number = 4
| SIDE_OTHER | constant |
public static const SIDE_OTHER:Number = 0
| SIDE_RIGHT | constant |
public static const SIDE_RIGHT:Number = 8
| SIDE_TOP | constant |
public static const SIDE_TOP:Number = 1