Class MouseEventInfo
A Java technology Mouse event info to be used by fireEvent methods.
Implements
Inherited Members
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public class MouseEventInfo : IEventInfo
Properties
Button
A value of MouseButton indicating which of the mouse buttons has changed state.
Declaration
public int? Button { get; }
Property Value
| Type | Description |
|---|---|
| int? |
ClickCount
The number of mouse clicks associated with event.
Declaration
public int ClickCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
EventArgs
The array of the event arguments: When, Modifiers, X, and Y.
Declaration
public object[] EventArgs { get; }
Property Value
| Type | Description |
|---|---|
| object[] |
Remarks
Also returns other arguments if a value is defined for the argument: XAbs, YAbs, ClickCount, PopupTrigger, and Button.
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 |
MouseEvent
The event type.
Declaration
public MouseEvent MouseEvent { get; }
Property Value
| Type | Description |
|---|---|
| MouseEvent |
PopupTrigger
Indicates whether this event is a trigger for a popup menu.
Declaration
public bool PopupTrigger { get; }
Property Value
| Type | Description |
|---|---|
| bool |
When
The time the event occurred.
Declaration
public long When { get; }
Property Value
| Type | Description |
|---|---|
| long |
X
The mouse location in pixels relative to the containing object.
Declaration
public int X { get; }
Property Value
| Type | Description |
|---|---|
| int |
XAbs
The mouse x-coordinate in pixels relative to the screen.
Declaration
public int? XAbs { get; }
Property Value
| Type | Description |
|---|---|
| int? |
Y
The mouse location in pixels relative to the containing object.
Declaration
public int Y { get; }
Property Value
| Type | Description |
|---|---|
| int |
YAbs
The mouse y-coordinate in pixels relative to the screen.
Declaration
public int? YAbs { get; }
Property Value
| Type | Description |
|---|---|
| int? |