Packagecom.yahoo.astra.layout.modes
Interfacepublic interface IAdvancedLayoutMode extends ILayoutMode, flash.events.IEventDispatcher
ImplementorsBaseLayoutMode, BorderLayout, BoxLayout, FlowLayout, TileLayout

Defines the methods required for layout modes that have advanced configuration settings for individual children.



Public Methods
 MethodDefined by
  
addClient(target:DisplayObject, configuration:Object = null):void
Registers a specific display object with the layout algorithm.
IAdvancedLayoutMode
 Inherited
layoutChildren(target:DisplayObjectContainer, bounds:Rectangle):Rectangle
Children of the target DisplayObjectContainer will be positioned and sized based on a specified rectangle.
ILayoutMode
  
removeClient(target:DisplayObject):void
Unregisters a specific display object from the layout algorithm.
IAdvancedLayoutMode
Method detail
addClient()method
public function addClient(target:DisplayObject, configuration:Object = null):void

Registers a specific display object with the layout algorithm. If certain settings need to be specified for individual display objects, they should be passed to the layout algorithm here.

Parameters
target:DisplayObject
 
configuration:Object (default = null)
removeClient()method 
public function removeClient(target:DisplayObject):void

Unregisters a specific display object from the layout algorithm.

Parameters
target:DisplayObject