Package | org.spicefactory.parsley.core.view.util |
Class | public class ContextAwareEventHandler |
Inheritance | ContextAwareEventHandler Object |
Method | Defined By | ||
---|---|---|---|
ContextAwareEventHandler(context:Context, handler:Function)
Creates a new instance. | ContextAwareEventHandler | ||
dispose():void
Dispose this event handler, clearing its internal cache of events that needed deferral. | ContextAwareEventHandler | ||
handleEvent(event:Event):void
Handles the specified event, potentially deferring the target handler invocation in case the
associated Context is not fully initialized yet. | ContextAwareEventHandler |
ContextAwareEventHandler | () | Constructor |
public function ContextAwareEventHandler(context:Context, handler:Function)
Creates a new instance.
Parameterscontext:Context — the associated Context
| |
handler:Function — the handler to invoke for each event
|
dispose | () | method |
public function dispose():void
Dispose this event handler, clearing its internal cache of events that needed deferral.
handleEvent | () | method |
public function handleEvent(event:Event):void
Handles the specified event, potentially deferring the target handler invocation in case the associated Context is not fully initialized yet.
Parameters
event:Event — the event to handle
|