Pacotemx.utils
Classepublic class DescribeTypeCache
HerançaDescribeTypeCache Inheritance Object

DescribeTypeCache is a convenience class that is used to cache the return values of flash.utils.describeType() so that calls made subsequent times return faster. This class also lets you set handler functions for specific value types. These will get called when the user tries to access these values on the DescribeTypeCacheRecord class.

Veja também

mx.utils.DescribeTypeCacheRecord


Propriedades Públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Métodos Públicos
 MétodoDefinido por
  
[static] Calls flash.utils.describeType() for the first time and caches the return value so that subsequent calls return faster.
DescribeTypeCache
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
[static] registerCacheHandler lets you add function handler for specific strings.
DescribeTypeCache
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Detalhes do método
describeType()método
public static function describeType(o:*):DescribeTypeCacheRecord

Calls flash.utils.describeType() for the first time and caches the return value so that subsequent calls return faster.

Parâmetros

o:*

Retorna
DescribeTypeCacheRecord

Veja também

registerCacheHandler()método 
public static function registerCacheHandler(valueName:String, handler:Function):void

registerCacheHandler lets you add function handler for specific strings. These functions get called when the user refers to these values on a instance of DescribeTypeCacheRecord.

Parâmetros

valueName:String — String that specifies the value for which the handler must be set.
 
handler:Function — Function that should be called when user references valueName.