Class org.aswing.plaf.basic.frame.ResizeStrategyImp

Implemented Interfaces

ResizeStrategy

Description

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.

Method Index

new ResizeStrategyImp()
getBounds()

Constructor Detail

ResizeStrategyImp

public function ResizeStrategyImp(wSign:Number, hSign:Number)

Method Detail

getBounds

public function getBounds(com:Component, movedX:Number, movedY:Number):Rectangle

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.

Specified By

getBounds() in org.aswing.plaf.basic.frame.ResizeStrategy