Packageorg.aswing.resizer
Classpublic class ResizeStrategyImp
ImplementsResizeStrategy

A basic implementation of ResizeStrategy.

It will return the resized rectangle, the rectangle is not min than getResizableMinSize and not max than getResizableMaxSize if these method are defineded in the resized comopoent.



Public Methods
 MethodDefined by
  
ResizeStrategyImp(wSign:Number, hSign:Number)
ResizeStrategyImp
  
getBounds(com:Component, movedX:int, movedY:int):IntRectangle
Count and return the new bounds what the component would be resized to.
It will return the resized rectangle, the rectangle is not min than getResizableMinSize and not max than getResizableMaxSize if these method are defineded in the resized comopoent.
ResizeStrategyImp
Constructor detail
ResizeStrategyImp()constructor
public function ResizeStrategyImp(wSign:Number, hSign:Number)Parameters
wSign:Number
 
hSign:Number
Method detail
getBounds()method
public function getBounds(com:Component, movedX:int, movedY:int):IntRectangle

Count and return the new bounds what the component would be resized to.
It will return the resized rectangle, the rectangle is not min than getResizableMinSize and not max than getResizableMaxSize if these method are defineded in the resized comopoent.

Parameters
com:Component
 
movedX:int
 
movedY:int

Returns
IntRectangle