YUI Flash Component Documentation | All Packages | All Classes | Index | Frames No Frames |
Interface IAdvancedLayoutMode

Package | com.yahoo.astra.layout.modes
Interface | public interface IAdvancedLayoutMode extends ILayoutMode, flash.events.IEventDispatcher
Implementors | BaseLayoutMode, BorderLayout, BoxLayout, FlowLayout, TileLayout

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

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| 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

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`