Package | com.yahoo.astra.fl.utils |
Class | public class UIComponentUtil |
Method | Defined by | ||
---|---|---|---|
getDisplayObjectInstance(target:DisplayObject, input:Object):DisplayObject
[static]
Using an input, such as a component style, tries to convert the input
to a DisplayObject.
| UIComponentUtil |
getDisplayObjectInstance | () | method |
public static function getDisplayObjectInstance(target:DisplayObject, input:Object):DisplayObject
Using an input, such as a component style, tries to convert the input to a DisplayObject.
Possible inputs include Class, a String representatation of a fully-qualified class name, Function, any existing instance of a DisplayObject, or InstanceFactory.
Parameterstarget:DisplayObject — the parent of the new instance
|
|
input:Object — the object to convert to a DisplayObject instance
|
DisplayObject |
See also