CompositeMouseManipulator
Methods
endInteraction
Ends an interaction event.
getAlt
Gets flag if alt key is required.
getButton
Gets the associated button.
getControl
Gets flag if control key is required.
getShift
Gets flag if shift key is required.
isDragEnabled
Is drag enabled.
isScrollEnabled
Is scroll enabled.
onButtonDown
Handles a button down event.
| Argument | Type | Required | Description |
|---|---|---|---|
interactor | Yes | the interactor | |
renderer | Yes | the renderer | |
position | Yes | the display position |
onButtonUp
Handles a button up event.
| Argument | Type | Required | Description |
|---|---|---|---|
interactor | Yes | the interactor |
onEndScroll
Handles a scroll event.
| Argument | Type | Required | Description |
|---|---|---|---|
interactor | Yes | the interactor |
onMouseMove
Handles a mouse move event.
| Argument | Type | Required | Description |
|---|---|---|---|
interactor | Yes | the interactor | |
renderer | Yes | the renderer | |
position | Yes | the display position |
onStartScroll
Handles a start scroll event.
| Argument | Type | Required | Description |
|---|---|---|---|
interactor | Yes | the interactor | |
renderer | Yes | the renderer | |
delta | Yes | the scroll delta |
setAlt
Sets if the alt key is required.
| Argument | Type | Required | Description |
|---|---|---|---|
alt | Yes |
setButton
Sets the associated button.
| Argument | Type | Required | Description |
|---|---|---|---|
btn | Yes |
setControl
Sets if the control key is required.
| Argument | Type | Required | Description |
|---|---|---|---|
ctrl | Yes |
setDragEnabled
Sets if drag is enabled.
| Argument | Type | Required | Description |
|---|---|---|---|
enabled | Yes |
setScrollEnabled
Sets if scroll is enabled.
| Argument | Type | Required | Description |
|---|---|---|---|
enabled | Yes |
setShift
Sets if the shift key is required.
| Argument | Type | Required | Description |
|---|---|---|---|
shift | Yes |
startInteraction
Starts an interaction event.