Packagecom.gestureworks.cml.factories
Classpublic class ContainerFactory
InheritanceContainerFactory Inheritance ElementFactory Inheritance flash.display.Sprite
Subclasses Container

The ContainerFactory class is the base class for all Containers. It is an abstract class that is not meant to be called directly.

See also

com.gestureworks.cml.factories.Container
com.gestureworks.cml.factories.ElementFactory
com.gestureworks.cml.factories.ObjectFactory


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
[override] [write-only] sets the alpha for display objects
ElementFactory
 Inheritedblur : Boolean
Sets the drop shadow effect
ElementFactory
 Inheritedbottom : Number
sets the bottom value
ElementFactory
  childList : ChildList
[read-only] store the child list
ContainerFactory
 Inheritedclass_ : String
Object's css class;
ElementFactory
 InheritedclassName : String
sets the class name of displayobject
ElementFactory
 InheritedcmlIndex : int
sets the cml index
ElementFactory
 InheriteddebugStyle : *
sets the debug style
ElementFactory
  dimensionsTo : String
sets the dimensions of the container
ContainerFactory
 InheriteddisplayEvents : String
Use for dispatch completes.
ElementFactory
 InheriteddropShadow : Boolean
Sets the drop shadow effect
ElementFactory
 Inheritedheight : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedheightPercent : String
sets the height percent of display object
ElementFactory
 InheritedhorizontalCenter : Number
sets the horizontal center of display object
ElementFactory
 Inheritedid : String
sets the id of child
ElementFactory
 Inheritedindex : int
sets the index of display object
ElementFactory
  infoSource : String
sets info source
ContainerFactory
 Inheritedleft : Number
sets left value
ElementFactory
 InheritedpropertyStates : Array
Deprecated: Please Use state
ElementFactory
 Inheritedright : Number
sets the right value
ElementFactory
 Inheritedscale : Number
Sets both the x and y scale values
ElementFactory
 InheritedscaleX : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedscaleY : Number
[override] Sets width of the display object in pixels
ElementFactory
 Inheritedstate : Array
property states array
ElementFactory
 Inheritedtop : Number
sets top value
ElementFactory
 InheritedverticalCenter : Number
sets the vertical center of display object
ElementFactory
 Inheritedwidth : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedwidthPercent : String
sets the percent of width of display object
ElementFactory
Public Methods
 MethodDefined By
  
Constructor
ContainerFactory
  
This method searches the childlist and add the children
ContainerFactory
  
childToList(id:String, child:*):void
this method append to the childlist
ContainerFactory
 Inherited
clone():*
Returns clone of self
ElementFactory
 Inherited
CML callback
ElementFactory
  
dispose():void
[override] Dispose method to nullify child
ContainerFactory
 Inherited
init():void
Initialization function
ElementFactory
 Inherited
parseCML(cml:XMLList):XMLList
parses cml file
ElementFactory
 Inherited
postparseCML(cml:XMLList):void
post parses the cml file
ElementFactory
  
This method sets the dimensions of childlist
ContainerFactory
 Inherited
updateProperties(state:Number = 0):void
this method updates the properties
ElementFactory
Property Detail
childListproperty
childList:ChildList  [read-only]

store the child list


Implementation
    public function get childList():ChildList
dimensionsToproperty 
dimensionsTo:String

sets the dimensions of the container


Implementation
    public function get dimensionsTo():String
    public function set dimensionsTo(value:String):void
infoSourceproperty 
infoSource:String

sets info source


Implementation
    public function get infoSource():String
    public function set infoSource(value:String):void
Constructor Detail
ContainerFactory()Constructor
public function ContainerFactory()

Constructor

Method Detail
addAllChildren()method
public function addAllChildren():void

This method searches the childlist and add the children

childToList()method 
public function childToList(id:String, child:*):void

this method append to the childlist

Parameters

id:String
 
child:*

dispose()method 
override public function dispose():void

Dispose method to nullify child

setDimensionsToChild()method 
public function setDimensionsToChild():void

This method sets the dimensions of childlist