|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.api.AuthorInputEvent
public abstract class AuthorInputEvent
Base class for Author input events.
Field Summary | |
---|---|
static int |
ALT_GRAPH_PRESSED
This flag indicates that the AltGraph key was down when the event occurred. |
static int |
ALT_PRESSED
This flag indicates that the Alt key was down when the event occurred. |
boolean |
consumed
States whether or not the event has been consumed. |
static int |
CTRL_PRESSED
This flag indicates that the Control key was down when the event occurred. |
static int |
META_PRESSED
This flag indicates that the Meta key was down when the event occurred. |
int |
modifiers
The state of the modifier mask at the time the input event was fired. |
static int |
SHIFT_PRESSED
This flag indicates that the Shift key was down when the event occurred. |
Constructor Summary | |
---|---|
AuthorInputEvent(int modifiers)
Constructor for author input event. |
Method Summary | |
---|---|
void |
consume()
Set the consumed flag for the event. |
int |
getModifiers()
|
boolean |
isAltGraphPressed()
|
boolean |
isAltPressed()
|
boolean |
isConsumed()
|
boolean |
isCtrlPressed()
|
boolean |
isMetaPressed()
|
boolean |
isShiftPressed()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SHIFT_PRESSED
public static final int CTRL_PRESSED
public static final int META_PRESSED
public static final int ALT_PRESSED
public static final int ALT_GRAPH_PRESSED
public final int modifiers
public boolean consumed
Constructor Detail |
---|
public AuthorInputEvent(int modifiers)
modifiers
- The modifiers.Method Detail |
---|
public void consume()
public boolean isConsumed()
true
if the event was consumed.public boolean isShiftPressed()
true
if SHIFT key was pressed.public boolean isCtrlPressed()
true
if CTRL key was pressed.public boolean isAltPressed()
true
if ALT key was pressed.public boolean isAltGraphPressed()
true
if ALT GR key was pressed.public boolean isMetaPressed()
true
if META key was pressed.public int getModifiers()
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |