xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: Double click not working
Date Wed, 12 Sep 2007 11:40:52 GMT
Hi Java Noob,

javaNoob <noypi_baller@yahoo.com> wrote on 09/11/2007 07:13:52 AM:

> i thought that that is the main goal.. to cast the event to an awt 
event.. i
> would like to know how to determine a double click using EventListener

   No you want the DOM Event as a DOM MouseEvent (it isn't an AWT
MouseEvent):

http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-MouseEvent

   From that interface you can get the 'detail' which will have the
click count in it.



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message