Table of Contents

Class KeyboardEventInfo

A Java technology Keyboard event info to be used by fireEvent methods.

Inheritance
KeyboardEventInfo
Implements
IEventInfo
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public class KeyboardEventInfo : IEventInfo

Properties

EventArgs

The array of the event arguments: When, Modifiers, KeyCode, KeyChar, and KeyLocation.

Declaration
public object[] EventArgs { get; }
Property Value
Type Description
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.

Declaration
public char KeyChar { get; }
Property Value
Type Description
char

KeyCode

The physical key pressed, independent of the character created.

Declaration
public int KeyCode { get; }
Property Value
Type Description
int
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.

Declaration
public int? KeyLocation { get; }
Property Value
Type Description
int?

KeyboardEvent

The event type.

Declaration
public KeyboardEvent KeyboardEvent { get; }
Property Value
Type Description
KeyboardEvent

LeanFtEventID

The event ID.

Declaration
public int LeanFtEventID { get; }
Property Value
Type Description
int

Modifiers

A mask of values of KeyModifier representing the modifier keys down during event.

Declaration
public int Modifiers { get; }
Property Value
Type Description
int

When

The time the event occurred.

Declaration
public long When { get; }
Property Value
Type Description
long

Implements

IEventInfo