On 17 sep, 15:15, "n...@oj" <[email protected]> wrote:
> Hi everyone,
>
> I'm working on an accessible gwt application. Some pages are
> restricted to logged user. At each action, the system substracts time
> of the user account.
>
> Disability people do not use mouse, so I don't know how to detect if
> they are idle or not, exept using KeyPressHandler when they write in
> text fields.
>
> Does anyone have an idea ?
I'm not sure that's a really good idea overall... but you can usually
detect "idleness" using both mousemove and keydown/keyup events.
In GWT, just use a NativePreviewHandler to receive all events (see
Event.addNativePreviewHandler(...))
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---