LuciadCPillar 2023.1.04
luciad::MouseReleasedEvent Class Reference

Implementation of luciad::IInputEvent that represents a mouse released. More...

#include <luciad/input/mouse/MouseEvents.h>

Inheritance diagram for luciad::MouseReleasedEvent:
luciad::IInputEvent

Public Member Functions

 MouseReleasedEvent (Coordinate location, ModifierKeys modifierKeys, MouseButton mouseButton)
 Creates an event representing a mouse button being released. More...
 
Coordinate getLocation () const noexcept
 
ModifierKeys getModifierKeys () const noexcept
 
MouseButton getMouseButton () const noexcept
 
- Public Member Functions inherited from luciad::IInputEvent
virtual ~IInputEvent ()=default
 

Detailed Description

Implementation of luciad::IInputEvent that represents a mouse released.

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

Since
2020.1

Constructor & Destructor Documentation

◆ MouseReleasedEvent()

luciad::MouseReleasedEvent::MouseReleasedEvent ( Coordinate  location,
ModifierKeys  modifierKeys,
MouseButton  mouseButton 
)
inline

Creates an event representing a mouse button being released.

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

Member Function Documentation

◆ getLocation()

Coordinate luciad::MouseReleasedEvent::getLocation ( ) const
inlinenoexcept
Returns
the position of the event, expressed in device independent pixel coordinates with top-left corner of the map being the (0,0) position.

◆ getModifierKeys()

ModifierKeys luciad::MouseReleasedEvent::getModifierKeys ( ) const
inlinenoexcept
Returns
the modifiers of the event.

◆ getMouseButton()

MouseButton luciad::MouseReleasedEvent::getMouseButton ( ) const
inlinenoexcept
Returns
the mouse button of the event.