maxGraph/docs/js-api/files/handler/mxHandle-js.html

91 lines
48 KiB
HTML
Raw Normal View History

2014-10-03 12:49:36 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
2015-03-05 09:43:42 +00:00
<html><head><title>mxHandle</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><!--
2014-10-03 12:49:36 +00:00
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
2015-03-05 09:43:42 +00:00
<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxHandle"></a>mxHandle</h1><div class=CBody><p>Implements a single custom handle for vertices.</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="#mxHandle" >mxHandle</a></td><td class=SDescription>Implements a single custom handle for vertices.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxHandle.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxHandle.mxHandle" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">mxHandle</a></td><td class=SDescription>Constructs a new handle for the given state.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxHandle.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxHandle.cursor" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">cursor</a></td><td class=SDescription>Specifies the cursor to be used for this handle. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxHandle.image" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">image</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">mxImage</a> to be used to render the handle. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxHandle.image" >image</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt4', 'link5')" onMouseOut="HideTip('tt4')">mxImage</a> to be used to render the handle. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxHandle.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxHandle.getPosition" id=link6 onMouseOver="ShowTip(event, 'tt5', 'link6')" onMouseOut="HideTip('tt5')">getPosition</a></td><td class=SDescription>Hook for subclassers to return the current position of the handle.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxHandle.setPosition" id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">setPosition</a></td><td class=SDescription>Hooks for subclassers to update the style in the &lt;state&gt;.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxHandle.execute" id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">execute</a></td><td class=SDescription>Hook for subclassers to execute the handle.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxHandle.copyStyle" id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">copyStyle</a></td><td class=SDescription>Sets the cell style with the given name to the corresponding value in &lt;state&gt;.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxHandle.processEvent" id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">processEvent</a></td><td class=SDescription>Processes the given <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">mxMouseEvent</a> and invokes <a href="#mxHandle.setPosition" class=LFunction id=link12 onMouseOver="ShowTip(event, 'tt6', 'link12')" onMouseOut="HideTip('tt6')">setPosition</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxHandle.positionChanged" id=link13 onMouseOver="ShowTip(event, 'tt11', 'link13')" onMouseOut="HideTip('tt11')">positionChanged</a></td><td class=SDescription>Called after <a href="#mxHandle.setPosition" class=LFunction
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxHandle.Functions"></a>Functions</h3></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.mxHandle"></a>mxHandle</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>function mxHandle(</td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>cursor,</td></tr><tr><td></td><td class=PParameter nowrap>image</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new handle for the given state.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="../view/mxCellState-js.html#mxCellState" class=LClass id=link29 onMouseOver="ShowTip(event, 'tt25', 'link29')" onMouseOut="HideTip('tt25')">mxCellState</a> of the cell to be handled.</td></tr></table></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxHandle.Variables"></a>Variables</h3></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxHandle.cursor"></a>cursor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.cursor</td></tr></table></blockquote><p>Specifies the cursor to be used for this handle.&nbsp; Default is &lsquo;default&rsquo;.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxHandle.image"></a>image</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.image</td></tr></table></blockquote><p>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link30 onMouseOver="ShowTip(event, 'tt4', 'link30')" onMouseOut="HideTip('tt4')">mxImage</a> to be used to render the handle.&nbsp; Default is null.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxHandle.image"></a>image</h3><div class=CBody><p>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link31 onMouseOver="ShowTip(event, 'tt4', 'link31')" onMouseOut="HideTip('tt4')">mxImage</a> to be used to render the handle.&nbsp; Default is null.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxHandle.Functions"></a>Functions</h3></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.getPosition"></a>getPosition</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>mxHandle.prototype.getPosition = function(</td><td class=PParameter nowrap>bounds</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Hook for subclassers to return the current position of the handle.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.setPosition"></a>setPosition</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>mxHandle.prototype.setPosition = function(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>pt,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Hooks for subclassers to update the style in the &lt;state&gt;.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.execute"></a>execute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.execute = function()</td></tr></table></blockquote><p>Hook for subclassers to execute the handle.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.copyStyle"></a>copyStyle</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>mxHandle.prototype.copyStyle = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the cell style with the given name to the corresponding value in &lt;state&gt;.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.processEvent"></a>processEvent</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>mxHandle.prototype.processEvent = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Processes the given <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link32 onMouseOver="ShowTip(event, 'tt10', 'link32')" onMouseOut="HideTip('tt10')">mxMouseEvent</a> and invokes <a href="#mxHandle.setPosition" class=LFunction id=link33 onMouseOver="ShowTip(event, 'tt6', 'link33')" onMouseOut="HideTip('tt6')">setPosition</a>.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.positionChanged"></a>positionChanged</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.positionChanged = function()</td></tr></table></blockquote><p>Called after <a href="#mxHandle.setPosition" class=LFunction id=link34 onMouseOver="ShowTip(event, 'tt6', 'link34')" onMouseOut="HideTip('tt6')">setPosition</a> has been called in <a href="#mxHandle.processEvent" class=LFunction id=link35 onMouseOver="ShowTip(event, 'tt9', 'link35')" onMouseOut="HideTip('tt9')">processEvent</a>.&nbsp; This repaints the state using <a href="../view/mxCellRenderer-js.html#mxCellRenderer" class=LClass id=link36 onMouseOver="ShowTip(event, 'tt26', 'link36')" onMouseOut="HideTip('tt26')">mxCellRenderer</a>.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.getRotation"></a>getRotation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.getRotation = function()</td></tr></table></blockquote><p>Returns the rotation defined in the style of the cell.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.getTotalRotation"></a>getTotalRotation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.getTotalRotation = function()</td></tr></table></blockquote><p>Returns the rotation from the style and the rotation from the direction of the cell.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.init"></a>init</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.init = function()</td></tr></table></blockquote><p>Creates and initializes the shapes required for this handle.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.createShape"></a>createShape</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>mxHandle.prototype.createShape = function(</td><td class=PParameter nowrap>html</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates and returns the shape for this handle.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.initShape"></a>initShape</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>mxHandle.prototype.initShape = function(</td><td class=PParameter nowrap>html</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Initializes &lt;shape&gt; and sets its cursor.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.redraw"></a>redraw</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.redraw = function()</td></tr></table></blockquote><p>Renders the shape for this handle.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.isHtmlRequired"></a>isHtmlRequired</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.isHtmlRequired = function()</td></tr></table></blockquote><p>Returns true if this handle should be rendered in HTML.&nbsp; This returns true if the text node is in the graph container.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.rotatePoint"></a>rotatePoint</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>mxHandle.prototype.rotatePoint = function(</td><td class=PParameter nowrap>pt,</td></tr><tr><td></td><td class=PParameter nowrap>alpha</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Rotates the point by the given angle.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.flipPoint"></a>flipPoint</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>mxHandle.prototype.flipPoint = function(</td><td class=PParameter nowrap>pt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Flips the given point vertically and/or horizontally.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.snapPoint"></a>snapPoint</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>mxHandle.prototype.snapPoint = function(</td><td class=PParameter nowrap>pt,</td></tr><tr><td></td><td class=PParameter nowrap>ignore</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Snaps the given point to the grid if ignore is false.&nbsp; This modifies the given point in-place and also returns it.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.setVisible"></a>setVisible</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>mxHandle.prototype.setVisible = function(</td><td class=PParameter nowrap>visible</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Shows or hides this handle.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.reset"></a>reset</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.reset = function()</td></tr></table></blockquote><p>Resets the state of this handle by setting its visibility to true.</p></div></div></div>
2014-10-03 12:49:36 +00:00
2015-03-05 09:43:42 +00:00
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHandle.destroy"></a>destroy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.destroy = function()</td></tr></table></blockquote><p>Destroys this handle.</p></div></div></div>
2014-10-03 12:49:36 +00:00
</div><!--Content-->
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
2017-01-16 08:36:34 +00:00
<div id=Menu><div class=MEntry><div class=MFile><a href="../index-txt.html">API Specification</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Editor</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../editor/mxDefaultKeyHandler-js.html">mxDefaultKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultPopupMenu-js.html">mxDefaultPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultToolbar-js.html">mxDefaultToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxEditor-js.html">mxEditor</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Handler</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="mxCellHighlight-js.html">mxCellHighlight</a></div></div><div class=MEntry><div class=MFile><a href="mxCellMarker-js.html">mxCellMarker</a></div></div><div class=MEntry><div class=MFile><a href="mxCellTracker-js.html">mxCellTracker</a></div></div><div class=MEntry><div class=MFile><a href="mxConnectionHandler-js.html">mxConnectionHandler</a></div></div><div class=MEntry><div class=MFile><a href="mxConstraintHandler-js.html">mxConstraintHandler</a></div></div><div class=MEntry><div class=MFile><a href="mxEdgeHandler-js.html">mxEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="mxEdgeSegmentHandler-js.html">mxEdgeSegmentHandler.js</a></div></div><div class=MEntry><div class=MFile><a href="mxElbowEdgeHandler-js.html">mxElbowEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="mxGraphHandler-js.html">mxGraphHandler</a></div></div><div class=MEntry><div class=MFile id=MSelected>mxHandle</div></div><div class=MEntry><div class=MFile><a href="mxKeyHandler-js.html">mxKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="mxPanningHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="mxPopupMenuHandler-js.html">mxPopupMenuHandler</a></div></div><div class=MEntry><div class=MFile><a href="mxRubberband-js.html">mxRubberband</a></div></div><div class=MEntry><div class=MFile><a href="mxSelectionCellsHandler-js.html">mxSelectionCellsHandler</a></div></div><div class=MEntry><div class=MFile><a href="mxTooltipHandler-js.html">mxTooltipHandler</a></div></div><div class=MEntry><div class=MFile><a href="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><
2014-10-03 12:49:36 +00:00
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Cookies">Cookies</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([2], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS-->
2015-03-05 09:43:42 +00:00
<div class=CToolTip id="tt1"><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>function mxHandle(</td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>cursor,</td></tr><tr><td></td><td class=PParameter nowrap>image</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new handle for the given state.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.cursor</td></tr></table></blockquote>Specifies the cursor to be used for this handle. </div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.image</td></tr></table></blockquote>Specifies the mxImage to be used to render the handle. </div></div><div class=CToolTip id="tt4"><div class=CClass>Encapsulates the URL, width and height of an image.</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>mxHandle.prototype.getPosition = function(</td><td class=PParameter nowrap>bounds</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook for subclassers to return the current position of the handle.</div></div><div class=CToolTip id="tt6"><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>mxHandle.prototype.setPosition = function(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>pt,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hooks for subclassers to update the style in the state.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.execute = function()</td></tr></table></blockquote>Hook for subclassers to execute the handle.</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>mxHandle.prototype.copyStyle = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the cell style with the given name to the corresponding value in state.</div></div><div class=CToolTip id="tt9"><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>mxHandle.prototype.processEvent = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Processes the given mxMouseEvent and invokes setPosition.</div></div><div class=CToolTip id="tt10"><div class=CClass>Base class for all mouse events in mxGraph. </div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.positionChanged = function()</td></tr></table></blockquote>Called after setPosition has been called in processEvent. </div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxHandle.prototype.getRotation = function()</td></tr></table></blockquote>Returns the rotation defined in the styl
2014-10-03 12:49:36 +00:00
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>