<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxEvent"></a>mxEvent</h1><divclass=CBody><p>Cross-browser DOM event support. For internal event handling, <ahref="mxEventSource-js.html#mxEventSource"class=LClassid=link131onMouseOver="ShowTip(event, 'tt129', 'link131')"onMouseOut="HideTip('tt129')">mxEventSource</a> and the graph event dispatch loop in <ahref="../view/mxGraph-js.html#mxGraph"class=LClassid=link132onMouseOver="ShowTip(event, 'tt130', 'link132')"onMouseOut="HideTip('tt130')">mxGraph</a> are used.</p><h4class=CHeading>Memory Leaks</h4><p>Use this class for adding and removing listeners to/from DOM nodes. The <ahref="#mxEvent.removeAllListeners"class=LFunctionid=link133onMouseOver="ShowTip(event, 'tt4', 'link133')"onMouseOut="HideTip('tt4')">removeAllListeners</a> function is provided to remove all listeners that have been added using <ahref="#mxEvent.addListener"class=LFunctionid=link134onMouseOver="ShowTip(event, 'tt2', 'link134')"onMouseOut="HideTip('tt2')">addListener</a>. 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, and helps to reduce memory leaks in IE6.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxEvent">mxEvent</a></td><tdclass=SDescription>Cross-browser DOM event support. </td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxEvent.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxEvent.objects"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">objects</a></td><tdclass=SDescription>Contains all objects where any listener was added using <ahref="#mxEvent.addListener"class=LFunctionid=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">addListener</a>. </td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxEvent.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxEvent.addListener"id=link3onMouseOver="ShowTip(event, 'tt2', 'link3')"onMouseOut="HideTip('tt2')">addListener</a></td><tdclass=SDescription>Binds the function to the specified event on the given element. </td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxEvent.removeListener"id=link4onMouseOver="ShowTip(event, 'tt3', 'link4')"onMouseOut="HideTip('tt3')">removeListener</a></td><tdclass=SDescription>Removes the specified listener from the given element.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxEvent.removeAllListeners"id=link5onMouseOver="ShowTip(event, 'tt4', 'link5')"onMouseOut="HideTip('tt4')">removeAllListeners</a></td><tdclass=SDescription>Removes all listeners from the given element.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxEvent.addGestureListeners"id=link6onMouseOver="ShowTip(event, 'tt5', 'link6')"onMouseOut="HideTip('tt5')">addGestureListeners</a></td><tdclass=SDescription>Adds the given listeners for touch, mouse and/or pointer events. </td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxEvent.removeGestureListeners"id=link7onMouseOver="ShowTip(event, 'tt6', 'link7')"onMouseOut="HideTip('tt6')">removeGestureListeners</a></td><tdclass=SDescription>Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if <ahref="../mxClient-js.html#mxClient.IS_TOUCH"class=LVariableid=link8onMouseOver="ShowTip(event, 'tt7', 'link8')"onMouseOut="HideTip('tt7')">mxClient.IS_TOUCH</a> is true.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxEvent.redirectMouseEvents"id=link9onMouseOver="ShowTip(event, 'tt8', 'link9')"onMouseOut="HideTip('tt8')">redirectMouseEvents</a></td><td
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.objects"></a>objects</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">objects: []</td></tr></table></blockquote><p>Contains all objects where any listener was added using <ahref="#mxEvent.addListener"class=LFunctionid=link135onMouseOver="ShowTip(event, 'tt2', 'link135')"onMouseOut="HideTip('tt2')">addListener</a>. This is used to reduce memory leaks in IE, see <ahref="../mxClient-js.html#mxClient.dispose"class=LFunctionid=link136onMouseOver="ShowTip(event, 'tt131', 'link136')"onMouseOut="HideTip('tt131')">mxClient.dispose</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.addListener"></a>addListener</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">addListener: function()</td></tr></table></blockquote><p>Binds the function to the specified event on the given element. Use <ahref="mxUtils-js.html#mxUtils.bind"class=LFunctionid=link137onMouseOver="ShowTip(event, 'tt132', 'link137')"onMouseOut="HideTip('tt132')">mxUtils.bind</a> in order to bind the “this” keyword inside the function to a given execution scope.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.removeListener"></a>removeListener</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">removeListener: function()</td></tr></table></blockquote><p>Removes the specified listener from the given element.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.removeAllListeners"></a>removeAllListeners</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>removeAllListeners: function(</td><tdclass="PParameter prettyprint "nowrap>element</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes all listeners from the given element.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.addGestureListeners"></a>addGestureListeners</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>addGestureListeners: function(</td><tdclass="PParameter prettyprint "nowrap>node,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>startListener,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>moveListener,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>endListener</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the given listeners for touch, mouse and/or pointer events. If <ahref="../mxClient-js.html#mxClient.IS_POINTER"class=LVariableid=link138onMouseOver="ShowTip(event, 'tt133', 'link138')"onMouseOut="HideTip('tt133')">mxClient.IS_POINTER</a> is true then pointer events will be registered, else the respective mouse events will be registered. If <ahref="../mxClient-js.html#mxClient.IS_POINTER"class=LVariableid=link139onMouseOver="ShowTip(event, 'tt133', 'link139')"onMouseOut="HideTip('tt133')">mxClient.IS_POINTER</a> is false and <ahref="../mxClient-js.html#mxClient.IS_TOUCH"class=LVariableid=link140onMouseOver="ShowTip(event, 'tt7', 'link140')"onMouseOut="HideTip('tt7')">mxClient.IS_TOUCH</a> is true then the respective touch events will be registered as well as the mouse events.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.removeGestureListeners"></a>removeGestureListeners</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>removeGestureListeners: function(</td><tdclass="PParameter prettyprint "nowrap>node,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>startListener,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>moveListener,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>endListener</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if <ahref="../mxClient-js.html#mxClient.IS_TOUCH"class=LVariableid=link141onMouseOver="ShowTip(event, 'tt7', 'link141')"onMouseOut="HideTip('tt7')">mxClient.IS_TOUCH</a> is true.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.redirectMouseEvents"></a>redirectMouseEvents</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>redirectMouseEvents: function(</td><tdclass="PParameter prettyprint "nowrap>node,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>graph,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>state,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>down,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>move,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>up,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>dblClick</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>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 <ahref="../view/mxCellState-js.html#mxCellState"class=LClassid=link142onMouseOver="ShowTip(event, 'tt134', 'link142')"onMouseOut="HideTip('tt134')">mxCellState</a> or a function that returns an <ahref="../view/mxCellState-js.html#mxCellState"class=LClassid=link143onMouseOver="ShowTip(event, 'tt134', 'link143')"onMouseOut="HideTip('tt134')">mxCellState</a>. The down, move, up and dblClick arguments are optional functions that take the trigger event as arguments and replace the default behaviour.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.release"></a>release</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>release: function(</td><tdclass="PParameter prettyprint "nowrap>element</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the known listeners from the given DOM node and its descendants.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>element</td><tdclass=CDLDescription>DOM node to remove the listeners from.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.disableContextMenu"></a>disableContextMenu</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">disableContextMenu: function()</td></tr></table></blockquote><p>Disables the context menu for the given element.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.getSource"></a>getSource</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>getSource: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the event’s target or srcElement depending on the browser.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isConsumed"></a>isConsumed</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isConsumed: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the event has been consumed using <ahref="#mxEvent.consume"class=LFunctionid=link144onMouseOver="ShowTip(event, 'tt13', 'link144')"onMouseOut="HideTip('tt13')">consume</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isTouchEvent"></a>isTouchEvent</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isTouchEvent: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the event was generated using a touch device (not a pen or mouse).</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isPenEvent"></a>isPenEvent</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isPenEvent: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the event was generated using a pen (not a touch device or mouse).</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isMultiTouchEvent"></a>isMultiTouchEvent</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isMultiTouchEvent: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the event was generated using a touch device (not a pen or mouse).</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isMouseEvent"></a>isMouseEvent</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isMouseEvent: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the event was generated using a mouse (not a pen or touch device).</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isLeftMouseButton"></a>isLeftMouseButton</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isLeftMouseButton: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>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 <ahref="../view/mxGraph-js.html#mxGraph.isMouseDown"class=LVariableid=link145onMouseOver="ShowTip(event, 'tt135', 'link145')"onMouseOut="HideTip('tt135')">mxGraph.isMouseDown</a> property. Note that this returns true in Firefox for control+left-click on the Mac.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isMiddleMouseButton"></a>isMiddleMouseButton</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isMiddleMouseButton: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>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 <ahref="../view/mxGraph-js.html#mxGraph.isMouseDown"class=LVariableid=link146onMouseOver="ShowTip(event, 'tt135', 'link146')"onMouseOut="HideTip('tt135')">mxGraph.isMouseDown</a> property.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isRightMouseButton"></a>isRightMouseButton</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isRightMouseButton: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>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 <ahref="#mxEvent.isPopupTrigger"class=LFunctionid=link147onMouseOver="ShowTip(event, 'tt21', 'link147')"onMouseOut="HideTip('tt21')">isPopupTrigger</a> should be used.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isPopupTrigger"></a>isPopupTrigger</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isPopupTrigger: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isShiftDown"></a>isShiftDown</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isShiftDown: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the shift key is pressed for the given event.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isAltDown"></a>isAltDown</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isAltDown: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the alt key is pressed for the given event.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isControlDown"></a>isControlDown</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isControlDown: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the control key is pressed for the given event.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.isMetaDown"></a>isMetaDown</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>isMetaDown: function(</td><tdclass="PParameter prettyprint "nowrap>evt</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the meta key is pressed for the given event.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.getMainEvent"></a>getMainEvent</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>getMainEvent: function(</td><tdclass="PParameter prettyprint "nowrap>e</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the touch or mouse event that contains the mouse coordinates.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.getClientX"></a>getClientX</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>getClientX: function(</td><tdclass="PParameter prettyprint "nowrap>e</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the meta key is pressed for the given event.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.getClientY"></a>getClientY</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>getClientY: function(</td><tdclass="PParameter prettyprint "nowrap>e</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the meta key is pressed for the given event.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxEvent.consume"></a>consume</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>consume: function(</td><tdclass="PParameter prettyprint "nowrap>evt,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>preventDefault,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>stopPropagation</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Consumes the given event.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>evt</td><tdclass=CDLDescription>Native event to be consumed.</td></tr><tr><tdclass=CDLEntry>preventDefault</td><tdclass=CDLDescription>Optional boolean to prevent the default for the event. Default is true.</td></tr><tr><tdclass=CDLEntry>stopPropagation</td><tdclass=CDLDescription>Option boolean to stop event propagation. Default is true.</td></tr></table></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.LABEL_HANDLE"></a>LABEL_HANDLE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">LABEL_HANDLE: -1</td></tr></table></blockquote><p>Index for the label handle in an mxMouseEvent. This should be a negative value that does not interfere with any possible handle indices. Default is -1.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ROTATION_HANDLE"></a>ROTATION_HANDLE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ROTATION_HANDLE: -2</td></tr></table></blockquote><p>Index for the rotation handle in an mxMouseEvent. This should be a negative value that does not interfere with any possible handle indices. Default is -2.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CUSTOM_HANDLE"></a>CUSTOM_HANDLE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CUSTOM_HANDLE: -100</td></tr></table></blockquote><p>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. Default is -100.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.VIRTUAL_HANDLE"></a>VIRTUAL_HANDLE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">VIRTUAL_HANDLE: -100000</td></tr></table></blockquote><p>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. Default is -100000. This assumes that there are no more than VIRTUAL_HANDLE - CUSTOM_HANDLE custom handles.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MOUSE_DOWN"></a>MOUSE_DOWN</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MOUSE_DOWN: 'mouseDown'</td></tr></table></blockquote><p>Specifies the event name for mouseDown.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MOUSE_MOVE"></a>MOUSE_MOVE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MOUSE_MOVE: 'mouseMove'</td></tr></table></blockquote><p>Specifies the event name for mouseMove.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MOUSE_UP"></a>MOUSE_UP</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MOUSE_UP: 'mouseUp'</td></tr></table></blockquote><p>Specifies the event name for mouseUp.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ACTIVATE"></a>ACTIVATE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ACTIVATE: 'activate'</td></tr></table></blockquote><p>Specifies the event name for activate.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.RESIZE_START"></a>RESIZE_START</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">RESIZE_START: 'resizeStart'</td></tr></table></blockquote><p>Specifies the event name for resizeStart.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.RESIZE"></a>RESIZE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">RESIZE: 'resize'</td></tr></table></blockquote><p>Specifies the event name for resize.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.RESIZE_END"></a>RESIZE_END</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">RESIZE_END: 'resizeEnd'</td></tr></table></blockquote><p>Specifies the event name for resizeEnd.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MOVE_START"></a>MOVE_START</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MOVE_START: 'moveStart'</td></tr></table></blockquote><p>Specifies the event name for moveStart.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MOVE"></a>MOVE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MOVE: 'move'</td></tr></table></blockquote><p>Specifies the event name for move.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MOVE_END"></a>MOVE_END</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MOVE_END: 'moveEnd'</td></tr></table></blockquote><p>Specifies the event name for moveEnd.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.PAN_START"></a>PAN_START</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">PAN_START: 'panStart'</td></tr></table></blockquote><p>Specifies the event name for panStart.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.PAN"></a>PAN</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">PAN: 'pan'</td></tr></table></blockquote><p>Specifies the event name for pan.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.PAN_END"></a>PAN_END</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">PAN_END: 'panEnd'</td></tr></table></blockquote><p>Specifies the event name for panEnd.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MINIMIZE"></a>MINIMIZE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MINIMIZE: 'minimize'</td></tr></table></blockquote><p>Specifies the event name for minimize.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.NORMALIZE"></a>NORMALIZE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">NORMALIZE: 'normalize'</td></tr></table></blockquote><p>Specifies the event name for normalize.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MAXIMIZE"></a>MAXIMIZE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MAXIMIZE: 'maximize'</td></tr></table></blockquote><p>Specifies the event name for maximize.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.HIDE"></a>HIDE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">HIDE: 'hide'</td></tr></table></blockquote><p>Specifies the event name for hide.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.SHOW"></a>SHOW</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">SHOW: 'show'</td></tr></table></blockquote><p>Specifies the event name for show.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CLOSE"></a>CLOSE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CLOSE: 'close'</td></tr></table></blockquote><p>Specifies the event name for close.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.DESTROY"></a>DESTROY</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">DESTROY: 'destroy'</td></tr></table></blockquote><p>Specifies the event name for destroy.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.REFRESH"></a>REFRESH</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">REFRESH: 'refresh'</td></tr></table></blockquote><p>Specifies the event name for refresh.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.SIZE"></a>SIZE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">SIZE: 'size'</td></tr></table></blockquote><p>Specifies the event name for size.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.SELECT"></a>SELECT</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">SELECT: 'select'</td></tr></table></blockquote><p>Specifies the event name for select.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.FIRED"></a>FIRED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">FIRED: 'fired'</td></tr></table></blockquote><p>Specifies the event name for fired.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.FIRE_MOUSE_EVENT"></a>FIRE_MOUSE_EVENT</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">FIRE_MOUSE_EVENT: 'fireMouseEvent'</td></tr></table></blockquote><p>Specifies the event name for fireMouseEvent.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.GESTURE"></a>GESTURE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">GESTURE: 'gesture'</td></tr></table></blockquote><p>Specifies the event name for gesture.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.TAP_AND_HOLD"></a>TAP_AND_HOLD</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">TAP_AND_HOLD: 'tapAndHold'</td></tr></table></blockquote><p>Specifies the event name for tapAndHold.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.GET"></a>GET</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">GET: 'get'</td></tr></table></blockquote><p>Specifies the event name for get.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.RECEIVE"></a>RECEIVE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">RECEIVE: 'receive'</td></tr></table></blockquote><p>Specifies the event name for receive.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CONNECT"></a>CONNECT</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CONNECT: 'connect'</td></tr></table></blockquote><p>Specifies the event name for connect.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.DISCONNECT"></a>DISCONNECT</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">DISCONNECT: 'disconnect'</td></tr></table></blockquote><p>Specifies the event name for disconnect.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.SUSPEND"></a>SUSPEND</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">SUSPEND: 'suspend'</td></tr></table></blockquote><p>Specifies the event name for suspend.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.RESUME"></a>RESUME</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">RESUME: 'resume'</td></tr></table></blockquote><p>Specifies the event name for suspend.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MARK"></a>MARK</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MARK: 'mark'</td></tr></table></blockquote><p>Specifies the event name for mark.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ROOT"></a>ROOT</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ROOT: 'root'</td></tr></table></blockquote><p>Specifies the event name for root.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.POST"></a>POST</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">POST: 'post'</td></tr></table></blockquote><p>Specifies the event name for post.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.OPEN"></a>OPEN</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">OPEN: 'open'</td></tr></table></blockquote><p>Specifies the event name for open.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.SAVE"></a>SAVE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">SAVE: 'save'</td></tr></table></blockquote><p>Specifies the event name for open.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.BEFORE_ADD_VERTEX"></a>BEFORE_ADD_VERTEX</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">BEFORE_ADD_VERTEX: 'beforeAddVertex'</td></tr></table></blockquote><p>Specifies the event name for beforeAddVertex.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ADD_VERTEX"></a>ADD_VERTEX</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ADD_VERTEX: 'addVertex'</td></tr></table></blockquote><p>Specifies the event name for addVertex.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.AFTER_ADD_VERTEX"></a>AFTER_ADD_VERTEX</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">AFTER_ADD_VERTEX: 'afterAddVertex'</td></tr></table></blockquote><p>Specifies the event name for afterAddVertex.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.DONE"></a>DONE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">DONE: 'done'</td></tr></table></blockquote><p>Specifies the event name for done.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.EXECUTE"></a>EXECUTE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">EXECUTE: 'execute'</td></tr></table></blockquote><p>Specifies the event name for execute.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.EXECUTED"></a>EXECUTED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">EXECUTED: 'executed'</td></tr></table></blockquote><p>Specifies the event name for executed.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.BEGIN_UPDATE"></a>BEGIN_UPDATE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">BEGIN_UPDATE: 'beginUpdate'</td></tr></table></blockquote><p>Specifies the event name for beginUpdate.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.START_EDIT"></a>START_EDIT</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">START_EDIT: 'startEdit'</td></tr></table></blockquote><p>Specifies the event name for startEdit.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.END_UPDATE"></a>END_UPDATE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">END_UPDATE: 'endUpdate'</td></tr></table></blockquote><p>Specifies the event name for endUpdate.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.END_EDIT"></a>END_EDIT</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">END_EDIT: 'endEdit'</td></tr></table></blockquote><p>Specifies the event name for endEdit.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.BEFORE_UNDO"></a>BEFORE_UNDO</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">BEFORE_UNDO: 'beforeUndo'</td></tr></table></blockquote><p>Specifies the event name for beforeUndo.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.UNDO"></a>UNDO</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">UNDO: 'undo'</td></tr></table></blockquote><p>Specifies the event name for undo.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.REDO"></a>REDO</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">REDO: 'redo'</td></tr></table></blockquote><p>Specifies the event name for redo.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CHANGE"></a>CHANGE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CHANGE: 'change'</td></tr></table></blockquote><p>Specifies the event name for change.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.NOTIFY"></a>NOTIFY</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">NOTIFY: 'notify'</td></tr></table></blockquote><p>Specifies the event name for notify.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.LAYOUT_CELLS"></a>LAYOUT_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">LAYOUT_CELLS: 'layoutCells'</td></tr></table></blockquote><p>Specifies the event name for layoutCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CLICK"></a>CLICK</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CLICK: 'click'</td></tr></table></blockquote><p>Specifies the event name for click.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.SCALE"></a>SCALE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">SCALE: 'scale'</td></tr></table></blockquote><p>Specifies the event name for scale.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.TRANSLATE"></a>TRANSLATE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">TRANSLATE: 'translate'</td></tr></table></blockquote><p>Specifies the event name for translate.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.SCALE_AND_TRANSLATE"></a>SCALE_AND_TRANSLATE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">SCALE_AND_TRANSLATE: 'scaleAndTranslate'</td></tr></table></blockquote><p>Specifies the event name for scaleAndTranslate.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.UP"></a>UP</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">UP: 'up'</td></tr></table></blockquote><p>Specifies the event name for up.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.DOWN"></a>DOWN</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">DOWN: 'down'</td></tr></table></blockquote><p>Specifies the event name for down.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ADD"></a>ADD</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ADD: 'add'</td></tr></table></blockquote><p>Specifies the event name for add.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.REMOVE"></a>REMOVE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">REMOVE: 'remove'</td></tr></table></blockquote><p>Specifies the event name for remove.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CLEAR"></a>CLEAR</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CLEAR: 'clear'</td></tr></table></blockquote><p>Specifies the event name for clear.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ADD_CELLS"></a>ADD_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ADD_CELLS: 'addCells'</td></tr></table></blockquote><p>Specifies the event name for addCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CELLS_ADDED"></a>CELLS_ADDED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CELLS_ADDED: 'cellsAdded'</td></tr></table></blockquote><p>Specifies the event name for cellsAdded.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.MOVE_CELLS"></a>MOVE_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">MOVE_CELLS: 'moveCells'</td></tr></table></blockquote><p>Specifies the event name for moveCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CELLS_MOVED"></a>CELLS_MOVED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CELLS_MOVED: 'cellsMoved'</td></tr></table></blockquote><p>Specifies the event name for cellsMoved.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.RESIZE_CELLS"></a>RESIZE_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">RESIZE_CELLS: 'resizeCells'</td></tr></table></blockquote><p>Specifies the event name for resizeCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CELLS_RESIZED"></a>CELLS_RESIZED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CELLS_RESIZED: 'cellsResized'</td></tr></table></blockquote><p>Specifies the event name for cellsResized.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.TOGGLE_CELLS"></a>TOGGLE_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">TOGGLE_CELLS: 'toggleCells'</td></tr></table></blockquote><p>Specifies the event name for toggleCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CELLS_TOGGLED"></a>CELLS_TOGGLED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CELLS_TOGGLED: 'cellsToggled'</td></tr></table></blockquote><p>Specifies the event name for cellsToggled.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ORDER_CELLS"></a>ORDER_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ORDER_CELLS: 'orderCells'</td></tr></table></blockquote><p>Specifies the event name for orderCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CELLS_ORDERED"></a>CELLS_ORDERED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CELLS_ORDERED: 'cellsOrdered'</td></tr></table></blockquote><p>Specifies the event name for cellsOrdered.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.REMOVE_CELLS"></a>REMOVE_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">REMOVE_CELLS: 'removeCells'</td></tr></table></blockquote><p>Specifies the event name for removeCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CELLS_REMOVED"></a>CELLS_REMOVED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CELLS_REMOVED: 'cellsRemoved'</td></tr></table></blockquote><p>Specifies the event name for cellsRemoved.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.GROUP_CELLS"></a>GROUP_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">GROUP_CELLS: 'groupCells'</td></tr></table></blockquote><p>Specifies the event name for groupCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.UNGROUP_CELLS"></a>UNGROUP_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">UNGROUP_CELLS: 'ungroupCells'</td></tr></table></blockquote><p>Specifies the event name for ungroupCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.REMOVE_CELLS_FROM_PARENT"></a>REMOVE_CELLS_FROM_PARENT</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">REMOVE_CELLS_FROM_PARENT: 'removeCellsFromParent'</td></tr></table></blockquote><p>Specifies the event name for removeCellsFromParent.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.FOLD_CELLS"></a>FOLD_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">FOLD_CELLS: 'foldCells'</td></tr></table></blockquote><p>Specifies the event name for foldCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CELLS_FOLDED"></a>CELLS_FOLDED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CELLS_FOLDED: 'cellsFolded'</td></tr></table></blockquote><p>Specifies the event name for cellsFolded.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ALIGN_CELLS"></a>ALIGN_CELLS</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ALIGN_CELLS: 'alignCells'</td></tr></table></blockquote><p>Specifies the event name for alignCells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.LABEL_CHANGED"></a>LABEL_CHANGED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">LABEL_CHANGED: 'labelChanged'</td></tr></table></blockquote><p>Specifies the event name for labelChanged.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CONNECT_CELL"></a>CONNECT_CELL</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CONNECT_CELL: 'connectCell'</td></tr></table></blockquote><p>Specifies the event name for connectCell.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.CELL_CONNECTED"></a>CELL_CONNECTED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">CELL_CONNECTED: 'cellConnected'</td></tr></table></blockquote><p>Specifies the event name for cellConnected.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.SPLIT_EDGE"></a>SPLIT_EDGE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">SPLIT_EDGE: 'splitEdge'</td></tr></table></blockquote><p>Specifies the event name for splitEdge.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.FLIP_EDGE"></a>FLIP_EDGE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">FLIP_EDGE: 'flipEdge'</td></tr></table></blockquote><p>Specifies the event name for flipEdge.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.START_EDITING"></a>START_EDITING</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">START_EDITING: 'startEditing'</td></tr></table></blockquote><p>Specifies the event name for startEditing.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.EDITING_STARTED"></a>EDITING_STARTED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">EDITING_STARTED: 'editingStarted'</td></tr></table></blockquote><p>Specifies the event name for editingStarted.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.EDITING_STOPPED"></a>EDITING_STOPPED</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">EDITING_STOPPED: 'editingStopped'</td></tr></table></blockquote><p>Specifies the event name for editingStopped.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ADD_OVERLAY"></a>ADD_OVERLAY</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ADD_OVERLAY: 'addOverlay'</td></tr></table></blockquote><p>Specifies the event name for addOverlay.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.REMOVE_OVERLAY"></a>REMOVE_OVERLAY</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">REMOVE_OVERLAY: 'removeOverlay'</td></tr></table></blockquote><p>Specifies the event name for removeOverlay.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.UPDATE_CELL_SIZE"></a>UPDATE_CELL_SIZE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">UPDATE_CELL_SIZE: 'updateCellSize'</td></tr></table></blockquote><p>Specifies the event name for updateCellSize.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.ESCAPE"></a>ESCAPE</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">ESCAPE: 'escape'</td></tr></table></blockquote><p>Specifies the event name for escape.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.DOUBLE_CLICK"></a>DOUBLE_CLICK</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">DOUBLE_CLICK: 'doubleClick'</td></tr></table></blockquote><p>Specifies the event name for doubleClick.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.START"></a>START</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">START: 'start'</td></tr></table></blockquote><p>Specifies the event name for start.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxEvent.RESET"></a>RESET</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">RESET: 'reset'</td></tr></table></blockquote><p>Specifies the event name for reset.</p></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">objects: []</td></tr></table></blockquote>Contains all objects where any listener was added using addListener. </div></div><divclass=CToolTipid="tt2"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">addListener: function()</td></tr></table></blockquote>Binds the function to the specified event on the given element. </div></div><divclass=CToolTipid="tt3"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">removeListener: function()</td></tr></table></blockquote>Removes the specified listener from the given element.</div></div><divclass=CToolTipid="tt4"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>removeAllListeners: function(</td><tdclass="PParameter prettyprint "nowrap>element</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Removes all listeners from the given element.</div></div><divclass=CToolTipid="tt5"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>addGestureListeners: function(</td><tdclass="PParameter prettyprint "nowrap>node,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>startListener,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>moveListener,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>endListener</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the given listeners for touch, mouse and/or pointer events. </div></div><divclass=CToolTipid="tt6"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>removeGestureListeners: function(</td><tdclass="PParameter prettyprint "nowrap>node,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>startListener,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>moveListener,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>endListener</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.</div></div><divclass=CToolTipid="tt7"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">IS_TOUCH: 'ontouchstart' in document.documentElement</td></tr></table></blockquote>True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).</div></div><divclass=CToolTipid="tt8"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>redirectMouseEvents: function(</td><tdclass="PParameter prettyprint "nowrap>node,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>graph,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>state,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>down,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>move,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>up,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>dblClick</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Redirects the mouse ev