Packagecom.yahoo.astra.fl.utils
Classpublic class UIComponentUtil

Utility functions for use with UIComponents.



Public Methods
 MethodDefined 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
Method detail
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.

Parameters
target:DisplayObject — the parent of the new instance
 
input:Object — the object to convert to a DisplayObject instance

Returns
DisplayObject

See also