Package | com.gestureworks.cml.core |
Class | public class CMLObjectList |
Inheritance | CMLObjectList ![]() |
It is populated by the CMLParser class. It is a singleton class that can be accessed through the instance method. The class has an iterator and several other cml object selection functions:
// returns object by given id string CMLObjectList.instance.getId("my-id"); // returns object by given css class string CMLObjectList.instance.getCSSClass("my-css-class"); // returns object by given as3 class CMLObjectList.instance.getClass("ImageElement");
See also
Property | Defined By | ||
---|---|---|---|
instance : CMLObjectList [static] [read-only]
Singleton accessor
| CMLObjectList |
Method | Defined By | ||
---|---|---|---|
CMLObjectList(enforcer:SingletonEnforcer)
Constructor allows single instance
| CMLObjectList | ||
getId(id:String):* [override]
Returns cml object by id value. | CMLObjectList |
instance | property |
instance:CMLObjectList
[read-only] Singleton accessor
public static function get instance():CMLObjectList
CMLObjectList | () | Constructor |
public function CMLObjectList(enforcer:SingletonEnforcer)
Constructor allows single instance
Parametersenforcer:SingletonEnforcer |
getId | () | method |
override public function getId(id:String):*
Returns cml object by id value. Same as: CMLObjectList.instance.getKey(value)
Parameters
id:String — The string cml object id.
|
* — object The corresponding display object if found.
|