com.itmill.toolkit.terminal.gwt.client.ui
Class ShortcutActionHandler
java.lang.Object
com.itmill.toolkit.terminal.gwt.client.ui.ShortcutActionHandler
public class ShortcutActionHandler
- extends Object
A helper class to implement keyboard shorcut handling. Keeps a list of owners
actions and fires actions to server. User class needs to delegate keyboard
events to handleKeyboardEvents function.
- Author:
- IT Mill ltd
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShortcutActionHandler
public ShortcutActionHandler(String pid,
ApplicationConnection c)
- Parameters:
pid
- Paintable idc
- reference to application connections
updateActionMap
public void updateActionMap(UIDL c)
- Updates list of actions this handler listens to.
- Parameters:
c
- UIDL snippet containing actions
handleKeyboardEvent
public void handleKeyboardEvent(com.google.gwt.user.client.Event event)
shakeTarget
public static void shakeTarget(com.google.gwt.user.client.Element e)
Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.