public interface IEventModifiers
Modifier and Type | Field and Description |
---|---|
static int |
ALT
modifier for alt key
|
static int |
CONDITIONAL
For PRESSED KeyEvents, indicates that the key that was typed should be considered
"conditional" - that is it may be superceded by another key.
|
static int |
CONTROL
modifier for control key
|
static int |
DOUBLE_PRESS |
static int |
FROM_INPUT_METHOD
This indicates that the KeyEvent was generated by an InputMethod.
|
static int |
FROM_OTHER_WINDOW
For PenEvents, indicates that the event is coming from another window (for drag and drop)
|
static int |
INVISIBLE
modifier used when specifying hot keys - indicates that the key should not be underlined.
|
static int |
MIDDLE_BUTTON
For PenEvents, indicates that the middle button is being pressed.
|
static int |
MULTICHARACTER
For PRESSED KeyEvents, indicates that the text element has a multi-character
string that should be considered as entered by the user.
|
static int |
ONLY
modifier used when specifying hot keys - indicates that the key alone with no modifier must be pressed.
|
static int |
POST_TO_BACK
If you call WindowSurface.postRawEvent() with this modifier, it will
definitely put it at the back of the queue and so will be guaranteed
to be delivered before another event posted afterwards.
|
static int |
REPEATED
For PRESSED KeyEvents, indicates that the key press is generated
because the key is being held down.
|
static int |
REPLACEMENT
For PRESSED KeyEvents, indicates that the key that was typed should be considered
to replace the previously sent key press.
|
static int |
RIGHT_BUTTON
For PenEvents, indicates that the right button is being pressed.
|
static int |
SHIFT
modifier for shift key
|
static int |
SPECIAL
modifier for non-ascii keys
|
static int |
TRANSFERRED_PRESS
For PenEvents, indicates that the event is coming from another control
|
static final int ALT
static final int CONTROL
static final int SHIFT
static final int SPECIAL
static final int ONLY
static final int INVISIBLE
static final int REPEATED
static final int MULTICHARACTER
static final int CONDITIONAL
static final int REPLACEMENT
static final int FROM_INPUT_METHOD
static final int POST_TO_BACK
static final int RIGHT_BUTTON
static final int MIDDLE_BUTTON
static final int FROM_OTHER_WINDOW
static final int TRANSFERRED_PRESS
static final int DOUBLE_PRESS