Adding keyboard shortcuts for toolbar actions the easy way

72 views
Skip to first unread message

Setya

unread,
Apr 20, 2007, 8:00:10 AM4/20/07
to Google Web Toolkit
Hi all,

Our GWT application has generic toolbar that performs action like
add,save and delete. Each time the user open a page that enables this
toolbar, we would like to give keyboard shortcut facility so that user
does not have to use mouse to click these buttons. Users demand this
feature since they have got used to desktop applications.

Is it possible to implement this feature in GWT application without
having to add keyboard listeners on each widget on current page ?

Any advice would be greatly appreciated.


Best Regards,

Setya

Reinier Zwitserloot

unread,
Apr 20, 2007, 9:38:10 AM4/20/07
to Google Web Toolkit
Yes, look into the previewEvent method of the DOM class.
Reply all
Reply to author
Forward
0 new messages