Packagede.mightypirates.asul.interfaces
Interfacepublic interface ILayout extends IAsulObject, flash.events.IEventDispatcher, IDisposable

Interface for base class for layouts.

A layout is a class defining a specific way of positioning child elements of a DisplayObjectContainer. When applied, it will position all children of an object accordingly.



Public Properties
 PropertyDefined by
 InheritedclipChildren : Boolean
Clip children of this element (true) or not (false).
IAsulObject
  isEnabled : Boolean
Determines whether to allow the layouting component to perform its layout when triggered (e.g.
ILayout
 InheritedmaxHeight : Number
The maximum height of this object.
IAsulObject
 InheritedmaxWidth : Number
The maximum width of this object.
IAsulObject
 InheritedminHeight : Number
The minimum height of this object.
IAsulObject
 InheritedminWidth : Number
The minimum width of this object.
IAsulObject
 Inheritedname : String
The name of this object.
IAsulObject
 Inheritedstyle : Array
A list of style names applicant to this object.
IAsulObject
 Inheritedtagname : String
The XML tagname of the element, e.g.
IAsulObject
Public Methods
 MethodDefined by
 Inherited
Adds another ASUL object as a virtual child to this one.
IAsulObject
 Inherited
clone():DisplayObject
Clones the ASUL object, creating an exact copy of it (based on its ORIGINAL data! Later attribute changes will be discarded.).
IAsulObject
 Inherited
deepGetChildByName(name:String, container:DisplayObjectContainer = null):DisplayObject
This searches the object's children through all child containers until a node with the given name was found.
IAsulObject
 Inherited
dispose():void
Cleans upd the object, removing all listeners, timers and references that might keep the object from being garbage collected.
IDisposable
  
doLayout():void
Applies the layout.
ILayout
 Inherited
Removes a virtual child from this ASUL object.
IAsulObject
 Inherited
setAttribute(name:String, value:*):void
Sets an attribute for this element.
IAsulObject
Property detail
isEnabledproperty
isEnabled:Boolean  [read-write]

Determines whether to allow the layouting component to perform its layout when triggered (e.g. by adding or removing children). This can be used to temporarily disable layouting when manipulating many elements at once, to improve performance.

Implementation
    public function get isEnabled():Boolean
    public function set isEnabled(value:Boolean):void
Method detail
doLayout()method
public function doLayout():void

Applies the layout.