ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.gravity.utility.async 

HandlerHolder  - AS3 ADEP Client Component

Packagecom.adobe.gravity.utility.async
Classpublic class HandlerHolder
InheritanceHandlerHolder Inheritance Object

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

A utility class to hold a set of handlers and call them.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
Constructor.
HandlerHolder
  
addHandler(handler:Function, weakReference:Boolean = false):void
Add a handler function.
HandlerHolder
  
callHandlers(... parameters):void
Call all the handlers with the provided parameters.
HandlerHolder
 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
  
Remove a handler function.
HandlerHolder
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constructor Detail

HandlerHolder

()Constructor
public function HandlerHolder()

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Constructor.

Method Detail

addHandler

()method
public function addHandler(handler:Function, weakReference:Boolean = false):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Add a handler function.

Parameters

handler:Function — The handler function.
 
weakReference:Boolean (default = false) — Use a weak reference to hold onto the handler.

callHandlers

()method 
public function callHandlers(... parameters):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Call all the handlers with the provided parameters.

Parameters

... parameters — Any parameters with which to call the handlers.

removeHandler

()method 
public function removeHandler(handler:Function):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

Remove a handler function.

Parameters

handler:Function — The handler function.