AbstractMouseEventAdapter
On this page
- AbstractMouseEventAdapter ⇐
AbstractInputEventAdapter
- AbstractMouseEventAdapter()
- handleMouseClick(nativeMouseEvent)
- handleMouseHover(nativeMouseEvent)
- handleMouseUnhover(nativeMouseEvent)
- handleMouseScroll(nativeMouseEvent)
- dispatchMouseEvent(type, mouseEvent)
- _handleMouseClick(nativeMouseEvent)
- _handleMouseHover(nativeMouseEvent)
- _handleMouseUnhover(nativeMouseEvent)
- _handleMouseScroll(nativeMouseEvent)
AbstractMouseEventAdapter ⇐ AbstractInputEventAdapter
Kind: global abstract class
Extends: AbstractInputEventAdapter
Singleton:
Properties
Name | Type |
---|---|
inputEventBus | InputEventBus |
fakeEventBus | FakeInputEventBus |
fakeEventAdapter | FakeEventAdapter |
- AbstractMouseEventAdapter ⇐
AbstractInputEventAdapter
- new AbstractMouseEventAdapter()
- .handleMouseClick(nativeMouseEvent)
- .handleMouseHover(nativeMouseEvent)
- .handleMouseUnhover(nativeMouseEvent)
- .handleMouseScroll(nativeMouseEvent)
- .dispatchMouseEvent(type, mouseEvent)
- ._handleMouseClick(nativeMouseEvent)
- ._handleMouseHover(nativeMouseEvent)
- ._handleMouseUnhover(nativeMouseEvent)
- ._handleMouseScroll(nativeMouseEvent)
AbstractMouseEventAdapter()
An InputEventAdapter
that manages mouse events
- Handle the mouse click
- Handle the mouse hover/unhover
- Handle the mouse scroll
handleMouseClick(nativeMouseEvent)
Handle a mouse click event
Kind: instance method of AbstractMouseEventAdapter
Emits: MouseEvent#event:click
Param | Type | Description |
---|---|---|
nativeMouseEvent | Object | The native mouse event |
handleMouseHover(nativeMouseEvent)
Handle a mouse hover event
Kind: instance method of AbstractMouseEventAdapter
Emits: MouseEvent#event:hover
Param | Type | Description |
---|---|---|
nativeMouseEvent | Object | The native mouse event |
handleMouseUnhover(nativeMouseEvent)
Handle a mouse unhover event
Kind: instance method of AbstractMouseEventAdapter
Emits: MouseEvent#event:unhover
Param | Type | Description |
---|---|---|
nativeMouseEvent | Object | The native mouse event |
handleMouseScroll(nativeMouseEvent)
Handle a mouse scroll event
Kind: instance method of AbstractMouseEventAdapter
Emits: MouseEvent#event:unhover
Param | Type | Description |
---|---|---|
nativeMouseEvent | Object | The native mouse event |
dispatchMouseEvent(type, mouseEvent)
Dispatch the MouseEvent
Kind: instance method of AbstractMouseEventAdapter
Param | Type | Description |
---|---|---|
type | string | one of MouseEvent |
mouseEvent | Object |
_handleMouseClick(nativeMouseEvent)
Handle a mouse click event
Kind: instance method of AbstractMouseEventAdapter
Emits: MouseEvent#event:click
Param | Type | Description |
---|---|---|
nativeMouseEvent | Object | The native mouse event |
_handleMouseHover(nativeMouseEvent)
Handle a mouse hover event
Kind: instance method of AbstractMouseEventAdapter
Emits: MouseEvent#event:hover
Param | Type | Description |
---|---|---|
nativeMouseEvent | Object | The native mouse event |
_handleMouseUnhover(nativeMouseEvent)
Handle a mouse unhover event
Kind: instance method of AbstractMouseEventAdapter
Emits: MouseEvent#event:unhover
Param | Type | Description |
---|---|---|
nativeMouseEvent | Object | The native mouse event |
_handleMouseScroll(nativeMouseEvent)
Handle a mouse scroll event
Kind: instance method of AbstractMouseEventAdapter
Emits: MouseEvent#event:unhover
Param | Type | Description |
---|---|---|
nativeMouseEvent | Object | The native mouse event |