Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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:Single-sourcing with E4 apps?
Next Topic:RAP themes
Goto Forum:
  


Current Time: Tue Jun 17 19:02:29 EDT 2025

Powered by FUDForum. Page generated in 0.03870 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top