StaticACTIVATESpecifies the event name for activate.
StaticADDSpecifies the event name for add.
StaticADD_Specifies the event name for addCells.
StaticADD_Specifies the event name for addOverlay.
StaticADD_Specifies the event name for addVertex.
StaticAFTER_Specifies the event name for afterAddVertex.
StaticALIGN_Specifies the event name for alignCells.
StaticBEFORE_Specifies the event name for beforeAddVertex.
StaticBEFORE_Specifies the event name for beforeUndo.
StaticBEGIN_Specifies the event name for beginUpdate.
StaticCELL_Specifies the event name for cellConnected.
StaticCELLS_Specifies the event name for cellsAdded.
StaticCELLS_Specifies the event name for cellsFolded.
StaticCELLS_Specifies the event name for cellsMoved.
StaticCELLS_Specifies the event name for cellsOrdered.
StaticCELLS_Specifies the event name for cellsRemoved.
StaticCELLS_Specifies the event name for cellsResized.
StaticCELLS_Specifies the event name for cellsToggled.
StaticCHANGESpecifies the event name for change.
StaticCLEARSpecifies the event name for clear.
StaticCLICKSpecifies the event name for click.
StaticCLOSESpecifies the event name for close.
StaticCONNECTSpecifies the event name for connect.
StaticCONNECT_Specifies the event name for connectCell.
StaticCUSTOM_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.
StaticDESTROYSpecifies the event name for destroy.
StaticDISCONNECTSpecifies the event name for disconnect.
StaticDONESpecifies the event name for done.
StaticDOUBLE_Specifies the event name for doubleClick.
StaticDOWNSpecifies the event name for down.
StaticEDITING_Specifies the event name for editingStarted.
StaticEDITING_Specifies the event name for editingStopped.
StaticEND_Specifies the event name for endEdit.
StaticEND_Specifies the event name for endUpdate.
StaticESCAPESpecifies the event name for escape.
StaticEXECUTESpecifies the event name for execute.
StaticEXECUTEDSpecifies the event name for executed.
StaticFIRE_Specifies the event name for fireMouseEvent.
StaticFIREDSpecifies the event name for fired.
StaticFLIP_Specifies the event name for flipEdge.
StaticFOLD_Specifies the event name for foldCells.
StaticGESTURESpecifies the event name for gesture.
StaticGETSpecifies the event name for get.
StaticGROUP_Specifies the event name for groupCells.
StaticHIDESpecifies the event name for hide.
StaticLABEL_Specifies the event name for labelChanged.
StaticLABEL_Index for the label handle in an mxMouseEvent. This should be a negative value that does not interfere with any possible handle indices.
StaticLAYOUT_Specifies the event name for layoutCells.
StaticMARKSpecifies the event name for mark.
StaticMAXIMIZESpecifies the event name for maximize.
StaticMINIMIZESpecifies the event name for minimize.
StaticMOUSE_Specifies the event name for mouseDown.
StaticMOUSE_Specifies the event name for mouseMove.
StaticMOUSE_Specifies the event name for mouseUp.
StaticMOVESpecifies the event name for move.
StaticMOVE_Specifies the event name for moveCells.
StaticMOVE_Specifies the event name for moveEnd.
StaticMOVE_Specifies the event name for moveStart.
StaticNORMALIZESpecifies the event name for normalize.
StaticNOTIFYSpecifies the event name for notify.
StaticOPENSpecifies the event name for open.
StaticORDER_Specifies the event name for orderCells.
StaticPANSpecifies the event name for pan.
StaticPAN_Specifies the event name for panEnd.
StaticPAN_Specifies the event name for panStart.
StaticPINCH_Threshold for pinch gestures to fire a mouse wheel event. Default value is 10.
StaticPOSTSpecifies the event name for post.
StaticRECEIVESpecifies the event name for receive.
StaticREDOSpecifies the event name for redo.
StaticREFRESHSpecifies the event name for refresh.
StaticREMOVESpecifies the event name for remove.
StaticREMOVE_Specifies the event name for removeCells.
StaticREMOVE_Specifies the event name for removeCellsFromParent.
StaticREMOVE_Specifies the event name for removeOverlay.
StaticRESETSpecifies the event name for reset.
StaticRESIZESpecifies the event name for resize.
StaticRESIZE_Specifies the event name for resizeCells.
StaticRESIZE_Specifies the event name for resizeEnd.
StaticRESIZE_Specifies the event name for resizeStart.
StaticRESUMESpecifies the event name for suspend.
StaticROOTSpecifies the event name for root.
StaticROTATION_Index for the rotation handle in an mxMouseEvent. This should be a negative value that does not interfere with any possible handle indices.
StaticSAVESpecifies the event name for open.
StaticSCALESpecifies the event name for scale.
StaticSCALE_Specifies the event name for scaleAndTranslate.
StaticSELECTSpecifies the event name for select.
StaticSHOWSpecifies the event name for show.
StaticSIZESpecifies the event name for size.
StaticSPLIT_Specifies the event name for splitEdge.
StaticSTARTSpecifies the event name for start.
StaticSTART_Specifies the event name for startEdit.
StaticSTART_Specifies the event name for startEditing.
StaticSUSPENDSpecifies the event name for suspend.
StaticTAP_Specifies the event name for tapAndHold.
StaticTOGGLE_Specifies the event name for toggleCells.
StaticTRANSLATESpecifies the event name for translate.
StaticUNDOSpecifies the event name for undo.
StaticUNGROUP_Specifies the event name for ungroupCells.
StaticUPSpecifies the event name for up.
StaticUPDATE_Specifies the event name for updateCellSize.
StaticVIRTUAL_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.
StaticaddAdds the given listeners for touch, mouse and/or pointer events. If <Client.IS_POINTER> is true then pointer events will be registered, else the respective mouse events will be registered. If <Client.IS_POINTER> is false and <Client.IS_TOUCH> is true then the respective touch events will be registered as well as the mouse events.
StaticaddBinds the function to the specified event on the given element.
StaticaddInstalls 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.
StaticconsumeConsumes the given event.
Native event to be consumed.
OptionalpreventDefault: boolean = trueOptional boolean to prevent the default for the event. Default is true.
OptionalstopPropagation: boolean = trueOption boolean to stop event propagation. Default is true.
StaticdisableStaticredirectRedirects 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 
StaticreleaseRemoves the known listeners from the given DOM node and its descendants.
DOM node to remove the listeners from.
StaticremoveStaticremoveRemoves the given listeners from mousedown, mousemove, mouseup and the respective touch events if <Client.IS_TOUCH> is true.
StaticremoveRemoves the specified listener from the given element.
InternalEvent
Cross-browser DOM event support. For internal event handling, EventSource and the graph event dispatch loop in AbstractGraph are used.
Memory Leaks:
Use this class for adding and removing listeners to/from DOM nodes. The removeAllListeners function is provided to remove all listeners that have been added using addListener. The function should be invoked when the last reference is removed in the JavaScript code, typically when the referenced DOM node is removed from the DOM.