Packageorg.aswing.resizer
Interfacepublic interface Resizer
ImplementorsDefaultResizer

Component Resizer interface.



Public Methods
 MethodDefined by
  
isEnabled():Boolean
Returns whether this resizer is enabled.
Resizer
  
isResizeDirectly():Boolean
Returns whether need resize component directly when drag the resizer arrow.
Resizer
  
setEnabled(b:Boolean):void
Sets the resizer to enabled or not.
Resizer
  
Sets the owner of this resizer.
Resizer
  
setResizeDirectly(r:Boolean):void

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

Resizer
Method detail
isEnabled()method
public function isEnabled():Boolean

Returns whether this resizer is enabled.

Returns
Boolean
isResizeDirectly()method 
public function isResizeDirectly():Boolean

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

Returns
Boolean

See also

setEnabled()method 
public function setEnabled(b:Boolean):void

Sets the resizer to enabled or not.

Parameters
b:Boolean
setOwner()method 
public 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.

Parameters
c:Component — the new owner or null.
setResizeDirectly()method 
public function setResizeDirectly(r:Boolean):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. Parameters

r:Boolean

See also