public function DoubleClickHandler(component:UIComponent, singleClickHandler:Function, doubleClickHandler:Function = null, priority:int = -50)
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Constructor.
Parameters
component:UIComponent — The host component (listen to its events)
singleClickHandler:Function — The function to call if a single click is detected. The function takes the form: singleClickHandler(e:MouseEvent):void.
doubleClickHandler:Function (default = null) — An optional function to call if a double click is detected. The function takes the form: doubleClickHandler(e:MouseEvent):void.
priority:int (default = -50) — The event priority to use for the mouse event listeners on component.
Method Detail
delayedClick
()
method
protected function delayedClick(e:TimerEvent):void
Parameters
e:TimerEvent
mouseClickHandler
()
method
protected function mouseClickHandler(event:MouseEvent):void
Parameters
event:MouseEvent
mouseDoubleClickHandler
()
method
protected function mouseDoubleClickHandler(event:MouseEvent):void