interface org.aswing.resizer.Resizer

Component Resizer interface. @author paling

Instance Fields

function isEnabled(): Bool

Returns whether this resizer is enabled.

function isResizeDirectly(): Bool

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

function setEnabled(b:Bool): Void

Sets the resizer to enabled or not.

function setOwner(c:Component): Void

Sets the owner of this resizer. If the owner is changed, the last owner will be off-dressed the resizer, the new owner will be on-dressed. Use null to off-dress the current owner.

c

the new owner or null.

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