LuciadCPillar C# 2024.1.04
Luciad.Input.Mouse.MouseClickEvent Class Reference

Specialization of the ClickEvent for the mouse. More...

Inheritance diagram for Luciad.Input.Mouse.MouseClickEvent:
Luciad.Input.ClickEvent Luciad.Input.IInputEvent

Public Member Functions

 MouseClickEvent (Luciad.Cartesian.Coordinate location, uint clickCount, Luciad.Input.ModifierKeys modifierKeys, Luciad.Input.Mouse.MouseButton mouseButton)
 Creates a click event for a mouse. More...
 
- Public Member Functions inherited from Luciad.Input.ClickEvent
 ClickEvent (Luciad.Cartesian.Coordinate location, uint clickCount)
 Creates an event representing a click. More...
 
 ClickEvent (Luciad.Cartesian.Coordinate location, uint clickCount, Luciad.Input.ModifierKeys modifierKeys)
 Creates an event representing a click. More...
 
void Dispose ()
 

Properties

Luciad.Input.Mouse.MouseButton MouseButton [get]
 The mouse button of the event. More...
 
- Properties inherited from Luciad.Input.ClickEvent
uint ClickCount [get]
 The amount of clicks. More...
 
Luciad.Cartesian.Coordinate Location [get]
 The position of the event. More...
 
Luciad.Input.ModifierKeys ModifierKeys [get]
 The modifiers of the event. More...
 

Detailed Description

Specialization of the ClickEvent for the mouse.

This class contains the mouse button and the modifiers if any.

Since
2020.1

Constructor & Destructor Documentation

◆ MouseClickEvent()

Luciad.Input.Mouse.MouseClickEvent.MouseClickEvent ( Luciad.Cartesian.Coordinate  location,
uint  clickCount,
Luciad.Input.ModifierKeys  modifierKeys,
Luciad.Input.Mouse.MouseButton  mouseButton 
)
inline

Creates a click event for a mouse.

Parameters
locationThe location of the event, defined in device independent pixels.
clickCountThe number of clicks.
modifierKeysThe modifiers of the event.
mouseButtonThe mouse button of the event.

Property Documentation

◆ MouseButton

Luciad.Input.Mouse.MouseButton Luciad.Input.Mouse.MouseClickEvent.MouseButton
get

The mouse button of the event.

[get]

Returns the mouse button of the event.