Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Detect "mouseleave" event
Detect "mouseleave" event [message #875246] Tue, 22 May 2012 08:00 Go to next message
Radmila Apostolovici is currently offline Radmila Apostolovici
Messages: 2
Registered: July 2011
Junior Member
I've played with RAP 1.5 demos and I've noticed some strange behavior.

For the tableviewer example, if I scroll the table using the mouse and I release the mouse outside the browser window, when I return to the browser window the table is scrolled on "mousemove".

The "mouseup" event is not captured since it is outside the browser window, but is it possible to capture the "mouseleave" event for the top most Qooxdoo parent and notify all its children?

Also can you, please, tell me where can I find some documentation for the RAP client Javascript API?
Re: Detect "mouseleave" event [message #876751 is a reply to message #875246] Fri, 25 May 2012 04:29 Go to previous message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 358
Registered: July 2009
Senior Member
Hi.

> The "mouseup" event is not captured since it is outside the browser
That is correct.

> window, but is it possible to capture the "mouseleave" event for the top
> most Qooxdoo parent and notify all its children?

Then if you would scroll/drag something and temporarily leave the window
by accident, you would have to start the drag anew, which i would
consider even more annoying.

>
> Also can you, please, tell me where can I find some documentation for
> the RAP client Javascript API?

There is no documentation since there is no public API. We are aware
this is a problem: https://bugs.eclipse.org/bugs/show_bug.cgi?id=324434

The client is a fork of Qooxdoo 0.7.4, but most of the API has been
removed or slightly changed. Still, here it is:
http://demo.qooxdoo.org/0.7.x/apiviewer/

If you wish to change/add client behavior, you might want to look at the
ClientScripting project: http://wiki.eclipse.org/RAP/ClientScripting

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:[ANN] RAP 1.5M7 published, API changes
Next Topic:Getting Servlet Request Info
Goto Forum:
  


Current Time: Thu Apr 24 11:20:16 EDT 2014

Powered by FUDForum. Page generated in 0.01477 seconds