(true/false)
creates a unique hash key for annotation adapter based on type
creates a unique hash key for the specified mouse adaptor to mouse event mapping
Dispose the summary Div
By default, JavaScript windows only see mosue events within its Canvas element, which means when the mouse moves outside the element, they are no longer tracked. By enabling this option, mouse events outside the HTML element are passed to this adaptor. By default, this is off (to adhere to standard javaScript behavior). In all cases, when a mouseUp occurs outside the active viewport, that event will be passed to the adaptor.
globalMouseMoveHandler -- dispatches to the correct mouseMove handler across the entire document
globalMouseReleaseHandler -- dispatches to the correct mouseUp handler across the entire document
Retrun true if annotation adaptor is active, Else false
boolean
keyPressHandler -- dispatches to the correct keyPress handler.
keyUpHandler -- dispatches to the correct keyUp handler.
mouseDownHandler -- dispatches to the correct mouseDown handler. Note, this comes in on a HTML thread, so the HTMLViewport3D reference resides in the the private HTML element.
mouseMoveHandler -- dispatches to the correct mouseMove handler. Note, this comes in on a HTML thread, so the HTMLViewport3D reference resides in the the private HTML element.
mouseReleaseHandler -- dispatches to the correct mouseRelease handler. Note, this comes in on a HTML thread, so the HTMLViewport3D reference resides in the the private HTML element.
mouseMoveHandler -- dispatches to the correct mouseMove handler. Note, this comes in on a HTML thread, so the HTMLViewport3D reference resides in the the private HTML element.
internal method called to handline any mouseUp events (either directly, or from another handler)
internal method called to handline any mouseUp events (either directly, or from another handler)
Associate a custom mouse adaptor with a given mouse button and keyboard modifier
Associate a custom mouse adaptor with a given mouse button and keyboard modifier
sets default mouse and touch adaptors
Create a mapping between a mouse event and the specified adaptor
Install a mouse adaptor that is invokved unconditionally for all mouse events. This allow the application to peek at the event, process it, and stop the propagate.
This is useful when the application is detecting a mouse over event of an annotation or cross-reference lines, and handle that opposed to the current mouse adaptor that would otherwise be triggered.
Install a touch adaptor that is invokved unconditionally for all touch events. This allow the application to peek at the event, process it, and stop the propagate.
This is useful when the application is detecting a touch over event of an annotation or cross-reference lines, and handle that opposed to the current mouse adaptor that would otherwise be triggered.
map between a touch event and specified adaptor
touchEndHandler -- dispatches to the correct touchEnd handler. Note, this comes in on a HTML thread, so the HTMLViewport3D reference resides in the the private HTML element.
touchMoveHandler -- dispatches to the correct touchMove handler. Note, this comes in on a HTML thread, so the HTMLViewport3D reference resides in the the private HTML element.
touchStartHandler -- dispatches to the correct touchStart handler. Note, this comes in on a HTML thread, so the HTMLViewport3D reference resides in the the private HTML element.
Set flag to state whether mouse/key events are allowed to perform on the viewport