Packageorg.spicefactory.parsley.core.view.util
Classpublic class StageEventFilter
InheritanceStageEventFilter Inheritance Object

Utility class for filtering stage events that were only caused by reparenting a DisplayObject.



Public Methods
 MethodDefined By
  
StageEventFilter(view:DisplayObject, removedHandler:Function, addedHandler:Function = null)
Creates a new instance that filters events for the specified view.
StageEventFilter
  
dispose():void
Instructs this filter to stop listening to stage events.
StageEventFilter
Constructor Detail
StageEventFilter()Constructor
public function StageEventFilter(view:DisplayObject, removedHandler:Function, addedHandler:Function = null)

Creates a new instance that filters events for the specified view.

Parameters
view:DisplayObject — the view for which to filter stage events
 
removedHandler:Function — the handler to invoke for filtered removedFromStage events
 
addedHandler:Function (default = null) — the handler to invoke for filtered addedToStage events
Method Detail
dispose()method
public function dispose():void

Instructs this filter to stop listening to stage events.