Package | com.gestureworks.cml.managers |
Class | public class LayoutManager |
Inheritance | LayoutManager ![]() |
See also
Property | Defined By | ||
---|---|---|---|
instance : LayoutManager [static] [read-only]
Returns an instance of the LayoutManager class
| LayoutManager | ||
layoutList : Dictionary
Returns a dictionary of layouts
| LayoutManager |
Method | Defined By | ||
---|---|---|---|
LayoutManager(enforcer:SingletonEnforcer)
Constructor
| LayoutManager | ||
Adds the layout to the layout list
| LayoutManager | ||
layout(id:String, container:IContainer):void
Adds the layout to the layoutList
| LayoutManager |
instance | property |
instance:LayoutManager
[read-only] Returns an instance of the LayoutManager class
public static function get instance():LayoutManager
layoutList | property |
layoutList:Dictionary
Returns a dictionary of layouts
public function get layoutList():Dictionary
public function set layoutList(value:Dictionary):void
LayoutManager | () | Constructor |
public function LayoutManager(enforcer:SingletonEnforcer)
Constructor
Parametersenforcer:SingletonEnforcer |
addLayout | () | method |
public function addLayout(id:String, layout:ILayout):void
Adds the layout to the layout list
Parameters
id:String — layout's id
| |
layout:ILayout — must implement ILayout
|
layout | () | method |
public function layout(id:String, container:IContainer):void
Adds the layout to the layoutList
Parameters
id:String | |
container:IContainer |