There isn't such a method in GWT. As far as I know, only IE has a method to get the currently focused element (document.activeElement). For other browsers, you have to use focus/blur handlers to keep track (although maybe you can do it at the top level for Firefox/Chrome?
Thanks,
John LaBanca
jlabanca@google.com
On Mon, Nov 1, 2010 at 12:05 PM, Ice13ill <andrei.fifiita@gmail.com> wrote:
I searched for a method in GWT to test if a widget is focused or not
but i couldn't find one.
Is there a method in the GWT classes or do i have to create a native
js method ?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment