Specifies the event name for add.
Specifies the event name for addCells.
Specifies the event name for addOverlay.
Specifies the event name for addVertex.
Specifies the event name for afterAddVertex.
Specifies the event name for alignCells.
Specifies the event name for beforeAddVertex.
Specifies the event name for beforeUndo.
Specifies the event name for beginUpdate.
Specifies the event name for cellsAdded.
Specifies the event name for cellsFolded.
Specifies the event name for cellsMoved.
Specifies the event name for cellsOrdered.
Specifies the event name for cellsRemoved.
Specifies the event name for cellsResized.
Specifies the event name for cellsToggled.
Specifies the event name for cellConnected.
Specifies the event name for change.
Specifies the event name for clear.
Specifies the event name for click.
Specifies the event name for close.
Specifies the event name for connect.
Specifies the event name for connectCell.
Start index for the custom handles in an mxMouseEvent. This should be a negative value and is the start index which is decremented for each custom handle.
Specifies the event name for destroy.
Specifies the event name for disconnect.
Specifies the event name for done.
Specifies the event name for doubleClick.
Specifies the event name for down.
Specifies the event name for editingStarted.
Specifies the event name for editingStopped.
Specifies the event name for endEdit.
Specifies the event name for endUpdate.
Specifies the event name for escape.
Specifies the event name for execute.
Specifies the event name for executed.
Specifies the event name for fired.
Specifies the event name for fireMouseEvent.
Specifies the event name for flipEdge.
Specifies the event name for foldCells.
Specifies the event name for gesture.
Specifies the event name for get.
Specifies the event name for groupCells.
Specifies the event name for hide.
Specifies the event name for labelChanged.
Index for the label handle in an mxMouseEvent. This should be a negative value that does not interfere with any possible handle indices.
Specifies the event name for layoutCells.
Specifies the event name for mark.
Specifies the event name for maximize.
Specifies the event name for minimize.
Specifies the event name for mouseDown.
Specifies the event name for mouseMove.
Specifies the event name for mouseUp.
Specifies the event name for move.
Specifies the event name for moveCells.
Specifies the event name for moveEnd.
Specifies the event name for moveStart.
Specifies the event name for normalize.
Specifies the event name for notify.
Specifies the event name for open.
Specifies the event name for orderCells.
Specifies the event name for pan.
Specifies the event name for panEnd.
Specifies the event name for panStart.
Specifies the event name for post.
Specifies the event name for receive.
Specifies the event name for redo.
Specifies the event name for refresh.
Specifies the event name for remove.
Specifies the event name for removeCells.
Specifies the event name for removeCellsFromParent.
Specifies the event name for removeOverlay.
Specifies the event name for reset.
Specifies the event name for resize.
Specifies the event name for resizeCells.
Specifies the event name for resizeEnd.
Specifies the event name for resizeStart.
Specifies the event name for suspend.
Specifies the event name for root.
Index for the rotation handle in an mxMouseEvent. This should be a negative value that does not interfere with any possible handle indices.
Specifies the event name for open.
Specifies the event name for scale.
Specifies the event name for scaleAndTranslate.
Specifies the event name for select.
Specifies the event name for show.
Specifies the event name for size.
Specifies the event name for splitEdge.
Specifies the event name for start.
Specifies the event name for startEdit.
Specifies the event name for startEditing.
Specifies the event name for suspend.
Specifies the event name for tapAndHold.
Specifies the event name for toggleCells.
Specifies the event name for translate.
Specifies the event name for undo.
Specifies the event name for ungroupCells.
Specifies the event name for up.
Specifies the event name for updateCellSize.
Start index for the virtual handles in an mxMouseEvent. This should be a negative value and is the start index which is decremented for each virtual handle. This assumes that there are no more than VIRTUAL_HANDLE - CUSTOM_HANDLE custom handles.
Adds the given listeners for touch, mouse and/or pointer events. If mxClient.IS_POINTER is true then pointer events will be registered, else the respective mouse events will be registered. If mxClient.IS_POINTER is false and mxClient.IS_TOUCH is true then the respective touch events will be registered as well as the mouse events.
Binds the function to the specified event on the given element. Use mxUtils.bind in order to bind the "this" keyword inside the function to a given execution scope.
Installs the given function as a handler for mouse wheel events. The function has two arguments: the mouse event and a boolean that specifies if the wheel was moved up or down.
This has been tested with IE 6 and 7, Firefox (all versions), Opera and Safari. It does currently not work on Safari for Mac.
Handler function that takes the event argument and a boolean up argument for the mousewheel direction.
Target for installing the listener in Google Chrome. See https://www.chromestatus.com/features/6662647093133312.
Consumes the given event.
Native event to be consumed.
Optional boolean to prevent the default for the event. Default is true.
Option boolean to stop event propagation. Default is true.
Disables the context menu for the given element.
Returns true if the meta key is pressed for the given event.
Returns true if the meta key is pressed for the given event.
Returns the touch or mouse event that contains the mouse coordinates.
Returns the event's target or srcElement depending on the browser.
Returns true if the alt key is pressed for the given event.
Returns true if the event has been consumed using consume.
Returns true if the control key is pressed for the given event.
Returns true if the left mouse button is pressed for the given event. To check if a button is pressed during a mouseMove you should use the mxGraph.isMouseDown property. Note that this returns true in Firefox for control+left-click on the Mac.
Returns true if the meta key is pressed for the given event.
Returns true if the middle mouse button is pressed for the given event. To check if a button is pressed during a mouseMove you should use the mxGraph.isMouseDown property.
Returns true if the event was generated using a mouse (not a pen or touch device).
Returns true if the event was generated using a touch device (not a pen or mouse).
Returns true if the event was generated using a pen (not a touch device or mouse).
Returns true if the event is a popup trigger. This implementation returns true if the right button or the left button and control was pressed on a Mac.
Returns true if the right mouse button was pressed. Note that this button might not be available on some systems. For handling a popup trigger isPopupTrigger should be used.
Returns true if the shift key is pressed for the given event.
Returns true if the event was generated using a touch device (not a pen or mouse).
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments. State can either be an instance of mxCellState or a function that returns an mxCellState. The down, move, up and dblClick arguments are optional functions that take the trigger event as arguments and replace the default behaviour.
Removes the known listeners from the given DOM node and its descendants.
DOM node to remove the listeners from.
Removes all listeners from the given element.
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
Removes the specified listener from the given element.
Generated using TypeDoc
Specifies the event name for activate.