Package | org.spicefactory.parsley.core.events |
Class | public class ContextLookupEvent |
Inheritance | ContextLookupEvent flash.events.Event |
Property | Defined By | ||
---|---|---|---|
context : Context
The nearest Context in the view hieararchy above the component that fired the Event
(or null if there is no such Context). | ContextLookupEvent | ||
processed : Boolean [read-only]
Indicates whether this event instance has already been processed by a Context. | ContextLookupEvent |
Method | Defined By | ||
---|---|---|---|
ContextLookupEvent(callback:Function)
Creates a new event instance. | ContextLookupEvent | ||
markAsProcessed():void
Marks this event instance as processed by a corresponding Context. | ContextLookupEvent |
Constant | Defined By | ||
---|---|---|---|
LOOKUP : String = lookup [static]
Constant for the type of bubbling event fired when components want to find out the nearest
Context in the view hierarchy above them. | ContextLookupEvent |
context | property |
context:Context
The nearest Context in the view hieararchy above the component that fired the Event (or null if there is no such Context).
public function get context():Context
public function set context(value:Context):void
processed | property |
processed:Boolean
[read-only] Indicates whether this event instance has already been processed by a Context.
public function get processed():Boolean
ContextLookupEvent | () | Constructor |
public function ContextLookupEvent(callback:Function)
Creates a new event instance.
Parameterscallback:Function — the function to invoke as soon as the Context has been determined
|
markAsProcessed | () | method |
public function markAsProcessed():void
Marks this event instance as processed by a corresponding Context.
LOOKUP | Constant |
public static const LOOKUP:String = lookup
Constant for the type of bubbling event fired when components want to find out the nearest Context in the view hierarchy above them.