LuciadCPillar C# 2023.1.04
|
Handler that translates click gesture events to a select operation. More...
Public Member Functions | |
SelectEventHandler (Luciad.Controllers.SelectMode selectMode) | |
void | Dispose () |
Luciad.Controllers.EventResult | OnClickEvent (Luciad.Input.ClickEvent clickEvent, Luciad.Maps.Map map) |
Changes the luciad::FeatureState::selected() state of features located under the event location directly or delegates the selection to the handler if it has been set. More... | |
Luciad.Controllers.EventResult | OnTouchLongPressEvent (Luciad.Input.Touch.TouchLongPressEvent touchLongPressEvent, Luciad.Maps.Map map) |
Changes the luciad::FeatureState::selected() state of features located under the event location directly or delegates the selection to the handler if it has been set. More... | |
Properties | |
uint | Margin [get, set] |
Luciad.Controllers.ISelectionCandidateChooser | SelectionCandidateChooser [get, set] |
uint | TouchMargin [get, set] |
Handler that translates click gesture events to a select operation.
The select mode can be configured using the luciad::SelectMode enumeration. 2020.1
|
inline |
|
inline |
|
inline |
Changes the luciad::FeatureState::selected() state of features located under the event location directly or delegates the selection to the handler if it has been set.
This allows the display of a context menu when multiple features are below the cursor, for example.
clickEvent
a click event. Cannot be nullptr.
map
the map. Cannot be nullptr.
whether the click event is consumed or not. The event is not consumed if the amount of clicks is different than 1.
luciad::NullArgumentException
when passing nullptr for the map or the event.
setMargin and {luciad::SelectEventHandler::setTouchMargin setTouchMargin} for the margin applied to the mouse cursor or touch point position to detect which features are considered.
|
inline |
Changes the luciad::FeatureState::selected() state of features located under the event location directly or delegates the selection to the handler if it has been set.
This allows the display of a context menu when multiple features are below the cursor, for example.
touchLongPressEvent
a touch long press event.
map
the map.
whether the event is consumed or not.
luciad::NullArgumentException
when passing nullptr.
setTouchMargin for the margin applied to the touch point position to detect which features are considered.
2022.0
|
getset |
|
getset |
|
getset |