Table of Contents

Class KeyboardEventInfo

Namespace
HP.LFT.SDK.Java
Assembly
HP.LFT.SDK.dll

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

char

KeyCode

The physical key pressed, independent of the character created.

public int KeyCode { get; }

Property Value

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.

public int? KeyLocation { get; }

Property Value

int?

KeyboardEvent

The event type.

public KeyboardEvent KeyboardEvent { get; }

Property Value

KeyboardEvent

LeanFtEventID

The event ID.

public int LeanFtEventID { get; }

Property Value

int

Modifiers

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

public int Modifiers { get; }

Property Value

int

When

The time the event occurred.

public long When { get; }

Property Value

long