Class KeyboardEventInfo
A Java technology Keyboard event info to be used by fireEvent methods.
public class KeyboardEventInfo : IEventInfo
- Inheritance
-
KeyboardEventInfo
- Implements
- Inherited Members
Properties
EventArgs
The array of the event arguments: When, Modifiers, KeyCode, KeyChar, and KeyLocation.
public object[] EventArgs { get; }
Property Value
- object[]
Remarks
If the key location is not defined, it is not part of the returned array.
KeyChar
The Unicode character generated by this event.
public char KeyChar { get; }
Property Value
KeyCode
The physical key pressed, independent of the character created.
public int KeyCode { get; }
Property Value
Remarks
For example, the A Key is returned whether the character produced is "A" or "a".
KeyLocation
The location of the key that originated this key event.
public int? KeyLocation { get; }
Property Value
- int?
KeyboardEvent
The event type.
public KeyboardEvent KeyboardEvent { get; }
Property Value
LeanFtEventID
The event ID.
public int LeanFtEventID { get; }
Property Value
Modifiers
A mask of values of KeyModifier representing the modifier keys down during event.
public int Modifiers { get; }
Property Value
When
The time the event occurred.
public long When { get; }