293 lines
95 KiB
HTML
293 lines
95 KiB
HTML
<!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 -->
|
|
|
|
|
|
|
|
|
|
<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. 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. 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>. 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 loop using the event and given state as event arguments. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.release" id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">release</a></td><td class=SDescription>Removes the known listeners from the given DOM node and its descendants.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.disableContextMenu" id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">disableContextMenu</a></td><td class=SDescription>Disables the context menu for the given element.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.getSource" id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">getSource</a></td><td class=SDescription>Returns the event’s target or srcElement depending on the browser.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.isConsumed" id=link12 onMouseOver="ShowTip(event, 'tt11', 'link12')" onMouseOut="HideTip('tt11')">isConsumed</a></td><td class=SDescription>Returns true if the event has been consumed using <a href="#mxEvent.consume" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt12', 'link13')" onMouseOut="HideTip('tt12')">consume</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.isTouchEvent" id=link14 onMouseOver="ShowTip(event, 'tt13', 'link14')" onMouseOut="HideTip('tt13')">isTouchEvent</a></td><td class=SDescription>Returns true if the event was generated using a touch device (not a pen or mouse).</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.isMultiTouchEvent" id=link15 onMouseOver="ShowTip(event, 'tt14', 'link15')" onMouseOut="HideTip('tt14')">isMultiTouchEvent</a></td><td class=SDescription>Returns true if the event was generated using a touch device (not a pen or mouse).</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.isMouseEvent" id=link16 onMouseOver="ShowTip(event, 'tt15', 'link16')" onMouseOut="HideTip('tt15')">isMouseEvent</a></td><td class=SDescription>Returns true if the event was generated using a mouse (not a pen or touch device).</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.isLeftMouseButton" id=link17 onMouseOver="ShowTip(event, 'tt16', 'link17')" onMouseOut="HideTip('tt16')">isLeftMouseButton</a></td><td class=SDescription>Returns true if the left mouse button is pressed for the given event. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.isMiddleMouseButton" id=link18 onMouseOver="ShowTip(event, 'tt17', 'link18')" onMouseOut="HideTip('tt17')">isMiddleMouseButton</a></td><td class=SDescription>Returns true if the middle mouse button is pressed for the given event. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.isRightMouseButton" id=link19 onMouseOver="ShowTip(event, 'tt18', 'link19')" onMouseOut="HideTip('tt18')">isRightMouseButton</a></td><td class=SDescription>Returns true if the right mouse button was pressed. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.isPopupTrigger" id=link20 onMouseOver="ShowTip(event, 'tt19', 'link20')" onMouseOut="HideTip('tt19')">isPopupTrigger</a></td><td class=SDescription>Returns true if the event is a popup trigger. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.isShiftDown" id=link21 onMouseOver="ShowTip(event, 'tt20', 'link21')" onMouseOut="HideTip('tt20')">isShiftDown</a></td><td class=SDescription>Returns true if the shift key is pressed for the given event.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.isAltDown" id=link22 onMouseOver="ShowTip(event, 'tt21', 'link22')" onMouseOut="HideTip('tt21')">isAltDown</a></td><td class=SDescription>Returns true if the alt key is pressed for the given event.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.isControlDown" id=link23 onMouseOver="ShowTip(event, 'tt22', 'link23')" onMouseOut="HideTip('tt22')">isControlDown</a></td><td class=SDescription>Returns true if the control key is pressed for the given event.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.isMetaDown" id=link24 onMouseOver="ShowTip(event, 'tt23', 'link24')" onMouseOut="HideTip('tt23')">isMetaDown</a></td><td class=SDescription>Returns true if the meta key is pressed for the given event.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.getMainEvent" id=link25 onMouseOver="ShowTip(event, 'tt24', 'link25')" onMouseOut="HideTip('tt24')">getMainEvent</a></td><td class=SDescription>Returns the touch or mouse event that contains the mouse coordinates.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.getClientX" id=link26 onMouseOver="ShowTip(event, 'tt25', 'link26')" onMouseOut="HideTip('tt25')">getClientX</a></td><td class=SDescription>Returns true if the meta key is pressed for the given event.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxEvent.getClientY" id=link27 onMouseOver="ShowTip(event, 'tt26', 'link27')" onMouseOut="HideTip('tt26')">getClientY</a></td><td class=SDescription>Returns true if the meta key is pressed for the given event.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.consume" id=link28 onMouseOver="ShowTip(event, 'tt12', 'link28')" onMouseOut="HideTip('tt12')">consume</a></td><td class=SDescription>Consumes the given event.</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.LABEL_HANDLE" >LABEL_HANDLE</a></td><td class=SDescription>Index for the label handle in an mxMouseEvent. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.ROTATION_HANDLE" >ROTATION_HANDLE</a></td><td class=SDescription>Index for the rotation handle in an mxMouseEvent. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.MOUSE_DOWN" >MOUSE_DOWN</a></td><td class=SDescription>Specifies the event name for mouseDown.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.MOUSE_MOVE" >MOUSE_MOVE</a></td><td class=SDescription>Specifies the event name for mouseMove.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.MOUSE_UP" >MOUSE_UP</a></td><td class=SDescription>Specifies the event name for mouseUp.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.ACTIVATE" >ACTIVATE</a></td><td class=SDescription>Specifies the event name for activate.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.RESIZE_START" >RESIZE_START</a></td><td class=SDescription>Specifies the event name for resizeStart.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.RESIZE" >RESIZE</a></td><td class=SDescription>Specifies the event name for resize.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.RESIZE_END" >RESIZE_END</a></td><td class=SDescription>Specifies the event name for resizeEnd.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.MOVE_START" >MOVE_START</a></td><td class=SDescription>Specifies the event name for moveStart.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.MOVE" >MOVE</a></td><td class=SDescription>Specifies the event name for move.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.MOVE_END" >MOVE_END</a></td><td class=SDescription>Specifies the event name for moveEnd.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.PAN_START" >PAN_START</a></td><td class=SDescription>Specifies the event name for panStart.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.PAN" >PAN</a></td><td class=SDescription>Specifies the event name for pan.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.PAN_END" >PAN_END</a></td><td class=SDescription>Specifies the event name for panEnd.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.MINIMIZE" >MINIMIZE</a></td><td class=SDescription>Specifies the event name for minimize.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.NORMALIZE" >NORMALIZE</a></td><td class=SDescription>Specifies the event name for normalize.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.MAXIMIZE" >MAXIMIZE</a></td><td class=SDescription>Specifies the event name for maximize.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.HIDE" >HIDE</a></td><td class=SDescription>Specifies the event name for hide.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.SHOW" >SHOW</a></td><td class=SDescription>Specifies the event name for show.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.CLOSE" >CLOSE</a></td><td class=SDescription>Specifies the event name for close.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.DESTROY" >DESTROY</a></td><td class=SDescription>Specifies the event name for destroy.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.REFRESH" >REFRESH</a></td><td class=SDescription>Specifies the event name for refresh.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.SIZE" >SIZE</a></td><td class=SDescription>Specifies the event name for size.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.SELECT" >SELECT</a></td><td class=SDescription>Specifies the event name for select.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.FIRED" >FIRED</a></td><td class=SDescription>Specifies the event name for fired.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.FIRE_MOUSE_EVENT" >FIRE_MOUSE_EVENT</a></td><td class=SDescription>Specifies the event name for fireMouseEvent.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.GESTURE" >GESTURE</a></td><td class=SDescription>Specifies the event name for gesture.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.TAP_AND_HOLD" >TAP_AND_HOLD</a></td><td class=SDescription>Specifies the event name for tapAndHold.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.GET" >GET</a></td><td class=SDescription>Specifies the event name for get.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.RECEIVE" >RECEIVE</a></td><td class=SDescription>Specifies the event name for receive.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CONNECT" >CONNECT</a></td><td class=SDescription>Specifies the event name for connect.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.DISCONNECT" >DISCONNECT</a></td><td class=SDescription>Specifies the event name for disconnect.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.SUSPEND" >SUSPEND</a></td><td class=SDescription>Specifies the event name for suspend.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.RESUME" >RESUME</a></td><td class=SDescription>Specifies the event name for suspend.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.MARK" >MARK</a></td><td class=SDescription>Specifies the event name for mark.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.SESSION" >SESSION</a></td><td class=SDescription>Specifies the event name for session.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.ROOT" >ROOT</a></td><td class=SDescription>Specifies the event name for root.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.POST" >POST</a></td><td class=SDescription>Specifies the event name for post.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.OPEN" >OPEN</a></td><td class=SDescription>Specifies the event name for open.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.SAVE" >SAVE</a></td><td class=SDescription>Specifies the event name for open.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.BEFORE_ADD_VERTEX" >BEFORE_ADD_VERTEX</a></td><td class=SDescription>Specifies the event name for beforeAddVertex.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.ADD_VERTEX" >ADD_VERTEX</a></td><td class=SDescription>Specifies the event name for addVertex.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.AFTER_ADD_VERTEX" >AFTER_ADD_VERTEX</a></td><td class=SDescription>Specifies the event name for afterAddVertex.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.DONE" >DONE</a></td><td class=SDescription>Specifies the event name for done.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.EXECUTE" >EXECUTE</a></td><td class=SDescription>Specifies the event name for execute.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.EXECUTED" >EXECUTED</a></td><td class=SDescription>Specifies the event name for executed.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.BEGIN_UPDATE" >BEGIN_UPDATE</a></td><td class=SDescription>Specifies the event name for beginUpdate.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.START_EDIT" >START_EDIT</a></td><td class=SDescription>Specifies the event name for startEdit.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.END_UPDATE" >END_UPDATE</a></td><td class=SDescription>Specifies the event name for endUpdate.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.END_EDIT" >END_EDIT</a></td><td class=SDescription>Specifies the event name for endEdit.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.BEFORE_UNDO" >BEFORE_UNDO</a></td><td class=SDescription>Specifies the event name for beforeUndo.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.UNDO" >UNDO</a></td><td class=SDescription>Specifies the event name for undo.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.REDO" >REDO</a></td><td class=SDescription>Specifies the event name for redo.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.CHANGE" >CHANGE</a></td><td class=SDescription>Specifies the event name for change.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.NOTIFY" >NOTIFY</a></td><td class=SDescription>Specifies the event name for notify.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.LAYOUT_CELLS" >LAYOUT_CELLS</a></td><td class=SDescription>Specifies the event name for layoutCells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CLICK" >CLICK</a></td><td class=SDescription>Specifies the event name for click.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.SCALE" >SCALE</a></td><td class=SDescription>Specifies the event name for scale.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.TRANSLATE" >TRANSLATE</a></td><td class=SDescription>Specifies the event name for translate.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.SCALE_AND_TRANSLATE" >SCALE_AND_TRANSLATE</a></td><td class=SDescription>Specifies the event name for scaleAndTranslate.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.UP" >UP</a></td><td class=SDescription>Specifies the event name for up.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.DOWN" >DOWN</a></td><td class=SDescription>Specifies the event name for down.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.ADD" >ADD</a></td><td class=SDescription>Specifies the event name for add.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.REMOVE" >REMOVE</a></td><td class=SDescription>Specifies the event name for remove.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CLEAR" >CLEAR</a></td><td class=SDescription>Specifies the event name for clear.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.ADD_CELLS" >ADD_CELLS</a></td><td class=SDescription>Specifies the event name for addCells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CELLS_ADDED" >CELLS_ADDED</a></td><td class=SDescription>Specifies the event name for cellsAdded.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.MOVE_CELLS" >MOVE_CELLS</a></td><td class=SDescription>Specifies the event name for moveCells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CELLS_MOVED" >CELLS_MOVED</a></td><td class=SDescription>Specifies the event name for cellsMoved.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.RESIZE_CELLS" >RESIZE_CELLS</a></td><td class=SDescription>Specifies the event name for resizeCells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CELLS_RESIZED" >CELLS_RESIZED</a></td><td class=SDescription>Specifies the event name for cellsResized.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.TOGGLE_CELLS" >TOGGLE_CELLS</a></td><td class=SDescription>Specifies the event name for toggleCells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CELLS_TOGGLED" >CELLS_TOGGLED</a></td><td class=SDescription>Specifies the event name for cellsToggled.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.ORDER_CELLS" >ORDER_CELLS</a></td><td class=SDescription>Specifies the event name for orderCells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CELLS_ORDERED" >CELLS_ORDERED</a></td><td class=SDescription>Specifies the event name for cellsOrdered.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.REMOVE_CELLS" >REMOVE_CELLS</a></td><td class=SDescription>Specifies the event name for removeCells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CELLS_REMOVED" >CELLS_REMOVED</a></td><td class=SDescription>Specifies the event name for cellsRemoved.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.GROUP_CELLS" >GROUP_CELLS</a></td><td class=SDescription>Specifies the event name for groupCells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.UNGROUP_CELLS" >UNGROUP_CELLS</a></td><td class=SDescription>Specifies the event name for ungroupCells.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.REMOVE_CELLS_FROM_PARENT" >REMOVE_CELLS_FROM_PARENT</a></td><td class=SDescription>Specifies the event name for removeCellsFromParent.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.FOLD_CELLS" >FOLD_CELLS</a></td><td class=SDescription>Specifies the event name for foldCells.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.CELLS_FOLDED" >CELLS_FOLDED</a></td><td class=SDescription>Specifies the event name for cellsFolded.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.ALIGN_CELLS" >ALIGN_CELLS</a></td><td class=SDescription>Specifies the event name for alignCells.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.LABEL_CHANGED" >LABEL_CHANGED</a></td><td class=SDescription>Specifies the event name for labelChanged.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.CONNECT_CELL" >CONNECT_CELL</a></td><td class=SDescription>Specifies the event name for connectCell.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.CELL_CONNECTED" >CELL_CONNECTED</a></td><td class=SDescription>Specifies the event name for cellConnected.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.SPLIT_EDGE" >SPLIT_EDGE</a></td><td class=SDescription>Specifies the event name for splitEdge.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.FLIP_EDGE" >FLIP_EDGE</a></td><td class=SDescription>Specifies the event name for flipEdge.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.START_EDITING" >START_EDITING</a></td><td class=SDescription>Specifies the event name for startEditing.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.ADD_OVERLAY" >ADD_OVERLAY</a></td><td class=SDescription>Specifies the event name for addOverlay.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.REMOVE_OVERLAY" >REMOVE_OVERLAY</a></td><td class=SDescription>Specifies the event name for removeOverlay.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.UPDATE_CELL_SIZE" >UPDATE_CELL_SIZE</a></td><td class=SDescription>Specifies the event name for updateCellSize.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.ESCAPE" >ESCAPE</a></td><td class=SDescription>Specifies the event name for escape.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.CLICK" >CLICK</a></td><td class=SDescription>Specifies the event name for click.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.DOUBLE_CLICK" >DOUBLE_CLICK</a></td><td class=SDescription>Specifies the event name for doubleClick.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxEvent.START" >START</a></td><td class=SDescription>Specifies the event name for start.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxEvent.RESET" id=link29 onMouseOver="ShowTip(event, 'tt27', 'link29')" onMouseOut="HideTip('tt27')">RESET</a></td><td class=SDescription>Specifies the event name for reset.</td></tr></table></div></div><!--END_ND_SUMMARY--></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.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>. 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>
|
|
|
|
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEvent.Functions"></a>Functions</h3></div></div>
|
|
|
|
<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. 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 “this” keyword inside the function to a given execution scope.</p></div></div></div>
|
|
|
|
<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>
|
|
|
|
<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. 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 MSPointerEvents will be registered, else the respective mouse events will be registered. 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>
|
|
|
|
<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>
|
|
|
|
<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. 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>. 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>
|
|
|
|
<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’s target or srcElement depending on the browser.</p></div></div></div>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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. 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. Note that this returns true in Firefox for control+left-click on the Mac.</p></div></div></div>
|
|
|
|
<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. 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>
|
|
|
|
<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. Note that this button might not be available on some systems. 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>
|
|
|
|
<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. This implementation returns true if the right button or the left button and control was pressed on a Mac.</p></div></div></div>
|
|
|
|
<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. Default is true.</td></tr><tr><td class=CDLEntry>stopPropagation</td><td class=CDLDescription>Option boolean to stop event propagation. 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. This should be a negative value that does not interfere with any possible handle indices. Default is -1.</p></div></div></div>
|
|
|
|
<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. This should be a negative value that does not interfere with any possible handle indices. Default is -2.</p></div></div></div>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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.SESSION"></a>SESSION</h3><div class=CBody><p>Specifies the event name for session.</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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</div><!--Content-->
|
|
|
|
|
|
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
|
|
|
|
|
|
<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/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></div></div><div class=MEntry><div class=MFile><a href="../io/mxModelCodec-js.html">mxModelCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxObjectCodec-js.html">mxObjectCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxRootChangeCodec-js.html">mxRootChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxStylesheetCodec-js.html">mxStylesheetCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxTerminalChangeCodec-js.html">mxTerminalChangeCodec</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Layout</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Hierarchical</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Model</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html">mxGraphAbstractHierarchyCell</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphHierarchyEdge-js.html">mxGraphHierarchyEdge</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphHierarchyModel-js.html">mxGraphHierarchyModel</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphHierarchyNode-js.html">mxGraphHierarchyNode</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxSwimlaneModel-js.html">mxSwimlaneModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/mxHierarchicalLayout-js.html">mxHierarchicalLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/mxSwimlaneLayout-js.html">mxSwimlaneLayout</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Stage</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxCoordinateAssignment-js.html">mxCoordinateAssignment</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html">mxHierarchicalLayoutStage</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html">mxMedianHybridCrossingReduction</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxMinimumCycleRemover-js.html">mxMinimumCycleRemover</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxSwimlaneOrdering-js.html">mxSwimlaneOrdering</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../layout/mxCircleLayout-js.html">mxCircleLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxCompactTreeLayout-js.html">mxCompactTreeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxCompositeLayout-js.html">mxCompositeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxEdgeLabelLayout-js.html">mxEdgeLabelLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxFastOrganicLayout-js.html">mxFastOrganicLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxGraphLayout-js.html">mxGraphLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxParallelEdgeLayout-js.html">mxParallelEdgeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxPartitionLayout-js.html">mxPartitionLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxRadialTreeLayout-js.html">mxRadialTreeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxStackLayout-js.html">mxStackLayout</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Model</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="../model/mxCell-js.html">mxCell</a></div></div><div class=MEntry><div class=MFile><a href="../model/mxCellPath-js.html">mxCellPath</a></div></div><div class=MEntry><div class=MFile><a href="../model/mxGeometry-js.html">mxGeometry</a></div></div><div class=MEntry><div class=MFile><a href="../model/mxGraphModel-js.html">mxGraphModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../mxClient-js.html">mxClient</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Shape</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MFile><a href="../shape/mxActor-js.html">mxActor</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxArrow-js.html">mxArrow</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxCloud-js.html">mxCloud</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxConnector-js.html">mxConnector</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxCylinder-js.html">mxCylinder</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxDoubleEllipse-js.html">mxDoubleEllipse</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxEllipse-js.html">mxEllipse</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxHexagon-js.html">mxHexagon</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxImageShape-js.html">mxImageShape</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxLabel-js.html">mxLabel</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxLine-js.html">mxLine</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxMarker-js.html">mxMarker</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxPolyline-js.html">mxPolyline</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxRectangleShape-js.html">mxRectangleShape</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxRhombus-js.html">mxRhombus</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxShape-js.html">mxShape</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxStencil-js.html">mxStencil</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxStencilRegistry-js.html">mxStencilRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxSwimlane-js.html">mxSwimlane</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxText-js.html">mxText</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxTriangle-js.html">mxTriangle</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Util</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="mxAbstractCanvas2D-js.html">mxAbstractCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="mxAnimation-js.html">mxAnimation</a></div></div><div class=MEntry><div class=MFile><a href="mxAutoSaveManager-js.html">mxAutoSaveManager</a></div></div><div class=MEntry><div class=MFile><a href="mxClipboard-js.html">mxClipboard</a></div></div><div class=MEntry><div class=MFile><a href="mxConstants-js.html">mxConstants</a></div></div><div class=MEntry><div class=MFile><a href="mxDictionary-js.html">mxDictionary</a></div></div><div class=MEntry><div class=MFile><a href="mxDivResizer-js.html">mxDivResizer</a></div></div><div class=MEntry><div class=MFile><a href="mxDragSource-js.html">mxDragSource</a></div></div><div class=MEntry><div class=MFile><a href="mxEffects-js.html">mxEffects</a></div></div><div class=MEntry><div class=MFile id=MSelected>mxEvent</div></div><div class=MEntry><div class=MFile><a href="mxEventObject-js.html">mxEventObject</a></div></div><div class=MEntry><div class=MFile><a href="mxEventSource-js.html">mxEventSource</a></div></div><div class=MEntry><div class=MFile><a href="mxForm-js.html">mxForm</a></div></div><div class=MEntry><div class=MFile><a href="mxGuide-js.html">mxGuide</a></div></div><div class=MEntry><div class=MFile><a href="mxImage-js.html">mxImage</a></div></div><div class=MEntry><div class=MFile><a href="mxImageBundle-js.html">mxImageBundle</a></div></div><div class=MEntry><div class=MFile><a href="mxImageExport-js.html">mxImageExport</a></div></div><div class=MEntry><div class=MFile><a href="mxLog-js.html">mxLog</a></div></div><div class=MEntry><div class=MFile><a href="mxMorphing-js.html">mxMorphing</a></div></div><div class=MEntry><div class=MFile><a href="mxMouseEvent-js.html">mxMouseEvent</a></div></div><div class=MEntry><div class=MFile><a href="mxObjectIdentity-js.html">mxObjectIdentity</a></div></div><div class=MEntry><div class=MFile><a href="mxPanningManager-js.html">mxPanningManager</a></div></div><div class=MEntry><div class=MFile><a href="mxPoint-js.html">mxPoint</a></div></div><div class=MEntry><div class=MFile><a href="mxPopupMenu-js.html">mxPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="mxRectangle-js.html">mxRectangle</a></div></div><div class=MEntry><div class=MFile><a href="mxResources-js.html">mxResources</a></div></div><div class=MEntry><div class=MFile><a href="mxSession-js.html">mxSession</a></div></div><div class=MEntry><div class=MFile><a href="mxSvgCanvas2D-js.html">mxSvgCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="mxToolbar-js.html">mxToolbar</a></div></div><div class=MEntry><div class=MFile><a href="mxUndoableEdit-js.html">mxUndoableEdit</a></div></div><div class=MEntry><div class=MFile><a href="mxUndoManager-js.html">mxUndoManager</a></div></div><div class=MEntry><div class=MFile><a href="mxUrlConverter-js.html">mxUrlConverter</a></div></div><div class=MEntry><div class=MFile><a href="mxUtils-js.html">mxUtils</a></div></div><div class=MEntry><div class=MFile><a href="mxVmlCanvas2D-js.html">mxVmlCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="mxWindow-js.html">mxWindow</a></div></div><div class=MEntry><div class=MFile><a href="mxXmlCanvas2D-js.html">mxXmlCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="mxXmlRequest-js.html">mxXmlRequest</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">View</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="../view/mxCellEditor-js.html">mxCellEditor</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxCellOverlay-js.html">mxCellOverlay</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxCellRenderer-js.html">mxCellRenderer</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxCellState-js.html">mxCellState</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxCellStatePreview-js.html">mxCellStatePreview</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxConnectionConstraint-js.html">mxConnectionConstraint</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxEdgeStyle-js.html">mxEdgeStyle</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxGraph-js.html">mxGraph</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxGraphSelectionModel-js.html">mxGraphSelectionModel</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxGraphView-js.html">mxGraphView</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxLayoutManager-js.html">mxLayoutManager</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxMultiplicity-js.html">mxMultiplicity</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxOutline-js.html">mxOutline</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxPerimeter-js.html">mxPerimeter</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxPrintPreview-js.html">mxPrintPreview</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxSpaceManager-js.html">mxSpaceManager</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxStyleRegistry-js.html">mxStyleRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxStylesheet-js.html">mxStylesheet</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxSwimlaneManager-js.html">mxSwimlaneManager</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxTemporaryCellStates-js.html">mxTemporaryCellStates</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Index</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Cookies.html">Cookies</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
|
|
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-->
|
|
<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 menu for the given element.</div></div><div class=CToolTip id="tt10"><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>getSource: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the event’s target or srcElement depending on the browser.</div></div><div class=CToolTip id="tt11"><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>isConsumed: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the event has been consumed using consume.</div></div><div class=CToolTip id="tt12"><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>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>Consumes the given event.</div></div><div class=CToolTip id="tt13"><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>isTouchEvent: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the event was generated using a touch device (not a pen or mouse).</div></div><div class=CToolTip id="tt14"><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>isMultiTouchEvent: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the event was generated using a touch device (not a pen or mouse).</div></div><div class=CToolTip id="tt15"><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>isMouseEvent: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the event was generated using a mouse (not a pen or touch device).</div></div><div class=CToolTip id="tt16"><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>isLeftMouseButton: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the left mouse button is pressed for the given event. </div></div><div class=CToolTip id="tt17"><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>isMiddleMouseButton: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the middle mouse button is pressed for the given event. </div></div><div class=CToolTip id="tt18"><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>isRightMouseButton: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the right mouse button was pressed. </div></div><div class=CToolTip id="tt19"><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>isPopupTrigger: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the event is a popup trigger. </div></div><div class=CToolTip id="tt20"><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>isShiftDown: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the shift key is pressed for the given event.</div></div><div class=CToolTip id="tt21"><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>isAltDown: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the alt key is pressed for the given event.</div></div><div class=CToolTip id="tt22"><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>isControlDown: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the control key is pressed for the given event.</div></div><div class=CToolTip id="tt23"><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>isMetaDown: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the meta key is pressed for the given event.</div></div><div class=CToolTip id="tt24"><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>getMainEvent: function(</td><td class=PParameter nowrap>e</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the touch or mouse event that contains the mouse coordinates.</div></div><div class=CToolTip id="tt25"><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>getClientX: function(</td><td class=PParameter nowrap>e</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the meta key is pressed for the given event.</div></div><div class=CToolTip id="tt26"><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>getClientY: function(</td><td class=PParameter nowrap>e</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the meta key is pressed for the given event.</div></div><div class=CToolTip id="tt27"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>RESET: 'reset' }</td></tr></table></blockquote>Specifies the event name for reset.</div></div><div class=CToolTip id="tt28"><div class=CClass>Base class for objects that dispatch named events. </div></div><div class=CToolTip id="tt29"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><div class=CToolTip id="tt30"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>dispose: function()</td></tr></table></blockquote>Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.</div></div><div class=CToolTip id="tt31"><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>bind: function(</td><td class=PParameter nowrap>scope,</td></tr><tr><td></td><td class=PParameter nowrap>funct</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a wrapper function that locks the execution scope of the given function to the specified scope. </div></div><div class=CToolTip id="tt32"><div class=CVariable>True if this device supports MS pointer events.</div></div><div class=CToolTip id="tt33"><div class=CClass>Represents the current state of a cell in a given mxGraphView.</div></div><div class=CToolTip id="tt34"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isMouseDown</td></tr></table></blockquote>Holds the state of the mouse button.</div></div><!--END_ND_TOOLTIPS-->
|
|
|
|
|
|
|
|
|
|
<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> |