|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itmill.toolkit.event.Action
com.itmill.toolkit.event.ShortcutAction
public class ShortcutAction
Extends Action class with keyboard bindings. TODO: fix documentation.
Nested Class Summary | |
---|---|
static interface |
ShortcutAction.KeyCode
Key codes that can be used for shortcuts |
static interface |
ShortcutAction.ModifierKey
Modifier key constants |
Nested classes/interfaces inherited from class com.itmill.toolkit.event.Action |
---|
Action.Container, Action.Handler |
Constructor Summary | |
---|---|
ShortcutAction(String caption,
int kc,
int[] m)
|
|
ShortcutAction(String caption,
Resource icon,
int kc,
int[] m)
|
Method Summary | |
---|---|
int |
getKeyCode()
|
int[] |
getModifiers()
|
Methods inherited from class com.itmill.toolkit.event.Action |
---|
getCaption, getIcon, setCaption, setIcon |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShortcutAction(String caption, int kc, int[] m)
public ShortcutAction(String caption, Resource icon, int kc, int[] m)
Method Detail |
---|
public int getKeyCode()
public int[] getModifiers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |