class org.aswing.resizer.DefaultResizer

Resizer is a resizer for Components to make it resizable when user mouse on component's edge. @author paling

Instance Fields

function new(): Void

Create a Resizer for specified component.

function finishResize(strategy:ResizeStrategy): Void

function isEnabled(): Bool

function isResizeDirectly(): Bool

Returns whether need resize component directly when drag the resizer arrow. @see #setResizeDirectly

function isResizing(): Bool

function resizing(strategy:ResizeStrategy, e:MouseEvent): Void

function setEnabled(e:Bool): Void

function setOwner(c:Component): Void

function setResizeDirectly(r:Bool): Void

Indicate whether need resize component directly when drag the resizer arrow.

if set to false, there will be a rectange to represent then size what will be resized to.

if set to true, the component will be resize directly when drag, but this is need more cpu counting.

Default is false. @see org.aswing.JFrame

function setResizing(b:Bool): Void

function startResize(strategy:ResizeStrategy, e:MouseEvent): Void

function stopArrowCursor(): Void