| Package | graphics.layouts |
| Interface | public interface Layout extends Lockable, Runnable |
| Implementors | CoreLayout |
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | isLocked():Boolean
Returns true if the object is locked. | Lockable | |
![]() | 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 | ||
![]() | run(... arguments):void
Run the process. | Runnable | |
![]() | unlock():void
Unlocks the object. | Lockable | |
update():void
Update the container. | Layout | ||
| align | property |
align:uintThe alignement of the layout.
public function get align():uint public function set align(value:uint):voidSee also
| bounds | property |
bounds:RectangleThe rectangle that defines the area of the layout.
public function get bounds():Rectangle public function set bounds(value:Rectangle):void| container | property |
container:DisplayObjectContainerIndicates the container reference to change with the layout.
public function get container():DisplayObjectContainer public function set container(value:DisplayObjectContainer):void| measuredHeight | property |
measuredHeight:NumberThe default height of the layout, in pixels.
public function get measuredHeight():Number public function set measuredHeight(value:Number):void| measuredWidth | property |
measuredWidth:NumberThe default width of the layout, in pixels.
public function get measuredWidth():Number public function set measuredWidth(value:Number):void| renderer | property |
renderer:SignalerThe signal invoked when the render method is called.
public function get renderer():Signaler public function set renderer(value:Signaler):void| udpater | property |
udpater:SignalerThe signal invoked when the update method is called.
public function get udpater():Signaler public function set udpater(value:Signaler):void| measure | () | method |
public function measure():voidCalculates the default sizes and minimum and maximum values.
| render | () | method |
public function render():voidRender the layout, refresh and change the position of all childs in a specific container.
| update | () | method |
public function update():voidUpdate the container.