LuciadCPillar C# 2023.1.04
Luciad.Controllers.HoverEventHandler Class Reference

Handler that translates hover gesture events to a hovering operation. More...

Inheritance diagram for Luciad.Controllers.HoverEventHandler:

Public Member Functions

 HoverEventHandler ()
 Creates a new instance. More...
 
void Dispose ()
 
Luciad.Controllers.EventResult OnMouseMoveEvent (Luciad.Input.Mouse.MouseMoveEvent moveEvent, Luciad.Maps.Map map)
 Changes the luciad::FeatureState::hover() state of features located under the mouse position. More...
 

Properties

uint Margin [get, set]
 

Detailed Description

Handler that translates hover gesture events to a hovering operation.

Features under the cursor will have their luciad::FeatureState::hover() state updated. 2020.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::HoverEventHandler.

Constructor & Destructor Documentation

◆ HoverEventHandler()

Luciad.Controllers.HoverEventHandler.HoverEventHandler ( )
inline

Creates a new instance.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::HoverEventHandler::HoverEventHandler.

Member Function Documentation

◆ Dispose()

void Luciad.Controllers.HoverEventHandler.Dispose ( )
inline

◆ OnMouseMoveEvent()

Luciad.Controllers.EventResult Luciad.Controllers.HoverEventHandler.OnMouseMoveEvent ( Luciad.Input.Mouse.MouseMoveEvent  moveEvent,
Luciad.Maps.Map  map 
)
inline

Changes the luciad::FeatureState::hover() state of features located under the mouse position.

moveEvent

a move event. Cannot be nullptr.

map

the map. Cannot be nullptr.

whether the move event is consumed or not. Always EventResult::Consumed.

luciad::NullArgumentException

when passing nullptr for the map or the event.

luciad::HoverEventHandler::setMargin for the margin applied to the mouse position to detect which features are considered.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::HoverEventHandler::onMouseMoveEvent.

Property Documentation

◆ Margin

uint Luciad.Controllers.HoverEventHandler.Margin
getset