Packagegraphics.layouts
Interfacepublic interface Layout extends Lockable, Runnable
Implementors CoreLayout

This interface defines the basic implementation of the layout engine.



Public Properties
 PropertyDefined By
  align : uint
The alignement of the layout.
Layout
  bounds : Rectangle
The rectangle that defines the area of the layout.
Layout
  container : DisplayObjectContainer
Indicates the container reference to change with the layout.
Layout
  measuredHeight : Number
The default height of the layout, in pixels.
Layout
  measuredWidth : Number
The default width of the layout, in pixels.
Layout
  renderer : Signaler
The signal invoked when the render method is called.
Layout
  udpater : Signaler
The signal invoked when the update method is called.
Layout
Public Methods
 MethodDefined By
 Inherited
isLocked():Boolean
Returns true if the object is locked.
Lockable
 Inherited
lock():void
Locks the object.
Lockable
  
measure():void
Calculates the default sizes and minimum and maximum values.
Layout
  
render():void
Render the layout, refresh and change the position of all childs in a specific container.
Layout
 Inherited
run(... arguments):void
Run the process.
Runnable
 Inherited
unlock():void
Unlocks the object.
Lockable
  
update():void
Update the container.
Layout
Property Detail
alignproperty
align:uint

The alignement of the layout.


Implementation
    public function get align():uint
    public function set align(value:uint):void

See also

boundsproperty 
bounds:Rectangle

The rectangle that defines the area of the layout.


Implementation
    public function get bounds():Rectangle
    public function set bounds(value:Rectangle):void
containerproperty 
container:DisplayObjectContainer

Indicates the container reference to change with the layout.


Implementation
    public function get container():DisplayObjectContainer
    public function set container(value:DisplayObjectContainer):void
measuredHeightproperty 
measuredHeight:Number

The default height of the layout, in pixels.


Implementation
    public function get measuredHeight():Number
    public function set measuredHeight(value:Number):void
measuredWidthproperty 
measuredWidth:Number

The default width of the layout, in pixels.


Implementation
    public function get measuredWidth():Number
    public function set measuredWidth(value:Number):void
rendererproperty 
renderer:Signaler

The signal invoked when the render method is called.


Implementation
    public function get renderer():Signaler
    public function set renderer(value:Signaler):void
udpaterproperty 
udpater:Signaler

The signal invoked when the update method is called.


Implementation
    public function get udpater():Signaler
    public function set udpater(value:Signaler):void
Method Detail
measure()method
public function measure():void

Calculates the default sizes and minimum and maximum values.

render()method 
public function render():void

Render the layout, refresh and change the position of all childs in a specific container.

update()method 
public function update():void

Update the container.