Packagecom.gestureworks.cml.factories
Classpublic class ObjectFactory
InheritanceObjectFactory Inheritance flash.events.EventDispatcher
Implements IObject
Subclasses Camera, Gesture, LayoutFactory, Microphone

The ObjectFactory is the base class for all CML Objects. It is an abstract class that is not meant to be called directly.

See also

com.gestureworks.cml.factories.ElementFactory
com.gestureworks.cml.factories.GraphicFactory


Public Properties
 PropertyDefined By
  cmlIndex : int
sets the index of cml
ObjectFactory
  id : String
sets the id
ObjectFactory
  propertyStates : Array
Deprecated: Please Use state
ObjectFactory
  state : Array
property states array
ObjectFactory
Public Methods
 MethodDefined By
  
Constructor
ObjectFactory
  
clone():*
Returns clone of self
ObjectFactory
  
dispose():void
Dispose method
ObjectFactory
  
parseCML(cml:XMLList):XMLList
parses cml file
ObjectFactory
  
postparseCML(cml:XMLList):void
postparse method
ObjectFactory
  
updateProperties(state:Number = 0):void
update the properties
ObjectFactory
Property Detail
cmlIndexproperty
cmlIndex:int

sets the index of cml


Implementation
    public function get cmlIndex():int
    public function set cmlIndex(value:int):void
idproperty 
id:String

sets the id


Implementation
    public function get id():String
    public function set id(value:String):void
propertyStatesproperty 
public var propertyStates:Array
Deprecated: Please Use state

stateproperty 
public var state:Array

property states array

Constructor Detail
ObjectFactory()Constructor
public function ObjectFactory()

Constructor

Method Detail
clone()method
public function clone():*

Returns clone of self

Returns
*
dispose()method 
public function dispose():void

Dispose method

parseCML()method 
public function parseCML(cml:XMLList):XMLList

parses cml file

Parameters

cml:XMLList

Returns
XMLList
postparseCML()method 
public function postparseCML(cml:XMLList):void

postparse method

Parameters

cml:XMLList

updateProperties()method 
public function updateProperties(state:Number = 0):void

update the properties

Parameters

state:Number (default = 0)