| Package | com.gestureworks.cml.factories |
| Class | public class ContainerFactory |
| Inheritance | ContainerFactory ElementFactory flash.display.Sprite |
| Subclasses | Container |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | alpha : Number [override] [write-only]
sets the alpha for display objects
| ElementFactory | |
![]() | blur : Boolean
Sets the drop shadow effect
| ElementFactory | |
![]() | bottom : Number
sets the bottom value
| ElementFactory | |
| childList : ChildList [read-only]
store the child list
| ContainerFactory | ||
![]() | class_ : String
Object's css class;
| ElementFactory | |
![]() | className : String
sets the class name of displayobject
| ElementFactory | |
![]() | cmlIndex : int
sets the cml index
| ElementFactory | |
![]() | debugStyle : *
sets the debug style
| ElementFactory | |
| dimensionsTo : String
sets the dimensions of the container
| ContainerFactory | ||
![]() | displayEvents : String
Use for dispatch completes. | ElementFactory | |
![]() | dropShadow : Boolean
Sets the drop shadow effect
| ElementFactory | |
![]() | height : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | heightPercent : String
sets the height percent of display object
| ElementFactory | |
![]() | horizontalCenter : Number
sets the horizontal center of display object
| ElementFactory | |
![]() | id : String
sets the id of child
| ElementFactory | |
![]() | index : int
sets the index of display object
| ElementFactory | |
| infoSource : String
sets info source
| ContainerFactory | ||
![]() | left : Number
sets left value
| ElementFactory | |
![]() | propertyStates : Array Deprecated: Please Use state | ElementFactory | |
![]() | right : Number
sets the right value
| ElementFactory | |
![]() | scale : Number
Sets both the x and y scale values
| ElementFactory | |
![]() | scaleX : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | scaleY : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | state : Array
property states array
| ElementFactory | |
![]() | top : Number
sets top value
| ElementFactory | |
![]() | verticalCenter : Number
sets the vertical center of display object
| ElementFactory | |
![]() | width : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | widthPercent : String
sets the percent of width of display object
| ElementFactory | |
| Method | Defined By | ||
|---|---|---|---|
Constructor
| ContainerFactory | ||
addAllChildren():void
This method searches the childlist and add the children
| ContainerFactory | ||
childToList(id:String, child:*):void
this method append to the childlist
| ContainerFactory | ||
![]() | clone():*
Returns clone of self
| ElementFactory | |
![]() | displayComplete():void
CML callback
| ElementFactory | |
dispose():void [override]
Dispose method to nullify child
| ContainerFactory | ||
![]() | init():void
Initialization function
| ElementFactory | |
![]() | parseCML(cml:XMLList):XMLList
parses cml file
| ElementFactory | |
![]() | postparseCML(cml:XMLList):void
post parses the cml file
| ElementFactory | |
setDimensionsToChild():void
This method sets the dimensions of childlist
| ContainerFactory | ||
![]() | updateProperties(state:Number = 0):void
this method updates the properties
| ElementFactory | |
| childList | property |
childList:ChildList [read-only] store the child list
public function get childList():ChildList| dimensionsTo | property |
dimensionsTo:Stringsets the dimensions of the container
public function get dimensionsTo():String public function set dimensionsTo(value:String):void| infoSource | property |
infoSource:Stringsets info source
public function get infoSource():String public function set infoSource(value:String):void| ContainerFactory | () | Constructor |
public function ContainerFactory()Constructor
| addAllChildren | () | method |
public function addAllChildren():voidThis method searches the childlist and add the children
| childToList | () | method |
public function childToList(id:String, child:*):voidthis method append to the childlist
Parameters
id:String | |
child:* |
| dispose | () | method |
override public function dispose():voidDispose method to nullify child
| setDimensionsToChild | () | method |
public function setDimensionsToChild():voidThis method sets the dimensions of childlist