Packagecom.gestureworks.cml.core
Classpublic class CMLObject
InheritanceCMLObject Inheritance flash.events.EventDispatcher
Implements IObject
Subclasses Gesture, Layout, Microphone, VideoCamera, Window

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



Public Properties
 PropertyDefined By
  childList : ChildList
Returns the object's childList.
CMLObject
  cmlIndex : int
Returns the index created by the CML parser.
CMLObject
  id : String
Returns the object's id.
CMLObject
  state : Array
CMLObject
Public Methods
 MethodDefined By
  
Constructor
CMLObject
  
clone():*
Clone method.
CMLObject
  
dispose():void
Dispose method.
CMLObject
  
init():void
Initialization method.
CMLObject
  
parseCML(cml:XMLList):XMLList
Internal CML parse method.
CMLObject
  
postparseCML(cml:XMLList):void
Abstract method allows the setting of a postparse CML routine.
CMLObject
  
updateProperties(state:* = 0):void
Updates properties from state.
CMLObject
Property Detail
childListproperty
childList:ChildList

Returns the object's childList.


Implementation
    public function get childList():ChildList
    public function set childList(value:ChildList):void
cmlIndexproperty 
cmlIndex:int

Returns the index created by the CML parser.


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

Returns the object's id.


Implementation
    public function get id():String
    public function set id(value:String):void
stateproperty 
public var state:Array

Constructor Detail
CMLObject()Constructor
public function CMLObject()

Constructor

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

Clone method.

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

Dispose method.

init()method 
public function init():void

Initialization method.

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

Internal CML parse method. This can be overridden to create custom parse routines.

Parameters

cml:XMLList

Returns
XMLList — The XMLList to return back to the CML parser for further processing.
postparseCML()method 
public function postparseCML(cml:XMLList):void

Abstract method allows the setting of a postparse CML routine.

Parameters

cml:XMLList

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

Updates properties from state.

Parameters

state:* (default = 0)