Modifier and Type | Field and Description |
---|---|
private boolean |
mouse
true if the entry event was caused by a mouse event. |
CHAR_ALT_KEY_BIT, CHAR_UNDEFINED, STATE_ALT_KEY_BIT
Constructor and Description |
---|
EntryEvent(Widget source,
int id)
Initializes an entry event.
|
EntryEvent(Widget source,
Widget other,
int id,
boolean eventMode)
Initializes an entry event.
|
EntryEvent(Widget src,
Widget other,
int id,
boolean mode,
boolean isKey,
boolean skipActivation,
boolean mouse)
Initializes an entry event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMouse()
Returns
true if the entry event was caused by a mouse event. |
void |
print(PrintHelper printer)
Print all class-specific fields.
|
actionCode, canProduceAction, dispatch, getKeyState, isCausedAutoReturn, isRealKey, isSkipActivation, isSpecial, isTriggerFired, isValidationError, keyChar, keyCode, setActionCode, setCausedAutoReturn, setKeyCode, setKeyState, setTriggerFired, setValidationError
consume, id, isConsumed, other, source, toString
public EntryEvent(Widget src, Widget other, int id, boolean mode, boolean isKey, boolean skipActivation, boolean mouse)
src
- widget associated with the eventother
- companion widget associated with the eventid
- event categorymode
- a boolean flag specific to the eventisKey
- mark real key typed by userskipActivation
- Skip activation flag. Depending on the flag value the window activation event will
or will not be sent when ENTRY event is dispatched.mouse
- true
if the event was caused by a mouse event.public EntryEvent(Widget source, int id)
source
- widget associated with the eventid
- event categorypublic boolean isMouse()
true
if the entry event was caused by a mouse event.public void print(PrintHelper printer)