Delay to show the tooltip in milliseconds. Default is 500.
True if this handler was destroyed using
Specifies if events are handled. Default is false.
Reference to the enclosing Graph.
Specifies if the tooltip should be hidden if the mouse is moved over the current cell. Default is false.
Specifies if touch and pen events should be ignored. Default is true.
Specifies the zIndex for the tooltip and its shadow. Default is 10005.
Returns the
Hides the tooltip and resets the timer.
Hides the tooltip.
Returns true if events are handled. This implementation
returns
Returns
Handles the event by initiating a rubberband selection. By consuming the event all subsequent events of the gesture are redirected to this handler.
Handles the event by updating the rubberband selection.
Handles the event by resetting the tooltip timer or hiding the existing tooltip.
Destroys the handler and all its resources and DOM nodes.
Resets and/or restarts the timer to trigger the display of the tooltip.
Resets the timer.
Enables or disables event handling. This implementation
updates
Sets
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
Generated using TypeDoc
Graph event handler that displays tooltips. {@link Graph#getTooltip} is used to get the tooltip for a cell or handle. This handler is built-into {@link Graph#tooltipHandler} and enabled using {@link Graph#setTooltips}.
Example:
(code> new mxTooltipHandler(graph); (end)
Constructor: mxTooltipHandler
Constructs an event handler that displays tooltips with the specified delay (in milliseconds). If no delay is specified then a default delay of 500 ms (0.5 sec) is used.
Reference to the enclosing Graph.
Optional delay in milliseconds.