Class AjxCallback

Object
   |
   +--AjxCallback
Direct Known Subclasses:
AjxTimedAction

class AjxCallback


This class represents a callback function which can be called standalone, or from a given object. What the callback takes as arguments and what it returns are left to the client.
Defined in AjxCallback.js

Author: Conrad Damon


Field Summary
 Object args
          
 Object func
          
 Object obj
          
 
Constructor Summary
AjxCallback (obj, func, args)
            Creates a callback which consists of at least a function reference, and possibly also an object to call it from.
 
Method Summary
 Object run()
           Runs the callback function, from within the object if there is one.
 Object toString()
          
<static> Object simpleClosure(func, obj)
           The following function is what an AjxCallback should be *all* about.

Field Detail

args

Object args

func

Object func

obj

Object obj

Constructor Detail

AjxCallback

AjxCallback(obj, func, args)

Method Detail

run

Object run()

toString

Object toString()

simpleClosure

<static> Object simpleClosure(func, obj)


Documentation generated by JSDoc on Thu Apr 27 13:58:41 2006