PointerEventHandler class

A helper that centralizes mouse and pointer event handling for the map widget.

This class is used internally and should not be used directly by the API user. See the register... methods to register callbacks for various events in the GemMapController class.

@ndoc

Constructors

PointerEventHandler()
Creates a new PointerEventHandler.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMouseEnter(PointerEnterEvent event) → void
Invokes the mouse enter callback.
onMouseExit(PointerExitEvent event) → void
Invokes the mouse exit callback.
onPointerCancel(PointerCancelEvent event) → void
Invokes the pointer cancel callback.
onPointerDown(PointerDownEvent event) → void
Invokes the pointer down callback.
onPointerHover(PointerHoverEvent event) → void
Invokes the pointer hover callback.
onPointerMove(PointerMoveEvent event) → void
Invokes the pointer move callback.
onPointerUp(PointerUpEvent event) → void
Invokes the pointer up callback.
registerOnMouseEnterEvent(void pFunc(PointerEnterEvent)) → void
Registers a callback for mouse enter events.
registerOnMouseExitEvent(void pFunc(PointerExitEvent)) → void
Registers a callback for mouse exit events.
registerOnPointerCancelEvent(void pFunc(PointerCancelEvent)) → void
Registers a callback for pointer cancel events.
registerOnPointerDownEvent(void pFunc(PointerDownEvent)) → void
Registers a callback for pointer down events.
registerOnPointerHoverEvent(void pFunc(PointerHoverEvent)) → void
Registers a callback for pointer hover events.
registerOnPointerMoveEvent(void pFunc(PointerMoveEvent)) → void
Registers a callback for pointer move events.
registerOnPointerUpEvent(void pFunc(PointerUpEvent)) → void
Registers a callback for pointer up events.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited