Hi,
I'm using following mechanism:
Event.addNativePreviewHandler(new NativePreviewHandler() {
@Override
public void onPreviewNativeEvent(NativePreviewEvent event) {
switch (event.getTypeInt()) {
case Event.ONKEYDOWN:
case Event.ONKEYPRESS:
case Event.ONMOUSEMOVE:
case Event.ONCLICK:
case Event.ONDBLCLICK:
case Event.ONMOUSEWHEEL:
... some logic ...
}
}
});
This enables me the react on each user's action in the current
window.
HTH,
Lukasz
On 17 Jan., 12:40, saket kumar <[email protected]> wrote:
> Hi All,
>
> Is there a way I can check if the user is active on the GWT browser page
> i.e. if he is scrolling,clicking, tabbing etc. ? I basically need a global
> listener.
>
> Thanks in advance
>
> --
> Regards,
> Saket Kumar
> +91 9811139807
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.