Package | org.spicefactory.parsley.util |
Class | public class ContextCallbacks |
Inheritance | ContextCallbacks Object |
Method | Defined By | ||
---|---|---|---|
cancel():void
Discards all callbacks registered with this instance. | ContextCallbacks | ||
configured(handler:Function):ContextCallbacks
The handler to invoke when the Context fires its configured event
or immediately in case the Context is already configured. | ContextCallbacks | ||
error(handler:Function):ContextCallbacks
The handler to invoke when the Context creation aborts with an error. | ContextCallbacks | ||
[static] | ContextCallbacks | ||
initialized(handler:Function):ContextCallbacks
The handler to invoke when the Context fires its initialized event
or immediately in case the Context is already initialized. | ContextCallbacks |
cancel | () | method |
public function cancel():void
Discards all callbacks registered with this instance.
configured | () | method |
public function configured(handler:Function):ContextCallbacks
The handler to invoke when the Context fires its configured event or immediately in case the Context is already configured.
Parameters
handler:Function — the handler to invoke when the Context is configured
|
ContextCallbacks — this instance for method chaining
|
error | () | method |
public function error(handler:Function):ContextCallbacks
The handler to invoke when the Context creation aborts with an error.
Parameters
handler:Function — the handler to invoke when the Context creation aborts with an error
|
ContextCallbacks — this instance for method chaining
|
forContext | () | method |
public static function forContext(context:Context):ContextCallbacks
Parameters
context:Context |
ContextCallbacks |
initialized | () | method |
public function initialized(handler:Function):ContextCallbacks
The handler to invoke when the Context fires its initialized event or immediately in case the Context is already initialized.
Parameters
handler:Function — the handler to invoke when the Context is initialized
|
ContextCallbacks — this instance for method chaining
|