Package | com.yahoo.astra.layout.modes |
Interface | public interface IAdvancedLayoutMode extends ILayoutMode, flash.events.IEventDispatcher |
Implementors | BaseLayoutMode, BorderLayout, BoxLayout, FlowLayout, TileLayout |
Method | Defined by | ||
---|---|---|---|
addClient(target:DisplayObject, configuration:Object = null):void
Registers a specific display object with the layout algorithm.
| IAdvancedLayoutMode | ||
![]() |
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 |
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.
Parameterstarget:DisplayObject |
|
configuration:Object (default = null )
|
removeClient | () | method |
public function removeClient(target:DisplayObject):void
Unregisters a specific display object from the layout algorithm.
Parameterstarget:DisplayObject |