Menu

#30 JsGraphicsPanel and Mouse Events

open
nobody
None
5
2007-07-24
2007-07-24
No

I extended the JsGraphicsPanel class to catch mouse events.

For this purpose I ...

1.) implement "SourcesClickEvents, SourcesMouseEvents"

2.) add "sinkEvents(Event.ONCLICK | Event.MOUSEEVENTS );" to my constructor

3.) overwrite "onBrowserEvent(Event event)" to handle my events.

With GWT 1.3.3 and and GWT WL 0.1.3 everything is working. With GWT 1.4.10 and the current WL I do not get the events. Do you have an idea what the problem is?

Thank you,
Lars

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.