maxGraph/docs/js-api/files/util/mxEvent-js.html

299 lines
97 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxEvent</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/prettify.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
2015-03-05 09:43:42 +00:00
<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxEvent"></a>mxEvent</h1><div class=CBody><p>Cross-browser DOM event support.&nbsp; For internal event handling, <a href="mxEventSource-js.html#mxEventSource" class=LClass id=link30 onMouseOver="ShowTip(event, 'tt28', 'link30')" onMouseOut="HideTip('tt28')">mxEventSource</a> and the graph event dispatch loop in <a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link31 onMouseOver="ShowTip(event, 'tt29', 'link31')" onMouseOut="HideTip('tt29')">mxGraph</a> are used.</p><h4 class=CHeading>Memory Leaks</h4><p>Use this class for adding and removing listeners to/from DOM nodes.&nbsp; The <a href="#mxEvent.removeAllListeners" class=LFunction id=link32 onMouseOver="ShowTip(event, 'tt3', 'link32')" onMouseOut="HideTip('tt3')">removeAllListeners</a> function is provided to remove all listeners that have been added using <a href="#mxEvent.addListener" class=LFunction id=link33 onMouseOver="ShowTip(event, 'tt1', 'link33')" onMouseOut="HideTip('tt1')">addListener</a>.&nbsp; 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--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#mxEvent" >mxEvent</a></td><td class=SDescription>Cross-browser DOM event support. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxEvent.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.objects" >objects</a></td><td class=SDescription>Contains all objects where any listener was added using <a href="#mxEvent.addListener" class=LFunction id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">addListener</a>. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxEvent.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.addListener" id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">addListener</a></td><td class=SDescription>Binds the function to the specified event on the given element. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.removeListener" id=link3 onMouseOver="ShowTip(event, 'tt2', 'link3')" onMouseOut="HideTip('tt2')">removeListener</a></td><td class=SDescription>Removes the specified listener from the given element.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.removeAllListeners" id=link4 onMouseOver="ShowTip(event, 'tt3', 'link4')" onMouseOut="HideTip('tt3')">removeAllListeners</a></td><td class=SDescription>Removes all listeners from the given element.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.addGestureListeners" id=link5 onMouseOver="ShowTip(event, 'tt4', 'link5')" onMouseOut="HideTip('tt4')">addGestureListeners</a></td><td class=SDescription>Adds the given listeners for touch, mouse and/or pointer events. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.removeGestureListeners" id=link6 onMouseOver="ShowTip(event, 'tt5', 'link6')" onMouseOut="HideTip('tt5')">removeGestureListeners</a></td><td class=SDescription>Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if <a href="../mxClient-js.html#mxClient.IS_TOUCH" class=LVariable id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxClient.IS_TOUCH</a> is true.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.redirectMouseEvents" id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">redirectMouseEvents</a></td><td class=SDescription>Redirects the mouse events from the given DOM node to the graph dispatch l
2012-05-21 20:32:26 +00:00
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEvent.Variables"></a>Variables</h3></div></div>
2014-05-12 09:58:11 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.objects"></a>objects</h3><div class=CBody><p>Contains all objects where any listener was added using <a href="#mxEvent.addListener" class=LFunction id=link34 onMouseOver="ShowTip(event, 'tt1', 'link34')" onMouseOut="HideTip('tt1')">addListener</a>.&nbsp; This is used to reduce memory leaks in IE, see <a href="../mxClient-js.html#mxClient.dispose" class=LFunction id=link35 onMouseOver="ShowTip(event, 'tt30', 'link35')" onMouseOut="HideTip('tt30')">mxClient.dispose</a>.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEvent.Functions"></a>Functions</h3></div></div>
2014-05-12 09:58:11 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.addListener"></a>addListener</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>addListener: function()</td></tr></table></blockquote><p>Binds the function to the specified event on the given element.&nbsp; Use <a href="mxUtils-js.html#mxUtils.bind" class=LFunction id=link36 onMouseOver="ShowTip(event, 'tt31', 'link36')" onMouseOut="HideTip('tt31')">mxUtils.bind</a> in order to bind the &ldquo;this&rdquo; keyword inside the function to a given execution scope.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.removeListener"></a>removeListener</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>removeListener: function()</td></tr></table></blockquote><p>Removes the specified listener from the given element.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.removeAllListeners"></a>removeAllListeners</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeAllListeners: function(</td><td class=PParameter nowrap>element</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes all listeners from the given element.</p></div></div></div>
2016-03-01 09:16:15 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.addGestureListeners"></a>addGestureListeners</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addGestureListeners: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>startListener,</td></tr><tr><td></td><td class=PParameter nowrap>moveListener,</td></tr><tr><td></td><td class=PParameter nowrap>endListener</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the given listeners for touch, mouse and/or pointer events.&nbsp; If <a href="../mxClient-js.html#mxClient.IS_POINTER" class=LVariable id=link37 onMouseOver="ShowTip(event, 'tt32', 'link37')" onMouseOut="HideTip('tt32')">mxClient.IS_POINTER</a> is true then pointer events will be registered, else the respective mouse events will be registered.&nbsp; If <a href="../mxClient-js.html#mxClient.IS_POINTER" class=LVariable id=link38 onMouseOver="ShowTip(event, 'tt32', 'link38')" onMouseOut="HideTip('tt32')">mxClient.IS_POINTER</a> is false and <a href="../mxClient-js.html#mxClient.IS_TOUCH" class=LVariable id=link39 onMouseOver="ShowTip(event, 'tt6', 'link39')" onMouseOut="HideTip('tt6')">mxClient.IS_TOUCH</a> is true then the respective touch events will be registered as well as the mouse events.</p></div></div></div>
2013-05-23 16:14:48 +00:00
2014-05-12 09:58:11 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.removeGestureListeners"></a>removeGestureListeners</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeGestureListeners: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>startListener,</td></tr><tr><td></td><td class=PParameter nowrap>moveListener,</td></tr><tr><td></td><td class=PParameter nowrap>endListener</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if <a href="../mxClient-js.html#mxClient.IS_TOUCH" class=LVariable id=link40 onMouseOver="ShowTip(event, 'tt6', 'link40')" onMouseOut="HideTip('tt6')">mxClient.IS_TOUCH</a> is true.</p></div></div></div>
2013-05-23 16:14:48 +00:00
2014-05-12 09:58:11 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.redirectMouseEvents"></a>redirectMouseEvents</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>redirectMouseEvents: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>down,</td></tr><tr><td></td><td class=PParameter nowrap>move,</td></tr><tr><td></td><td class=PParameter nowrap>up,</td></tr><tr><td></td><td class=PParameter nowrap>dblClick</td><td class=PAfterParameters 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.&nbsp; State can either be an instance of <a href="../view/mxCellState-js.html#mxCellState" class=LClass id=link41 onMouseOver="ShowTip(event, 'tt33', 'link41')" onMouseOut="HideTip('tt33')">mxCellState</a> or a function that returns an <a href="../view/mxCellState-js.html#mxCellState" class=LClass id=link42 onMouseOver="ShowTip(event, 'tt33', 'link42')" onMouseOut="HideTip('tt33')">mxCellState</a>.&nbsp; 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>
2012-05-21 20:32:26 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.release"></a>release</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>release: function(</td><td class=PParameter nowrap>element</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the known listeners from the given DOM node and its descendants.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>element</td><td class=CDLDescription>DOM node to remove the listeners from.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.disableContextMenu"></a>disableContextMenu</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>disableContextMenu: function()</td></tr></table></blockquote><p>Disables the context menu for the given element.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.getSource"></a>getSource</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getSource: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the event&rsquo;s target or srcElement depending on the browser.</p></div></div></div>
2014-05-12 09:58:11 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isConsumed"></a>isConsumed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isConsumed: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the event has been consumed using <a href="#mxEvent.consume" class=LFunction id=link43 onMouseOver="ShowTip(event, 'tt12', 'link43')" onMouseOut="HideTip('tt12')">consume</a>.</p></div></div></div>
2012-05-21 20:32:26 +00:00
2013-06-28 19:07:06 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isTouchEvent"></a>isTouchEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isTouchEvent: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters 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>
2012-05-21 20:32:26 +00:00
2014-05-12 09:58:11 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isMultiTouchEvent"></a>isMultiTouchEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isMultiTouchEvent: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters 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>
2013-06-28 19:07:06 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isMouseEvent"></a>isMouseEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isMouseEvent: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters 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>
2014-07-25 06:48:01 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isLeftMouseButton"></a>isLeftMouseButton</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isLeftMouseButton: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the left mouse button is pressed for the given event.&nbsp; To check if a button is pressed during a mouseMove you should use the <a href="../view/mxGraph-js.html#mxGraph.isMouseDown" class=LVariable id=link44 onMouseOver="ShowTip(event, 'tt34', 'link44')" onMouseOut="HideTip('tt34')">mxGraph.isMouseDown</a> property.&nbsp; Note that this returns true in Firefox for control+left-click on the Mac.</p></div></div></div>
2013-06-28 19:07:06 +00:00
2014-05-12 09:58:11 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isMiddleMouseButton"></a>isMiddleMouseButton</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isMiddleMouseButton: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the middle mouse button is pressed for the given event.&nbsp; To check if a button is pressed during a mouseMove you should use the <a href="../view/mxGraph-js.html#mxGraph.isMouseDown" class=LVariable id=link45 onMouseOver="ShowTip(event, 'tt34', 'link45')" onMouseOut="HideTip('tt34')">mxGraph.isMouseDown</a> property.</p></div></div></div>
2014-02-19 14:19:38 +00:00
2014-05-12 09:58:11 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isRightMouseButton"></a>isRightMouseButton</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isRightMouseButton: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the right mouse button was pressed.&nbsp; Note that this button might not be available on some systems.&nbsp; For handling a popup trigger <a href="#mxEvent.isPopupTrigger" class=LFunction id=link46 onMouseOver="ShowTip(event, 'tt19', 'link46')" onMouseOut="HideTip('tt19')">isPopupTrigger</a> should be used.</p></div></div></div>
2012-05-21 20:32:26 +00:00
2014-07-25 06:48:01 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isPopupTrigger"></a>isPopupTrigger</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isPopupTrigger: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the event is a popup trigger.&nbsp; This implementation returns true if the right button or the left button and control was pressed on a Mac.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isShiftDown"></a>isShiftDown</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isShiftDown: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters 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>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isAltDown"></a>isAltDown</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isAltDown: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters 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>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isControlDown"></a>isControlDown</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isControlDown: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters 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>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.isMetaDown"></a>isMetaDown</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isMetaDown: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters 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>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.getMainEvent"></a>getMainEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getMainEvent: function(</td><td class=PParameter nowrap>e</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the touch or mouse event that contains the mouse coordinates.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.getClientX"></a>getClientX</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getClientX: function(</td><td class=PParameter nowrap>e</td><td class=PAfterParameters 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>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.getClientY"></a>getClientY</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getClientY: function(</td><td class=PParameter nowrap>e</td><td class=PAfterParameters 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>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEvent.consume"></a>consume</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>consume: function(</td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>preventDefault,</td></tr><tr><td></td><td class=PParameter nowrap>stopPropagation</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Consumes the given event.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Native event to be consumed.</td></tr><tr><td class=CDLEntry>preventDefault</td><td class=CDLDescription>Optional boolean to prevent the default for the event.&nbsp; Default is true.</td></tr><tr><td class=CDLEntry>stopPropagation</td><td class=CDLDescription>Option boolean to stop event propagation.&nbsp; Default is true.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEvent.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.LABEL_HANDLE"></a>LABEL_HANDLE</h3><div class=CBody><p>Index for the label handle in an mxMouseEvent.&nbsp; This should be a negative value that does not interfere with any possible handle indices.&nbsp; Default is -1.</p></div></div></div>
2012-07-20 10:35:30 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ROTATION_HANDLE"></a>ROTATION_HANDLE</h3><div class=CBody><p>Index for the rotation handle in an mxMouseEvent.&nbsp; This should be a negative value that does not interfere with any possible handle indices.&nbsp; Default is -2.</p></div></div></div>
2014-10-03 12:49:36 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CUSTOM_HANDLE"></a>CUSTOM_HANDLE</h3><div class=CBody><p>Start index for the custom handles in an mxMouseEvent.&nbsp; This should be a negative value and is the start index which is decremented for each custom handle.&nbsp; Default is -100.</p></div></div></div>
2015-03-05 09:43:42 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.VIRTUAL_HANDLE"></a>VIRTUAL_HANDLE</h3><div class=CBody><p>Start index for the virtual handles in an mxMouseEvent.&nbsp; This should be a negative value and is the start index which is decremented for each virtual handle.&nbsp; Default is -100000.&nbsp; This assumes that there are no more than VIRTUAL_HANDLE - CUSTOM_HANDLE custom handles.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MOUSE_DOWN"></a>MOUSE_DOWN</h3><div class=CBody><p>Specifies the event name for mouseDown.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MOUSE_MOVE"></a>MOUSE_MOVE</h3><div class=CBody><p>Specifies the event name for mouseMove.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MOUSE_UP"></a>MOUSE_UP</h3><div class=CBody><p>Specifies the event name for mouseUp.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ACTIVATE"></a>ACTIVATE</h3><div class=CBody><p>Specifies the event name for activate.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.RESIZE_START"></a>RESIZE_START</h3><div class=CBody><p>Specifies the event name for resizeStart.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.RESIZE"></a>RESIZE</h3><div class=CBody><p>Specifies the event name for resize.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.RESIZE_END"></a>RESIZE_END</h3><div class=CBody><p>Specifies the event name for resizeEnd.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MOVE_START"></a>MOVE_START</h3><div class=CBody><p>Specifies the event name for moveStart.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MOVE"></a>MOVE</h3><div class=CBody><p>Specifies the event name for move.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MOVE_END"></a>MOVE_END</h3><div class=CBody><p>Specifies the event name for moveEnd.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.PAN_START"></a>PAN_START</h3><div class=CBody><p>Specifies the event name for panStart.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.PAN"></a>PAN</h3><div class=CBody><p>Specifies the event name for pan.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.PAN_END"></a>PAN_END</h3><div class=CBody><p>Specifies the event name for panEnd.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MINIMIZE"></a>MINIMIZE</h3><div class=CBody><p>Specifies the event name for minimize.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.NORMALIZE"></a>NORMALIZE</h3><div class=CBody><p>Specifies the event name for normalize.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MAXIMIZE"></a>MAXIMIZE</h3><div class=CBody><p>Specifies the event name for maximize.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.HIDE"></a>HIDE</h3><div class=CBody><p>Specifies the event name for hide.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.SHOW"></a>SHOW</h3><div class=CBody><p>Specifies the event name for show.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CLOSE"></a>CLOSE</h3><div class=CBody><p>Specifies the event name for close.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.DESTROY"></a>DESTROY</h3><div class=CBody><p>Specifies the event name for destroy.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.REFRESH"></a>REFRESH</h3><div class=CBody><p>Specifies the event name for refresh.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.SIZE"></a>SIZE</h3><div class=CBody><p>Specifies the event name for size.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.SELECT"></a>SELECT</h3><div class=CBody><p>Specifies the event name for select.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.FIRED"></a>FIRED</h3><div class=CBody><p>Specifies the event name for fired.</p></div></div></div>
2013-06-28 19:07:06 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.FIRE_MOUSE_EVENT"></a>FIRE_MOUSE_EVENT</h3><div class=CBody><p>Specifies the event name for fireMouseEvent.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.GESTURE"></a>GESTURE</h3><div class=CBody><p>Specifies the event name for gesture.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.TAP_AND_HOLD"></a>TAP_AND_HOLD</h3><div class=CBody><p>Specifies the event name for tapAndHold.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.GET"></a>GET</h3><div class=CBody><p>Specifies the event name for get.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.RECEIVE"></a>RECEIVE</h3><div class=CBody><p>Specifies the event name for receive.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CONNECT"></a>CONNECT</h3><div class=CBody><p>Specifies the event name for connect.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.DISCONNECT"></a>DISCONNECT</h3><div class=CBody><p>Specifies the event name for disconnect.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.SUSPEND"></a>SUSPEND</h3><div class=CBody><p>Specifies the event name for suspend.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.RESUME"></a>RESUME</h3><div class=CBody><p>Specifies the event name for suspend.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MARK"></a>MARK</h3><div class=CBody><p>Specifies the event name for mark.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ROOT"></a>ROOT</h3><div class=CBody><p>Specifies the event name for root.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.POST"></a>POST</h3><div class=CBody><p>Specifies the event name for post.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.OPEN"></a>OPEN</h3><div class=CBody><p>Specifies the event name for open.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.SAVE"></a>SAVE</h3><div class=CBody><p>Specifies the event name for open.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.BEFORE_ADD_VERTEX"></a>BEFORE_ADD_VERTEX</h3><div class=CBody><p>Specifies the event name for beforeAddVertex.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ADD_VERTEX"></a>ADD_VERTEX</h3><div class=CBody><p>Specifies the event name for addVertex.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.AFTER_ADD_VERTEX"></a>AFTER_ADD_VERTEX</h3><div class=CBody><p>Specifies the event name for afterAddVertex.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.DONE"></a>DONE</h3><div class=CBody><p>Specifies the event name for done.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.EXECUTE"></a>EXECUTE</h3><div class=CBody><p>Specifies the event name for execute.</p></div></div></div>
2013-05-23 16:14:48 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.EXECUTED"></a>EXECUTED</h3><div class=CBody><p>Specifies the event name for executed.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.BEGIN_UPDATE"></a>BEGIN_UPDATE</h3><div class=CBody><p>Specifies the event name for beginUpdate.</p></div></div></div>
2013-05-23 16:14:48 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.START_EDIT"></a>START_EDIT</h3><div class=CBody><p>Specifies the event name for startEdit.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.END_UPDATE"></a>END_UPDATE</h3><div class=CBody><p>Specifies the event name for endUpdate.</p></div></div></div>
2013-05-23 16:14:48 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.END_EDIT"></a>END_EDIT</h3><div class=CBody><p>Specifies the event name for endEdit.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.BEFORE_UNDO"></a>BEFORE_UNDO</h3><div class=CBody><p>Specifies the event name for beforeUndo.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.UNDO"></a>UNDO</h3><div class=CBody><p>Specifies the event name for undo.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.REDO"></a>REDO</h3><div class=CBody><p>Specifies the event name for redo.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CHANGE"></a>CHANGE</h3><div class=CBody><p>Specifies the event name for change.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.NOTIFY"></a>NOTIFY</h3><div class=CBody><p>Specifies the event name for notify.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.LAYOUT_CELLS"></a>LAYOUT_CELLS</h3><div class=CBody><p>Specifies the event name for layoutCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CLICK"></a>CLICK</h3><div class=CBody><p>Specifies the event name for click.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.SCALE"></a>SCALE</h3><div class=CBody><p>Specifies the event name for scale.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.TRANSLATE"></a>TRANSLATE</h3><div class=CBody><p>Specifies the event name for translate.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.SCALE_AND_TRANSLATE"></a>SCALE_AND_TRANSLATE</h3><div class=CBody><p>Specifies the event name for scaleAndTranslate.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.UP"></a>UP</h3><div class=CBody><p>Specifies the event name for up.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.DOWN"></a>DOWN</h3><div class=CBody><p>Specifies the event name for down.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ADD"></a>ADD</h3><div class=CBody><p>Specifies the event name for add.</p></div></div></div>
2012-08-26 10:10:08 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.REMOVE"></a>REMOVE</h3><div class=CBody><p>Specifies the event name for remove.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CLEAR"></a>CLEAR</h3><div class=CBody><p>Specifies the event name for clear.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ADD_CELLS"></a>ADD_CELLS</h3><div class=CBody><p>Specifies the event name for addCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CELLS_ADDED"></a>CELLS_ADDED</h3><div class=CBody><p>Specifies the event name for cellsAdded.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.MOVE_CELLS"></a>MOVE_CELLS</h3><div class=CBody><p>Specifies the event name for moveCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CELLS_MOVED"></a>CELLS_MOVED</h3><div class=CBody><p>Specifies the event name for cellsMoved.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.RESIZE_CELLS"></a>RESIZE_CELLS</h3><div class=CBody><p>Specifies the event name for resizeCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CELLS_RESIZED"></a>CELLS_RESIZED</h3><div class=CBody><p>Specifies the event name for cellsResized.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.TOGGLE_CELLS"></a>TOGGLE_CELLS</h3><div class=CBody><p>Specifies the event name for toggleCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CELLS_TOGGLED"></a>CELLS_TOGGLED</h3><div class=CBody><p>Specifies the event name for cellsToggled.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ORDER_CELLS"></a>ORDER_CELLS</h3><div class=CBody><p>Specifies the event name for orderCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CELLS_ORDERED"></a>CELLS_ORDERED</h3><div class=CBody><p>Specifies the event name for cellsOrdered.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.REMOVE_CELLS"></a>REMOVE_CELLS</h3><div class=CBody><p>Specifies the event name for removeCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CELLS_REMOVED"></a>CELLS_REMOVED</h3><div class=CBody><p>Specifies the event name for cellsRemoved.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.GROUP_CELLS"></a>GROUP_CELLS</h3><div class=CBody><p>Specifies the event name for groupCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.UNGROUP_CELLS"></a>UNGROUP_CELLS</h3><div class=CBody><p>Specifies the event name for ungroupCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.REMOVE_CELLS_FROM_PARENT"></a>REMOVE_CELLS_FROM_PARENT</h3><div class=CBody><p>Specifies the event name for removeCellsFromParent.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.FOLD_CELLS"></a>FOLD_CELLS</h3><div class=CBody><p>Specifies the event name for foldCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CELLS_FOLDED"></a>CELLS_FOLDED</h3><div class=CBody><p>Specifies the event name for cellsFolded.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ALIGN_CELLS"></a>ALIGN_CELLS</h3><div class=CBody><p>Specifies the event name for alignCells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.LABEL_CHANGED"></a>LABEL_CHANGED</h3><div class=CBody><p>Specifies the event name for labelChanged.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CONNECT_CELL"></a>CONNECT_CELL</h3><div class=CBody><p>Specifies the event name for connectCell.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CELL_CONNECTED"></a>CELL_CONNECTED</h3><div class=CBody><p>Specifies the event name for cellConnected.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.SPLIT_EDGE"></a>SPLIT_EDGE</h3><div class=CBody><p>Specifies the event name for splitEdge.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.FLIP_EDGE"></a>FLIP_EDGE</h3><div class=CBody><p>Specifies the event name for flipEdge.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.START_EDITING"></a>START_EDITING</h3><div class=CBody><p>Specifies the event name for startEditing.</p></div></div></div>
2015-01-05 14:01:01 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.EDITING_STARTED"></a>EDITING_STARTED</h3><div class=CBody><p>Specifies the event name for editingStarted.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.EDITING_STOPPED"></a>EDITING_STOPPED</h3><div class=CBody><p>Specifies the event name for editingStopped.</p></div></div></div>
2012-05-21 20:32:26 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ADD_OVERLAY"></a>ADD_OVERLAY</h3><div class=CBody><p>Specifies the event name for addOverlay.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.REMOVE_OVERLAY"></a>REMOVE_OVERLAY</h3><div class=CBody><p>Specifies the event name for removeOverlay.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.UPDATE_CELL_SIZE"></a>UPDATE_CELL_SIZE</h3><div class=CBody><p>Specifies the event name for updateCellSize.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.ESCAPE"></a>ESCAPE</h3><div class=CBody><p>Specifies the event name for escape.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.CLICK"></a>CLICK</h3><div class=CBody><p>Specifies the event name for click.</p></div></div></div>
2012-09-22 15:02:45 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.DOUBLE_CLICK"></a>DOUBLE_CLICK</h3><div class=CBody><p>Specifies the event name for doubleClick.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.START"></a>START</h3><div class=CBody><p>Specifies the event name for start.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEvent.RESET"></a>RESET</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>RESET: 'reset' }</td></tr></table></blockquote><p>Specifies the event name for reset.</p></div></div></div>
2012-05-21 20:32:26 +00:00
</div><!--Content-->
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
2017-01-16 08:36:34 +00:00
<div id=Menu><div class=MEntry><div class=MFile><a href="../index-txt.html">API Specification</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Editor</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../editor/mxDefaultKeyHandler-js.html">mxDefaultKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultPopupMenu-js.html">mxDefaultPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultToolbar-js.html">mxDefaultToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxEditor-js.html">mxEditor</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Handler</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../handler/mxCellHighlight-js.html">mxCellHighlight</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxCellMarker-js.html">mxCellMarker</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxCellTracker-js.html">mxCellTracker</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxConnectionHandler-js.html">mxConnectionHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxConstraintHandler-js.html">mxConstraintHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxEdgeHandler-js.html">mxEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxEdgeSegmentHandler-js.html">mxEdgeSegmentHandler.js</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxElbowEdgeHandler-js.html">mxElbowEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxGraphHandler-js.html">mxGraphHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxHandle-js.html">mxHandle</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxKeyHandler-js.html">mxKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxPanningHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxPopupMenuHandler-js.html">mxPopupMenuHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxRubberband-js.html">mxRubberband</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxSelectionCellsHandler-js.html">mxSelectionCellsHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxTooltipHandler-js.html">mxTooltipHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxVertexHandler-js.html">mxVertexHandler</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Io</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../io/mxCellCodec-js.html">mxCellCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxChildChangeCodec-js.html">mxChildChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodec-js.html">mxCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodecRegistry-js.html">mxCodecRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultKeyHandlerCodec-js.html">mxDefaultKeyHandlerCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultPopupMenuCodec-js.html">mxDefaultPopupMenuCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultToolbarCodec-js.html">mxDefaultToolbarCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxEditorCodec-js.html">mxEditorCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGenericChangeCodec-js.html">mxGenericChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGraphCodec-js.html">mxGraphCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGraphViewCodec-js.html">mxGraphViewCodec</a></di
2012-05-21 20:32:26 +00:00
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Cookies">Cookies</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([10], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS-->
2017-01-16 08:36:34 +00:00
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>addListener: function()</td></tr></table></blockquote>Binds the function to the specified event on the given element. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>removeListener: function()</td></tr></table></blockquote>Removes the specified listener from the given element.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeAllListeners: function(</td><td class=PParameter nowrap>element</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes all listeners from the given element.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addGestureListeners: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>startListener,</td></tr><tr><td></td><td class=PParameter nowrap>moveListener,</td></tr><tr><td></td><td class=PParameter nowrap>endListener</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the given listeners for touch, mouse and/or pointer events. </div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeGestureListeners: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>startListener,</td></tr><tr><td></td><td class=PParameter nowrap>moveListener,</td></tr><tr><td></td><td class=PParameter nowrap>endListener</td><td class=PAfterParameters 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><div class=CToolTip id="tt6"><div class=CVariable>True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>redirectMouseEvents: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>down,</td></tr><tr><td></td><td class=PParameter nowrap>move,</td></tr><tr><td></td><td class=PParameter nowrap>up,</td></tr><tr><td></td><td class=PParameter nowrap>dblClick</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments. </div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>release: function(</td><td class=PParameter nowrap>element</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the known listeners from the given DOM node and its descendants.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>disableContextMenu: function()</td></tr></table></blockquote>Disables the context
2012-05-21 20:32:26 +00:00
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>