| Package | com.gestureworks.cml.factories |
| Class | public class ObjectFactory |
| Inheritance | ObjectFactory flash.events.EventDispatcher |
| Implements | IObject |
| Subclasses | Camera, Gesture, LayoutFactory, Microphone |
See also
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| cmlIndex | property |
cmlIndex:intsets the index of cml
public function get cmlIndex():int public function set cmlIndex(value:int):void| id | property |
id:Stringsets the id
public function get id():String public function set id(value:String):void| propertyStates | property |
public var propertyStates:Array| state | property |
public var state:Arrayproperty states array
| ObjectFactory | () | Constructor |
public function ObjectFactory()Constructor
| clone | () | method |
public function clone():*Returns clone of self
Returns* |
| dispose | () | method |
public function dispose():voidDispose method
| parseCML | () | method |
public function parseCML(cml:XMLList):XMLListparses cml file
Parameters
cml:XMLList |
XMLList —
|
| postparseCML | () | method |
public function postparseCML(cml:XMLList):voidpostparse method
Parameters
cml:XMLList |
| updateProperties | () | method |
public function updateProperties(state:Number = 0):voidupdate the properties
Parameters
state:Number (default = 0) |