Packageorg.spicefactory.parsley.core.events
Classpublic class ContextLookupEvent
InheritanceContextLookupEvent Inheritance flash.events.Event

Bubbling Event that may be fired by components that want to find out the nearest Context in the view hierarchy above them.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
ContextLookupEvent(callback:Function)
Creates a new event instance.
ContextLookupEvent
  
Marks this event instance as processed by a corresponding Context.
ContextLookupEvent
Public Constants
 ConstantDefined 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
Property Detail
contextproperty
context:Context

The nearest Context in the view hieararchy above the component that fired the Event (or null if there is no such Context).


Implementation
    public function get context():Context
    public function set context(value:Context):void
processedproperty 
processed:Boolean  [read-only]

Indicates whether this event instance has already been processed by a Context.


Implementation
    public function get processed():Boolean
Constructor Detail
ContextLookupEvent()Constructor
public function ContextLookupEvent(callback:Function)

Creates a new event instance.

Parameters
callback:Function — the function to invoke as soon as the Context has been determined
Method Detail
markAsProcessed()method
public function markAsProcessed():void

Marks this event instance as processed by a corresponding Context.

Constant Detail
LOOKUPConstant
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.