Package | Description |
---|---|
org.eclipse.gef |
All interfaces, base types, and the plugin class are here.
|
Modifier and Type | Method and Description |
---|---|
static KeyStroke |
KeyStroke.getPressed(char character,
int stateMask)
Constructs a KeyStroke that will match the given
KeyEvent.character and KeyEvent.stateMask during a press
event. |
static KeyStroke |
KeyStroke.getPressed(char character,
int keyCode,
int stateMask)
Constructs a KeyStroke that will match the given
KeyEvent.character , KeyEvent.keyCode , and
KeyEvent.stateMask during a press event. |
static KeyStroke |
KeyStroke.getPressed(int keyCode,
int stateMask)
Constructs a KeyStroke that will match the given
KeyEvent.keyCode
and KeyEvent.stateMask during a press event. |
static KeyStroke |
KeyStroke.getReleased(char character,
int stateMask)
Constructs a KeyStroke that will match the given
KeyEvent.character and KeyEvent.stateMask during a
release event. |
static KeyStroke |
KeyStroke.getReleased(char character,
int keyCode,
int stateMask)
Constructs a KeyStroke that will match the given
KeyEvent.character , KeyEvent.keyCode , and
KeyEvent.stateMask during a release event. |
static KeyStroke |
KeyStroke.getReleased(int keyCode,
int stateMask)
Constructs a KeyStroke that will match the given
KeyEvent.keyCode
and KeyEvent.stateMask during a release event. |
Modifier and Type | Method and Description |
---|---|
void |
KeyHandler.put(KeyStroke keystroke,
IAction action)
Maps a specified
KeyStroke to an IAction . |
void |
KeyHandler.remove(KeyStroke keystroke)
Removed a mapped
IAction for the specified
KeyStroke . |
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.