Packagecom.theriabook.managers
Classpublic class ResizeManager



Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined 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
Method detail
disableResize()method
public static function disableResize(targetObj:UIComponent):void

Disable the UIComponent to have resize capability.

Parameters
targetObj: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):void

Enable the UIComponent to have resize capability.

Parameters
targetObj: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)
Constant detail
SIDE_ALLconstant
public static const SIDE_ALL:Number
SIDE_BOTTOMconstant 
public static const SIDE_BOTTOM:Number = 2
SIDE_LEFTconstant 
public static const SIDE_LEFT:Number = 4
SIDE_OTHERconstant 
public static const SIDE_OTHER:Number = 0
SIDE_RIGHTconstant 
public static const SIDE_RIGHT:Number = 8
SIDE_TOPconstant 
public static const SIDE_TOP:Number = 1