3.7.3 release

development
Gaudenz Alder 2017-06-27 11:43:19 +00:00
parent 771c3cfedd
commit 7a16775f67
1237 changed files with 27259 additions and 27575 deletions

View File

@ -1,3 +1,23 @@
27-JUN-2017: 3.7.3
- Fixes horizontal/vertical flip for perimeter projections
- Changes mxConstants.PAGE_FORMAT_A4_PORTRAIT/LANDSCAPE width/height to 827
- Disables external XML entities in all backends
- Fixes ignored underline in mxUtils.getFont
- Resets tooltip content in mxTooltipHandler.hideTooltip
- Fixes custom handle visible during resize with strict HTML
- Fixes custom handle text flow preview with strict HTML
- Fixes reset of inactive mxHandles in mxVertexHandler.reset
- Adds mxConstants.STYLE_SOURCE/TARGET_PORT_CONSTRAINT styles
- Fixes cache invalidation for custom handle reset
- Fixes submenu showing with negative x-coordinate
- Adds optional inverse argument for mxGraph.traverse
- Fixes possible String type for spacing in mxText
- Adds mxForceIncludes global config variable
- Fixes mxCellHighlight for scaled arrows
- Removes fix for cloned start/end arrow when splitting edge
- Fixes touch events in Chrome for hiding modal dialogs
12-APR-2017: 3.7.2 12-APR-2017: 3.7.2
- Adds checks for swimlane rendering boundary cases - Adds checks for swimlane rendering boundary cases

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxDefaultKeyHandler</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxDefaultKeyHandler</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -16,19 +16,19 @@ keyHandler.bindAction(46, 'delete');</pre></blockquote><h4 class=CHeading>Codec<
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.mxDefaultKeyHandler"></a>mxDefaultKeyHandler</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 mxDefaultKeyHandler(</td><td class=PParameter nowrap>editor</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new default key handler for the <a href="mxEditor-js.html#mxEditor.graph" class=LVariable id=link21 onMouseOver="ShowTip(event, 'tt2', 'link21')" onMouseOut="HideTip('tt2')">mxEditor.graph</a> in the given <a href="mxEditor-js.html#mxEditor" class=LClass id=link22 onMouseOver="ShowTip(event, 'tt3', 'link22')" onMouseOut="HideTip('tt3')">mxEditor</a>.&nbsp; (The editor may be null if a prototypical instance for a <a href="../io/mxDefaultKeyHandlerCodec-js.html#mxDefaultKeyHandlerCodec" class=LClass id=link23 onMouseOver="ShowTip(event, 'tt11', 'link23')" onMouseOut="HideTip('tt11')">mxDefaultKeyHandlerCodec</a> is created.)</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>editor</td><td class=CDLDescription>Reference to the enclosing <a href="mxEditor-js.html#mxEditor" class=LClass id=link24 onMouseOver="ShowTip(event, 'tt3', 'link24')" onMouseOut="HideTip('tt3')">mxEditor</a>.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.mxDefaultKeyHandler"></a>mxDefaultKeyHandler</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxDefaultKeyHandler(</td><td class="PParameter prettyprint " nowrap>editor</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new default key handler for the <a href="mxEditor-js.html#mxEditor.graph" class=LVariable id=link21 onMouseOver="ShowTip(event, 'tt2', 'link21')" onMouseOut="HideTip('tt2')">mxEditor.graph</a> in the given <a href="mxEditor-js.html#mxEditor" class=LClass id=link22 onMouseOver="ShowTip(event, 'tt3', 'link22')" onMouseOut="HideTip('tt3')">mxEditor</a>.&nbsp; (The editor may be null if a prototypical instance for a <a href="../io/mxDefaultKeyHandlerCodec-js.html#mxDefaultKeyHandlerCodec" class=LClass id=link23 onMouseOver="ShowTip(event, 'tt11', 'link23')" onMouseOut="HideTip('tt11')">mxDefaultKeyHandlerCodec</a> is created.)</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>editor</td><td class=CDLDescription>Reference to the enclosing <a href="mxEditor-js.html#mxEditor" class=LClass id=link24 onMouseOver="ShowTip(event, 'tt3', 'link24')" onMouseOut="HideTip('tt3')">mxEditor</a>.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.editor"></a>editor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDefaultKeyHandler.prototype.editor</td></tr></table></blockquote><p>Reference to the enclosing <a href="mxEditor-js.html#mxEditor" class=LClass id=link25 onMouseOver="ShowTip(event, 'tt3', 'link25')" onMouseOut="HideTip('tt3')">mxEditor</a>.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.editor"></a>editor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDefaultKeyHandler.prototype.editor</td></tr></table></blockquote><p>Reference to the enclosing <a href="mxEditor-js.html#mxEditor" class=LClass id=link25 onMouseOver="ShowTip(event, 'tt3', 'link25')" onMouseOut="HideTip('tt3')">mxEditor</a>.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.handler"></a>handler</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDefaultKeyHandler.prototype.handler</td></tr></table></blockquote><p>Holds the <a href="../handler/mxKeyHandler-js.html#mxKeyHandler" class=LClass id=link26 onMouseOver="ShowTip(event, 'tt6', 'link26')" onMouseOut="HideTip('tt6')">mxKeyHandler</a> for key event handling.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.handler"></a>handler</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDefaultKeyHandler.prototype.handler</td></tr></table></blockquote><p>Holds the <a href="../handler/mxKeyHandler-js.html#mxKeyHandler" class=LClass id=link26 onMouseOver="ShowTip(event, 'tt6', 'link26')" onMouseOut="HideTip('tt6')">mxKeyHandler</a> for key event handling.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.bindAction"></a>bindAction</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>mxDefaultKeyHandler.prototype.bindAction = function (</td><td class=PParameter nowrap>code,</td></tr><tr><td></td><td class=PParameter nowrap>action,</td></tr><tr><td></td><td class=PParameter nowrap>control</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Binds the specified keycode to the given action in <a href="#mxDefaultKeyHandler.editor" class=LVariable id=link27 onMouseOver="ShowTip(event, 'tt4', 'link27')" onMouseOut="HideTip('tt4')">editor</a>.&nbsp; The optional control flag specifies if the control key must be pressed to trigger the action.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>code</td><td class=CDLDescription>Integer that specifies the keycode.</td></tr><tr><td class=CDLEntry>action</td><td class=CDLDescription>Name of the action to execute in <a href="#mxDefaultKeyHandler.editor" class=LVariable id=link28 onMouseOver="ShowTip(event, 'tt4', 'link28')" onMouseOut="HideTip('tt4')">editor</a>.</td></tr><tr><td class=CDLEntry>control</td><td class=CDLDescription>Optional boolean that specifies if control must be pressed.&nbsp; Default is false.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.bindAction"></a>bindAction</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDefaultKeyHandler.prototype.bindAction = function (</td><td class="PParameter prettyprint " nowrap>code,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>action,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>control</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Binds the specified keycode to the given action in <a href="#mxDefaultKeyHandler.editor" class=LVariable id=link27 onMouseOver="ShowTip(event, 'tt4', 'link27')" onMouseOut="HideTip('tt4')">editor</a>.&nbsp; The optional control flag specifies if the control key must be pressed to trigger the action.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>code</td><td class=CDLDescription>Integer that specifies the keycode.</td></tr><tr><td class=CDLEntry>action</td><td class=CDLDescription>Name of the action to execute in <a href="#mxDefaultKeyHandler.editor" class=LVariable id=link28 onMouseOver="ShowTip(event, 'tt4', 'link28')" onMouseOut="HideTip('tt4')">editor</a>.</td></tr><tr><td class=CDLEntry>control</td><td class=CDLDescription>Optional boolean that specifies if control must be pressed.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.destroy"></a>destroy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDefaultKeyHandler.prototype.destroy = function ()</td></tr></table></blockquote><p>Destroys the <a href="#mxDefaultKeyHandler.handler" class=LVariable id=link29 onMouseOver="ShowTip(event, 'tt5', 'link29')" onMouseOut="HideTip('tt5')">handler</a> associated with this object.&nbsp; This does normally not need to be called, the <a href="#mxDefaultKeyHandler.handler" class=LVariable id=link30 onMouseOver="ShowTip(event, 'tt5', 'link30')" onMouseOut="HideTip('tt5')">handler</a> is destroyed automatically when the window unloads (in IE) by <a href="mxEditor-js.html#mxEditor" class=LClass id=link31 onMouseOver="ShowTip(event, 'tt3', 'link31')" onMouseOut="HideTip('tt3')">mxEditor</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandler.destroy"></a>destroy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDefaultKeyHandler.prototype.destroy = function ()</td></tr></table></blockquote><p>Destroys the <a href="#mxDefaultKeyHandler.handler" class=LVariable id=link29 onMouseOver="ShowTip(event, 'tt5', 'link29')" onMouseOut="HideTip('tt5')">handler</a> associated with this object.&nbsp; This does normally not need to be called, the <a href="#mxDefaultKeyHandler.handler" class=LVariable id=link30 onMouseOver="ShowTip(event, 'tt5', 'link30')" onMouseOut="HideTip('tt5')">handler</a> is destroyed automatically when the window unloads (in IE) by <a href="mxEditor-js.html#mxEditor" class=LClass id=link31 onMouseOver="ShowTip(event, 'tt3', 'link31')" onMouseOut="HideTip('tt3')">mxEditor</a>.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -44,7 +44,7 @@ HideAllBut([1], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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 mxDefaultKeyHandler(</td><td class=PParameter nowrap>editor</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new default key handler for the mxEditor.graph in the given mxEditor. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEditor.prototype.graph</td></tr></table></blockquote>Holds a mxGraph for displaying the diagram. </div></div><div class=CToolTip id="tt3"><div class=CClass>Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg. </div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDefaultKeyHandler.prototype.editor</td></tr></table></blockquote>Reference to the enclosing mxEditor.</div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDefaultKeyHandler.prototype.handler</td></tr></table></blockquote>Holds the mxKeyHandler for key event handling.</div></div><div class=CToolTip id="tt6"><div class=CClass>Event handler that listens to keystroke events. </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>mxDefaultKeyHandler.prototype.bindAction = function (</td><td class=PParameter nowrap>code,</td></tr><tr><td></td><td class=PParameter nowrap>action,</td></tr><tr><td></td><td class=PParameter nowrap>control</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Binds the specified keycode to the given action in editor. </div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDefaultKeyHandler.prototype.destroy = function ()</td></tr></table></blockquote>Destroys the handler associated with this object. </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>mxKeyHandler.prototype.escape = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook to process ESCAPE keystrokes. </div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEditor.prototype.keyHandler</td></tr></table></blockquote>Holds a mxDefaultKeyHandler for handling keyboard events. </div></div><div class=CToolTip id="tt11"><div class=CClass>Custom codec for configuring mxDefaultKeyHandlers. </div></div><div class=CToolTip id="tt12"><div class=CVariable>Specifies the event name for escape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxDefaultKeyHandler(</td><td class="PParameter prettyprint " nowrap>editor</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new default key handler for the mxEditor.graph in the given mxEditor. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEditor.prototype.graph</td></tr></table></blockquote>Holds a mxGraph for displaying the diagram. </div></div><div class=CToolTip id="tt3"><div class=CClass>Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg. </div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDefaultKeyHandler.prototype.editor</td></tr></table></blockquote>Reference to the enclosing mxEditor.</div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDefaultKeyHandler.prototype.handler</td></tr></table></blockquote>Holds the mxKeyHandler for key event handling.</div></div><div class=CToolTip id="tt6"><div class=CClass>Event handler that listens to keystroke events. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDefaultKeyHandler.prototype.bindAction = function (</td><td class="PParameter prettyprint " nowrap>code,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>action,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>control</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Binds the specified keycode to the given action in editor. </div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDefaultKeyHandler.prototype.destroy = function ()</td></tr></table></blockquote>Destroys the handler associated with this object. </div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxKeyHandler.prototype.escape = function(</td><td class="PParameter prettyprint " nowrap>evt</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Hook to process ESCAPE keystrokes. </div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEditor.prototype.keyHandler</td></tr></table></blockquote>Holds a mxDefaultKeyHandler for handling keyboard events. </div></div><div class=CToolTip id="tt11"><div class=CClass>Custom codec for configuring mxDefaultKeyHandlers. </div></div><div class=CToolTip id="tt12"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">ESCAPE: 'escape'</td></tr></table></blockquote>Specifies the event name for escape.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxCellTracker</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxCellTracker</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -56,15 +56,15 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.mxCellTracker"></a>mxCellTracker</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 mxCellTracker(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>color,</td></tr><tr><td></td><td class=PParameter nowrap>funct</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs an event handler that highlights cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription>Reference to the enclosing <a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">mxGraph</a>.</td></tr><tr><td class=CDLEntry>color</td><td class=CDLDescription>Color of the highlight.&nbsp; Default is blue.</td></tr><tr><td class=CDLEntry>funct</td><td class=CDLDescription>Optional JavaScript function that is used to override <a href="mxCellMarker-js.html#mxCellMarker.getCell" class=LFunction id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">mxCellMarker.getCell</a>.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.mxCellTracker"></a>mxCellTracker</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCellTracker(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>color,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>funct</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs an event handler that highlights cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription>Reference to the enclosing <a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">mxGraph</a>.</td></tr><tr><td class=CDLEntry>color</td><td class=CDLDescription>Color of the highlight.&nbsp; Default is blue.</td></tr><tr><td class=CDLEntry>funct</td><td class=CDLDescription>Optional JavaScript function that is used to override <a href="mxCellMarker-js.html#mxCellMarker.getCell" class=LFunction id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">mxCellMarker.getCell</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.mouseDown"></a>mouseDown</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>mxCellTracker.prototype.mouseDown = function(</td><td class=PParameter nowrap>sender,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Ignores the event.&nbsp; The event is not consumed.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.mouseDown"></a>mouseDown</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCellTracker.prototype.mouseDown = function(</td><td class="PParameter prettyprint " nowrap>sender,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Ignores the event.&nbsp; The event is not consumed.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.mouseMove"></a>mouseMove</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>mxCellTracker.prototype.mouseMove = function(</td><td class=PParameter nowrap>sender,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.mouseMove"></a>mouseMove</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCellTracker.prototype.mouseMove = function(</td><td class="PParameter prettyprint " nowrap>sender,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.mouseUp"></a>mouseUp</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>mxCellTracker.prototype.mouseUp = function(</td><td class=PParameter nowrap>sender,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Handles the event by reseting the highlight.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.mouseUp"></a>mouseUp</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCellTracker.prototype.mouseUp = function(</td><td class="PParameter prettyprint " nowrap>sender,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Handles the event by reseting the highlight.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.destroy"></a>destroy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCellTracker.prototype.destroy = function()</td></tr></table></blockquote><p>Destroys the object and all its resources and DOM nodes.&nbsp; This doesn&rsquo;t normally need to be called.&nbsp; It is called automatically when the window unloads.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellTracker.destroy"></a>destroy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCellTracker.prototype.destroy = function()</td></tr></table></blockquote><p>Destroys the object and all its resources and DOM nodes.&nbsp; This doesn&rsquo;t normally need to be called.&nbsp; It is called automatically when the window unloads.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -80,7 +80,7 @@ HideAllBut([2], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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 mxCellTracker(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>color,</td></tr><tr><td></td><td class=PParameter nowrap>funct</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs an event handler that highlights cells.</div></div><div class=CToolTip id="tt2"><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>mxCellTracker.prototype.mouseDown = function(</td><td class=PParameter nowrap>sender,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Ignores the event. </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>mxCellTracker.prototype.mouseMove = function(</td><td class=PParameter nowrap>sender,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.</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>mxCellTracker.prototype.mouseUp = function(</td><td class=PParameter nowrap>sender,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Handles the event by reseting the highlight.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCellTracker.prototype.destroy = function()</td></tr></table></blockquote>Destroys the object and all its resources and DOM nodes. </div></div><div class=CToolTip id="tt6"><div class=CClass>A helper class to process mouse locations and highlight cells.</div></div><div class=CToolTip id="tt7"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </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>mxCellMarker.prototype.getCell = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the mxCell for the given event and cell. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCellTracker(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>color,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>funct</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs an event handler that highlights cells.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCellTracker.prototype.mouseDown = function(</td><td class="PParameter prettyprint " nowrap>sender,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Ignores the event. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCellTracker.prototype.mouseMove = function(</td><td class="PParameter prettyprint " nowrap>sender,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Handles the event by highlighting the cell under the mousepointer if it is over the hotspot region of the cell.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCellTracker.prototype.mouseUp = function(</td><td class="PParameter prettyprint " nowrap>sender,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Handles the event by reseting the highlight.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCellTracker.prototype.destroy = function()</td></tr></table></blockquote>Destroys the object and all its resources and DOM nodes. </div></div><div class=CToolTip id="tt6"><div class=CClass>A helper class to process mouse locations and highlight cells.</div></div><div class=CToolTip id="tt7"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCellMarker.prototype.getCell = function(</td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the mxCell for the given event and cell. </div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>/home/gaudenz/project/mxgraph2/build/mxgraph/javascript/src/src/js/handler/mxEdgeSegmentHandler.js</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>/home/gaudenz/project/mxgraph2/build/mxgraph/javascript/src/src/js/handler/mxEdgeSegmentHandler.js</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,21 +15,21 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="getCurrentPoints"></a>getCurrentPoints</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.getCurrentPoints = function()</td></tr></table></blockquote><p>Returns the current absolute points.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="getCurrentPoints"></a>getCurrentPoints</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEdgeSegmentHandler.prototype.getCurrentPoints = function()</td></tr></table></blockquote><p>Returns the current absolute points.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="getPreviewPoints"></a>getPreviewPoints</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>mxEdgeSegmentHandler.prototype.getPreviewPoints = function(</td><td class=PParameter nowrap>point</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the given preview state taking into account the state of the constraint handler.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="getPreviewPoints"></a>getPreviewPoints</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeSegmentHandler.prototype.getPreviewPoints = function(</td><td class="PParameter prettyprint " nowrap>point</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the given preview state taking into account the state of the constraint handler.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="updatePreviewState"></a>updatePreviewState</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>mxEdgeSegmentHandler.prototype.updatePreviewState = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>point,</td></tr><tr><td></td><td class=PParameter nowrap>terminalState,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Overridden to perform optimization of the edge style result.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="updatePreviewState"></a>updatePreviewState</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeSegmentHandler.prototype.updatePreviewState = function(</td><td class="PParameter prettyprint " nowrap>edge,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>point,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>terminalState,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Overridden to perform optimization of the edge style result.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="getTooltipForNode"></a>getTooltipForNode</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>mxEdgeSegmentHandler.prototype.getTooltipForNode = function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns no tooltips.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="getTooltipForNode"></a>getTooltipForNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeSegmentHandler.prototype.getTooltipForNode = function(</td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns no tooltips.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="createBends"></a>createBends</h3><div class=CBody><p>Adds custom bends for the center of each segment.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="createBends"></a>createBends</h3><div class=CBody><p>Adds custom bends for the center of each segment.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="createBends"></a>createBends</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.createBends = function()</td></tr></table></blockquote><p>Adds custom bends for the center of each segment.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="createBends"></a>createBends</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEdgeSegmentHandler.prototype.createBends = function()</td></tr></table></blockquote><p>Adds custom bends for the center of each segment.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="redraw"></a>redraw</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.redraw = function()</td></tr></table></blockquote><p>Overridden to invoke &lt;refresh&gt; before the redraw.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="redraw"></a>redraw</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEdgeSegmentHandler.prototype.redraw = function()</td></tr></table></blockquote><p>Overridden to invoke &lt;refresh&gt; before the redraw.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="redrawInnerBends"></a>redrawInnerBends</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>mxEdgeSegmentHandler.prototype.redrawInnerBends = function(</td><td class=PParameter nowrap>p0,</td></tr><tr><td></td><td class=PParameter nowrap>pe</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the position of the custom bends.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="redrawInnerBends"></a>redrawInnerBends</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeSegmentHandler.prototype.redrawInnerBends = function(</td><td class="PParameter prettyprint " nowrap>p0,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pe</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the position of the custom bends.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -45,7 +45,7 @@ HideAllBut([2], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.getCurrentPoints = function()</td></tr></table></blockquote>Returns the current absolute points.</div></div><div class=CToolTip id="tt2"><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>mxEdgeSegmentHandler.prototype.getPreviewPoints = function(</td><td class=PParameter nowrap>point</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the given preview state taking into account the state of the constraint handler.</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>mxEdgeSegmentHandler.prototype.updatePreviewState = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>point,</td></tr><tr><td></td><td class=PParameter nowrap>terminalState,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Overridden to perform optimization of the edge style result.</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>mxEdgeSegmentHandler.prototype.getTooltipForNode = function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns no tooltips.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.createBends = function()</td></tr></table></blockquote>Adds custom bends for the center of each segment.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEdgeSegmentHandler.prototype.redraw = function()</td></tr></table></blockquote>Overridden to invoke refresh before the redraw.</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>mxEdgeSegmentHandler.prototype.redrawInnerBends = function(</td><td class=PParameter nowrap>p0,</td></tr><tr><td></td><td class=PParameter nowrap>pe</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the position of the custom bends.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEdgeSegmentHandler.prototype.getCurrentPoints = function()</td></tr></table></blockquote>Returns the current absolute points.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeSegmentHandler.prototype.getPreviewPoints = function(</td><td class="PParameter prettyprint " nowrap>point</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the given preview state taking into account the state of the constraint handler.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeSegmentHandler.prototype.updatePreviewState = function(</td><td class="PParameter prettyprint " nowrap>edge,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>point,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>terminalState,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Overridden to perform optimization of the edge style result.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeSegmentHandler.prototype.getTooltipForNode = function(</td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns no tooltips.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEdgeSegmentHandler.prototype.createBends = function()</td></tr></table></blockquote>Adds custom bends for the center of each segment.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEdgeSegmentHandler.prototype.redraw = function()</td></tr></table></blockquote>Overridden to invoke refresh before the redraw.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeSegmentHandler.prototype.redrawInnerBends = function(</td><td class="PParameter prettyprint " nowrap>p0,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pe</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the position of the custom bends.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxElbowEdgeHandler</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxElbowEdgeHandler</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -19,21 +19,21 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.doubleClickOrientationResource"></a>doubleClickOrientationResource</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxElbowEdgeHandler.prototype.doubleClickOrientationResource</td></tr></table></blockquote><p>Specifies the resource key for the tooltip to be displayed on the single control point for routed edges.&nbsp; If the resource for this key does not exist then the value is used as the error message.&nbsp; Default is &lsquo;doubleClickOrientation&rsquo;.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.doubleClickOrientationResource"></a>doubleClickOrientationResource</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxElbowEdgeHandler.prototype.doubleClickOrientationResource</td></tr></table></blockquote><p>Specifies the resource key for the tooltip to be displayed on the single control point for routed edges.&nbsp; If the resource for this key does not exist then the value is used as the error message.&nbsp; Default is &lsquo;doubleClickOrientation&rsquo;.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.createBends"></a>createBends</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxElbowEdgeHandler.prototype.createBends = function()</td></tr></table></blockquote><p>Overrides <a href="mxEdgeHandler-js.html#mxEdgeHandler.createBends" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt4', 'link15')" onMouseOut="HideTip('tt4')">mxEdgeHandler.createBends</a> to create custom bends.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.createBends"></a>createBends</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxElbowEdgeHandler.prototype.createBends = function()</td></tr></table></blockquote><p>Overrides <a href="mxEdgeHandler-js.html#mxEdgeHandler.createBends" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt4', 'link15')" onMouseOut="HideTip('tt4')">mxEdgeHandler.createBends</a> to create custom bends.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.createVirtualBend"></a>createVirtualBend</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>mxElbowEdgeHandler.prototype.createVirtualBend = function(</td><td class=PParameter nowrap>dblClickHandler</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates a virtual bend that supports double clicking and calls <a href="../view/mxGraph-js.html#mxGraph.flipEdge" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt6', 'link16')" onMouseOut="HideTip('tt6')">mxGraph.flipEdge</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.createVirtualBend"></a>createVirtualBend</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxElbowEdgeHandler.prototype.createVirtualBend = function(</td><td class="PParameter prettyprint " nowrap>dblClickHandler</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates a virtual bend that supports double clicking and calls <a href="../view/mxGraph-js.html#mxGraph.flipEdge" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt6', 'link16')" onMouseOut="HideTip('tt6')">mxGraph.flipEdge</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.getCursorForBend"></a>getCursorForBend</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxElbowEdgeHandler.prototype.getCursorForBend = function()</td></tr></table></blockquote><p>Returns the cursor to be used for the bend.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.getCursorForBend"></a>getCursorForBend</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxElbowEdgeHandler.prototype.getCursorForBend = function()</td></tr></table></blockquote><p>Returns the cursor to be used for the bend.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.getTooltipForNode"></a>getTooltipForNode</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>mxElbowEdgeHandler.prototype.getTooltipForNode = function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the tooltip for the given node.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.getTooltipForNode"></a>getTooltipForNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxElbowEdgeHandler.prototype.getTooltipForNode = function(</td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the tooltip for the given node.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.convertPoint"></a>convertPoint</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>mxElbowEdgeHandler.prototype.convertPoint = function(</td><td class=PParameter nowrap>point,</td></tr><tr><td></td><td class=PParameter nowrap>gridEnabled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>point</td><td class=CDLDescription><a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link17 onMouseOver="ShowTip(event, 'tt13', 'link17')" onMouseOut="HideTip('tt13')">mxPoint</a> to be converted.</td></tr><tr><td class=CDLEntry>gridEnabled</td><td class=CDLDescription>Boolean that specifies if the grid should be applied.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.convertPoint"></a>convertPoint</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxElbowEdgeHandler.prototype.convertPoint = function(</td><td class="PParameter prettyprint " nowrap>point,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>gridEnabled</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>point</td><td class=CDLDescription><a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link17 onMouseOver="ShowTip(event, 'tt13', 'link17')" onMouseOut="HideTip('tt13')">mxPoint</a> to be converted.</td></tr><tr><td class=CDLEntry>gridEnabled</td><td class=CDLDescription>Boolean that specifies if the grid should be applied.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.redrawInnerBends"></a>redrawInnerBends</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>mxElbowEdgeHandler.prototype.redrawInnerBends = function(</td><td class=PParameter nowrap>p0,</td></tr><tr><td></td><td class=PParameter nowrap>pe</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates and redraws the inner bends.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p0</td><td class=CDLDescription><a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link18 onMouseOver="ShowTip(event, 'tt13', 'link18')" onMouseOut="HideTip('tt13')">mxPoint</a> that represents the location of the first point.</td></tr><tr><td class=CDLEntry>pe</td><td class=CDLDescription><a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link19 onMouseOver="ShowTip(event, 'tt13', 'link19')" onMouseOut="HideTip('tt13')">mxPoint</a> that represents the location of the last point.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxElbowEdgeHandler.redrawInnerBends"></a>redrawInnerBends</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxElbowEdgeHandler.prototype.redrawInnerBends = function(</td><td class="PParameter prettyprint " nowrap>p0,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pe</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates and redraws the inner bends.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>p0</td><td class=CDLDescription><a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link18 onMouseOver="ShowTip(event, 'tt13', 'link18')" onMouseOut="HideTip('tt13')">mxPoint</a> that represents the location of the first point.</td></tr><tr><td class=CDLEntry>pe</td><td class=CDLDescription><a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link19 onMouseOver="ShowTip(event, 'tt13', 'link19')" onMouseOut="HideTip('tt13')">mxPoint</a> that represents the location of the last point.</td></tr></table></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -49,7 +49,7 @@ HideAllBut([2], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Represents the current state of a cell in a given mxGraphView.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxElbowEdgeHandler.prototype.doubleClickOrientationResource</td></tr></table></blockquote>Specifies the resource key for the tooltip to be displayed on the single control point for routed edges. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxElbowEdgeHandler.prototype.createBends = function()</td></tr></table></blockquote>Overrides mxEdgeHandler.createBends to create custom bends.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEdgeHandler.prototype.createBends = function()</td></tr></table></blockquote>Creates and returns the bends used for modifying the edge. </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>mxElbowEdgeHandler.prototype.createVirtualBend = function(</td><td class=PParameter nowrap>dblClickHandler</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.</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>mxGraph.prototype.flipEdge = function(</td><td class=PParameter nowrap>edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Toggles the style of the given edge between null (or empty) and alternateEdgeStyle. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxElbowEdgeHandler.prototype.getCursorForBend = function()</td></tr></table></blockquote>Returns the cursor to be used for the bend.</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>mxElbowEdgeHandler.prototype.getTooltipForNode = function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the tooltip for the given node.</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>mxElbowEdgeHandler.prototype.convertPoint = function(</td><td class=PParameter nowrap>point,</td></tr><tr><td></td><td class=PParameter nowrap>gridEnabled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.</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>mxElbowEdgeHandler.prototype.redrawInnerBends = function(</td><td class=PParameter nowrap>p0,</td></tr><tr><td></td><td class=PParameter nowrap>pe</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Updates and redraws the inner bends.</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>mxGraph.prototype.createHandler = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a new handler for the given cell state. </div></div><div class=CToolTip id="tt12"><div class=CFunction>Constructs an edge handler for the specified mxCellState.</div></div><div class=CToolTip id="tt13"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Represents the current state of a cell in a given mxGraphView.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxElbowEdgeHandler.prototype.doubleClickOrientationResource</td></tr></table></blockquote>Specifies the resource key for the tooltip to be displayed on the single control point for routed edges. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxElbowEdgeHandler.prototype.createBends = function()</td></tr></table></blockquote>Overrides mxEdgeHandler.createBends to create custom bends.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEdgeHandler.prototype.createBends = function()</td></tr></table></blockquote>Creates and returns the bends used for modifying the edge. </div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxElbowEdgeHandler.prototype.createVirtualBend = function(</td><td class="PParameter prettyprint " nowrap>dblClickHandler</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a virtual bend that supports double clicking and calls mxGraph.flipEdge.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraph.prototype.flipEdge = function(</td><td class="PParameter prettyprint " nowrap>edge</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Toggles the style of the given edge between null (or empty) and alternateEdgeStyle. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxElbowEdgeHandler.prototype.getCursorForBend = function()</td></tr></table></blockquote>Returns the cursor to be used for the bend.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxElbowEdgeHandler.prototype.getTooltipForNode = function(</td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the tooltip for the given node.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxElbowEdgeHandler.prototype.convertPoint = function(</td><td class="PParameter prettyprint " nowrap>point,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>gridEnabled</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Converts the given point in-place from screen to unscaled, untranslated graph coordinates and applies the grid.</div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxElbowEdgeHandler.prototype.redrawInnerBends = function(</td><td class="PParameter prettyprint " nowrap>p0,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pe</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Updates and redraws the inner bends.</div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraph.prototype.createHandler = function(</td><td class="PParameter prettyprint " nowrap>state</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a new handler for the given cell state. </div></div><div class=CToolTip id="tt12"><div class=CFunction>Constructs an edge handler for the specified mxCellState.</div></div><div class=CToolTip id="tt13"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxCellCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxCellCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -23,13 +23,13 @@ mxCodecRegistry.addAlias('CustomCell', 'mxCell');</pre></blockquote><!--START_ND
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.isCellCodec"></a>isCellCodec</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>codec.isCellCodec = function()</td></tr></table></blockquote><p>Returns true since this is a cell codec.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.isCellCodec"></a>isCellCodec</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">codec.isCellCodec = function()</td></tr></table></blockquote><p>Returns true since this is a cell codec.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.isExcluded"></a>isExcluded</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>codec.isExcluded = function(</td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>attr,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>isWrite</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Excludes user objects that are XML nodes.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.isExcluded"></a>isExcluded</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.isExcluded = function(</td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>attr,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>value,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>isWrite</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Excludes user objects that are XML nodes.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.afterEncode"></a>afterEncode</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>codec.afterEncode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes an <a href="../model/mxCell-js.html#mxCell" class=LClass id=link12 onMouseOver="ShowTip(event, 'tt1', 'link12')" onMouseOut="HideTip('tt1')">mxCell</a> and wraps the XML up inside the XML of the user object (inversion).</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.afterEncode"></a>afterEncode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterEncode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes an <a href="../model/mxCell-js.html#mxCell" class=LClass id=link12 onMouseOver="ShowTip(event, 'tt1', 'link12')" onMouseOut="HideTip('tt1')">mxCell</a> and wraps the XML up inside the XML of the user object (inversion).</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.beforeDecode"></a>beforeDecode</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>codec.beforeDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Decodes an <a href="../model/mxCell-js.html#mxCell" class=LClass id=link13 onMouseOver="ShowTip(event, 'tt1', 'link13')" onMouseOut="HideTip('tt1')">mxCell</a> and uses the enclosing XML node as the user object for the cell (inversion).</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellCodec.beforeDecode"></a>beforeDecode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.beforeDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Decodes an <a href="../model/mxCell-js.html#mxCell" class=LClass id=link13 onMouseOver="ShowTip(event, 'tt1', 'link13')" onMouseOut="HideTip('tt1')">mxCell</a> and uses the enclosing XML node as the user object for the cell (inversion).</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -45,7 +45,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Cells are the elements of the graph model. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>codec.isCellCodec = function()</td></tr></table></blockquote>Returns true since this is a cell codec.</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>codec.isExcluded = function(</td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>attr,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>isWrite</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Excludes user objects that are XML nodes.</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>codec.afterEncode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).</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>codec.beforeDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion).</div></div><div class=CToolTip id="tt6"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt7"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Cells are the elements of the graph model. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">codec.isCellCodec = function()</td></tr></table></blockquote>Returns true since this is a cell codec.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.isExcluded = function(</td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>attr,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>value,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>isWrite</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Excludes user objects that are XML nodes.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterEncode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.beforeDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion).</div></div><div class=CToolTip id="tt6"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt7"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxChildChangeCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxChildChangeCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,13 +15,13 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.isReference"></a>isReference</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>codec.isReference = function(</td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>attr,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>isWrite</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true for the child attribute if the child cell had a previous parent or if we&rsquo;re reading the child as an attribute rather than a child node, in which case it&rsquo;s always a reference.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.isReference"></a>isReference</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.isReference = function(</td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>attr,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>value,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>isWrite</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true for the child attribute if the child cell had a previous parent or if we&rsquo;re reading the child as an attribute rather than a child node, in which case it&rsquo;s always a reference.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.afterEncode"></a>afterEncode</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>codec.afterEncode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes the child recusively and adds the result to the given node.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.afterEncode"></a>afterEncode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterEncode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes the child recusively and adds the result to the given node.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.beforeDecode"></a>beforeDecode</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>codec.beforeDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Decodes the any child nodes as using the respective codec from the registry.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.beforeDecode"></a>beforeDecode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.beforeDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Decodes the any child nodes as using the respective codec from the registry.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.afterDecode"></a>afterDecode</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>codec.afterDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Restores object state in the child change.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxChildChangeCodec.afterDecode"></a>afterDecode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Restores object state in the child change.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -37,7 +37,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Action to add or remove a child in a model.</div></div><div class=CToolTip id="tt2"><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>codec.isReference = function(</td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>attr,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>isWrite</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true for the child attribute if the child cell had a previous parent or if we&rsquo;re reading the child as an attribute rather than a child node, in which case it&rsquo;s always a reference.</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>codec.afterEncode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the child recusively and adds the result to the given node.</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>codec.beforeDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Decodes the any child nodes as using the respective codec from the registry.</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>codec.afterDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Restores object state in the child change.</div></div><div class=CToolTip id="tt6"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt7"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Action to add or remove a child in a model.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.isReference = function(</td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>attr,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>value,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>isWrite</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true for the child attribute if the child cell had a previous parent or if we&rsquo;re reading the child as an attribute rather than a child node, in which case it&rsquo;s always a reference.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterEncode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the child recusively and adds the result to the given node.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.beforeDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Decodes the any child nodes as using the respective codec from the registry.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Restores object state in the child change.</div></div><div class=CToolTip id="tt6"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt7"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxCodecRegistry</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxCodecRegistry</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -11,22 +11,22 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxCodecRegistry"></a>mxCodecRegistry</h1><div class=CBody><p>Singleton class that acts as a global registry for codecs.</p><h4 class=CHeading>Adding an <a href="mxCodec-js.html#mxCodec" class=LClass id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">mxCodec</a></h4><p>1.&nbsp; Define a default codec with a new instance of the object to be handled.</p><blockquote><pre class="prettyprint">var codec = new mxObjectCodec(new mxGraphModel());</pre></blockquote><p>2.&nbsp; Define the functions required for encoding and decoding objects.</p><blockquote><pre class="prettyprint">codec.encode = function(enc, obj) { ... } <div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxCodecRegistry"></a>mxCodecRegistry</h1><div class=CBody><p>Singleton class that acts as a global registry for codecs.</p><h4 class=CHeading>Adding an <a href="mxCodec-js.html#mxCodec" class=LClass id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">mxCodec</a></h4><p>1.&nbsp; Define a default codec with a new instance of the object to be handled.</p><blockquote><pre class="prettyprint">var codec = new mxObjectCodec(new mxGraphModel());</pre></blockquote><p>2.&nbsp; Define the functions required for encoding and decoding objects.</p><blockquote><pre class="prettyprint">codec.encode = function(enc, obj) { ... }
codec.decode = function(dec, node, into) { ... }</pre></blockquote><p>3.&nbsp; Register the codec in the <a href="#mxCodecRegistry" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">mxCodecRegistry</a>.</p><blockquote><pre class="prettyprint">mxCodecRegistry.register(codec);</pre></blockquote><p><a href="mxObjectCodec-js.html#mxObjectCodec.decode" class=LFunction id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">mxObjectCodec.decode</a> may be used to either create a new instance of an object or to configure an existing instance, in which case the into argument points to the existing object.&nbsp; In this case, we say the codec &ldquo;configures&rdquo; the object.</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="#mxCodecRegistry" >mxCodecRegistry</a></td><td class=SDescription>Singleton class that acts as a global registry for codecs.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCodecRegistry.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCodecRegistry.codecs" >codecs</a></td><td class=SDescription>Maps from constructor names to codecs.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxCodecRegistry.aliases" >aliases</a></td><td class=SDescription>Maps from classnames to codecnames.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCodecRegistry.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCodecRegistry.register" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">register</a></td><td class=SDescription>Registers a new codec and associates the name of the template constructor in the codec with the codec object.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCodecRegistry.addAlias" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">addAlias</a></td><td class=SDescription>Adds an alias for mapping a classname to a codecname.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCodecRegistry.getCodec" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">getCodec</a></td><td class=SDescription>Returns a codec that handles objects that are constructed using the given constructor.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> codec.decode = function(dec, node, into) { ... }</pre></blockquote><p>3.&nbsp; Register the codec in the <a href="#mxCodecRegistry" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">mxCodecRegistry</a>.</p><blockquote><pre class="prettyprint">mxCodecRegistry.register(codec);</pre></blockquote><p><a href="mxObjectCodec-js.html#mxObjectCodec.decode" class=LFunction id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">mxObjectCodec.decode</a> may be used to either create a new instance of an object or to configure an existing instance, in which case the into argument points to the existing object.&nbsp; In this case, we say the codec &ldquo;configures&rdquo; the object.</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="#mxCodecRegistry" >mxCodecRegistry</a></td><td class=SDescription>Singleton class that acts as a global registry for codecs.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCodecRegistry.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCodecRegistry.codecs" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">codecs</a></td><td class=SDescription>Maps from constructor names to codecs.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxCodecRegistry.aliases" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">aliases</a></td><td class=SDescription>Maps from classnames to codecnames.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCodecRegistry.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCodecRegistry.register" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">register</a></td><td class=SDescription>Registers a new codec and associates the name of the template constructor in the codec with the codec object.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCodecRegistry.addAlias" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">addAlias</a></td><td class=SDescription>Adds an alias for mapping a classname to a codecname.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCodecRegistry.getCodec" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">getCodec</a></td><td class=SDescription>Returns a codec that handles objects that are constructed using the given constructor.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.codecs"></a>codecs</h3><div class=CBody><p>Maps from constructor names to codecs.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.codecs"></a>codecs</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">codecs: []</td></tr></table></blockquote><p>Maps from constructor names to codecs.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.aliases"></a>aliases</h3><div class=CBody><p>Maps from classnames to codecnames.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.aliases"></a>aliases</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">aliases: []</td></tr></table></blockquote><p>Maps from classnames to codecnames.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.register"></a>register</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>register: function(</td><td class=PParameter nowrap>codec</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Registers a new codec and associates the name of the template constructor in the codec with the codec object.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>codec</td><td class=CDLDescription><a href="mxObjectCodec-js.html#mxObjectCodec" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">mxObjectCodec</a> to be registered.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.register"></a>register</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>register: function(</td><td class="PParameter prettyprint " nowrap>codec</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Registers a new codec and associates the name of the template constructor in the codec with the codec object.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>codec</td><td class=CDLDescription><a href="mxObjectCodec-js.html#mxObjectCodec" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">mxObjectCodec</a> to be registered.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.addAlias"></a>addAlias</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>addAlias: function(</td><td class=PParameter nowrap>classname,</td></tr><tr><td></td><td class=PParameter nowrap>codecname</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds an alias for mapping a classname to a codecname.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.addAlias"></a>addAlias</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>addAlias: function(</td><td class="PParameter prettyprint " nowrap>classname,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>codecname</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds an alias for mapping a classname to a codecname.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.getCodec"></a>getCodec</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>getCodec: function(</td><td class=PParameter nowrap>ctor</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns a codec that handles objects that are constructed using the given constructor.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>ctor</td><td class=CDLDescription>JavaScript constructor function.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCodecRegistry.getCodec"></a>getCodec</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>getCodec: function(</td><td class="PParameter prettyprint " nowrap>ctor</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns a codec that handles objects that are constructed using the given constructor.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>ctor</td><td class=CDLDescription>JavaScript constructor function.</td></tr></table></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -42,7 +42,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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>register: function(</td><td class=PParameter nowrap>codec</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Registers a new codec and associates the name of the template constructor in the codec with the codec object.</div></div><div class=CToolTip id="tt2"><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>addAlias: function(</td><td class=PParameter nowrap>classname,</td></tr><tr><td></td><td class=PParameter nowrap>codecname</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds an alias for mapping a classname to a codecname.</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>getCodec: function(</td><td class=PParameter nowrap>ctor</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a codec that handles objects that are constructed using the given constructor.</div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</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>mxObjectCodec.prototype.decode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>into</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Parses the given node into the object or returns a new object representing the given node.</div></div><div class=CToolTip id="tt7"><div class=CClass>Generic codec for JavaScript objects that implements a mapping between JavaScript objects and XML nodes that maps each field or element to an attribute or child node, and vice versa.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">codecs: []</td></tr></table></blockquote>Maps from constructor names to codecs.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">aliases: []</td></tr></table></blockquote>Maps from classnames to codecnames.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>register: function(</td><td class="PParameter prettyprint " nowrap>codec</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Registers a new codec and associates the name of the template constructor in the codec with the codec object.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>addAlias: function(</td><td class="PParameter prettyprint " nowrap>classname,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>codecname</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Adds an alias for mapping a classname to a codecname.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>getCodec: function(</td><td class="PParameter prettyprint " nowrap>ctor</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a codec that handles objects that are constructed using the given constructor.</div></div><div class=CToolTip id="tt6"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt7"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxObjectCodec.prototype.decode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>into</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Parses the given node into the object or returns a new object representing the given node.</div></div><div class=CToolTip id="tt9"><div class=CClass>Generic codec for JavaScript objects that implements a mapping between JavaScript objects and XML nodes that maps each field or element to an attribute or child node, and vice versa.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxDefaultKeyHandlerCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxDefaultKeyHandlerCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandlerCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandlerCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandlerCodec.encode"></a>encode</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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns null.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandlerCodec.encode"></a>encode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns null.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandlerCodec.decode"></a>decode</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>codec.decode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>into</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Reads a sequence of the following child nodes and attributes:</p><h4 class=CHeading>Child Nodes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>add</td><td class=CDLDescription>Binds a keystroke to an actionname.</td></tr></table><h4 class=CHeading>Attributes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>as</td><td class=CDLDescription>Keycode.</td></tr><tr><td class=CDLEntry>action</td><td class=CDLDescription>Actionname to execute in editor.</td></tr><tr><td class=CDLEntry>control</td><td class=CDLDescription>Optional boolean indicating if the control key must be pressed.</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">&lt;mxDefaultKeyHandler as=&quot;keyHandler&quot;&gt; <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultKeyHandlerCodec.decode"></a>decode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>into</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Reads a sequence of the following child nodes and attributes:</p><h4 class=CHeading>Child Nodes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>add</td><td class=CDLDescription>Binds a keystroke to an actionname.</td></tr></table><h4 class=CHeading>Attributes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>as</td><td class=CDLDescription>Keycode.</td></tr><tr><td class=CDLEntry>action</td><td class=CDLDescription>Actionname to execute in editor.</td></tr><tr><td class=CDLEntry>control</td><td class=CDLDescription>Optional boolean indicating if the control key must be pressed.</td></tr></table><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">&lt;mxDefaultKeyHandler as=&quot;keyHandler&quot;&gt;
&lt;add as=&quot;88&quot; control=&quot;true&quot; action=&quot;cut&quot;/&gt; &lt;add as=&quot;88&quot; control=&quot;true&quot; action=&quot;cut&quot;/&gt;
&lt;add as=&quot;67&quot; control=&quot;true&quot; action=&quot;copy&quot;/&gt; &lt;add as=&quot;67&quot; control=&quot;true&quot; action=&quot;copy&quot;/&gt;
&lt;add as=&quot;86&quot; control=&quot;true&quot; action=&quot;paste&quot;/&gt; &lt;add as=&quot;86&quot; control=&quot;true&quot; action=&quot;paste&quot;/&gt;
@ -37,7 +37,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Binds keycodes to actionnames in an editor. </div></div><div class=CToolTip id="tt2"><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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns null.</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>codec.decode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>into</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Reads a sequence of the following child nodes and attributes:</div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</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>mxDefaultKeyHandler.prototype.bindAction = function (</td><td class=PParameter nowrap>code,</td></tr><tr><td></td><td class=PParameter nowrap>action,</td></tr><tr><td></td><td class=PParameter nowrap>control</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Binds the specified keycode to the given action in editor. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Binds keycodes to actionnames in an editor. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns null.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>into</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Reads a sequence of the following child nodes and attributes:</div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDefaultKeyHandler.prototype.bindAction = function (</td><td class="PParameter prettyprint " nowrap>code,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>action,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>control</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Binds the specified keycode to the given action in editor. </div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxDefaultPopupMenuCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxDefaultPopupMenuCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultPopupMenuCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultPopupMenuCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultPopupMenuCodec.encode"></a>encode</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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns null.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultPopupMenuCodec.encode"></a>encode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns null.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultPopupMenuCodec.decode"></a>decode</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>codec.decode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>into</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Uses the given node as the config for <a href="../editor/mxDefaultPopupMenu-js.html#mxDefaultPopupMenu" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt1', 'link9')" onMouseOut="HideTip('tt1')">mxDefaultPopupMenu</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultPopupMenuCodec.decode"></a>decode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>into</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Uses the given node as the config for <a href="../editor/mxDefaultPopupMenu-js.html#mxDefaultPopupMenu" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt1', 'link9')" onMouseOut="HideTip('tt1')">mxDefaultPopupMenu</a>.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Creates popupmenus for mouse events. </div></div><div class=CToolTip id="tt2"><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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns null.</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>codec.decode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>into</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Uses the given node as the config for mxDefaultPopupMenu.</div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</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>mxDefaultPopupMenu.prototype.createMenu = function(</td><td class=PParameter nowrap>editor,</td></tr><tr><td></td><td class=PParameter nowrap>menu,</td></tr><tr><td></td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>This function is called from mxEditor to add items to the given menu based on config. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Creates popupmenus for mouse events. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns null.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>into</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Uses the given node as the config for mxDefaultPopupMenu.</div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDefaultPopupMenu.prototype.createMenu = function(</td><td class="PParameter prettyprint " nowrap>editor,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>menu,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>evt</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>This function is called from mxEditor to add items to the given menu based on config. </div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxDefaultToolbarCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxDefaultToolbarCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.encode"></a>encode</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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns null.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.encode"></a>encode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns null.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.decode"></a>decode</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>codec.decode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>into</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Reads a sequence of the following child nodes and attributes:</p><h4 class=CHeading>Child Nodes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>add</td><td class=CDLDescription>Adds a new item to the toolbar.&nbsp; See below for attributes.</td></tr><tr><td class=CDLEntry>separator</td><td class=CDLDescription>Adds a vertical separator.&nbsp; No attributes.</td></tr><tr><td class=CDLEntry>hr</td><td class=CDLDescription>Adds a horizontal separator.&nbsp; No attributes.</td></tr><tr><td class=CDLEntry>br</td><td class=CDLDescription>Adds a linefeed.&nbsp; No attributes.</td></tr></table><h4 class=CHeading>Attributes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>as</td><td class=CDLDescription>Resource key for the label.</td></tr><tr><td class=CDLEntry>action</td><td class=CDLDescription>Name of the action to execute in enclosing editor.</td></tr><tr><td class=CDLEntry>mode</td><td class=CDLDescription>Modename (see below).</td></tr><tr><td class=CDLEntry>template</td><td class=CDLDescription>Template name for cell insertion.</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>Optional style to override the template style.</td></tr><tr><td class=CDLEntry>icon</td><td class=CDLDescription>Icon (relative/absolute URL).</td></tr><tr><td class=CDLEntry>pressedIcon</td><td class=CDLDescription>Optional icon for pressed state (relative/absolute URL).</td></tr><tr><td class=CDLEntry>id</td><td class=CDLDescription>Optional ID to be used for the created DOM element.</td></tr><tr><td class=CDLEntry>toggle</td><td class=CDLDescription>Optional 0 or 1 to disable toggling of the element.&nbsp; Default is 1 (true).</td></tr></table><p>The action, mode and template attributes are mutually exclusive.&nbsp; The style can only be used with the template attribute.&nbsp; The add node may contain another sequence of add nodes with as and action attributes to create a combo box in the toolbar.&nbsp; If the icon is specified then a list of the child node is expected to have its template attribute set and the action is ignored instead.</p><p>Nodes with a specified template may define a function to be used for inserting the cloned template into the graph.&nbsp; Here is an example of such a node:</p><blockquote><pre class="prettyprint">&lt;add as=&quot;Swimlane&quot; template=&quot;swimlane&quot; icon=&quot;images/swimlane.gif&quot;&gt;&lt;![CDATA[ <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.decode"></a>decode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>into</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Reads a sequence of the following child nodes and attributes:</p><h4 class=CHeading>Child Nodes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>add</td><td class=CDLDescription>Adds a new item to the toolbar.&nbsp; See below for attributes.</td></tr><tr><td class=CDLEntry>separator</td><td class=CDLDescription>Adds a vertical separator.&nbsp; No attributes.</td></tr><tr><td class=CDLEntry>hr</td><td class=CDLDescription>Adds a horizontal separator.&nbsp; No attributes.</td></tr><tr><td class=CDLEntry>br</td><td class=CDLDescription>Adds a linefeed.&nbsp; No attributes.</td></tr></table><h4 class=CHeading>Attributes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>as</td><td class=CDLDescription>Resource key for the label.</td></tr><tr><td class=CDLEntry>action</td><td class=CDLDescription>Name of the action to execute in enclosing editor.</td></tr><tr><td class=CDLEntry>mode</td><td class=CDLDescription>Modename (see below).</td></tr><tr><td class=CDLEntry>template</td><td class=CDLDescription>Template name for cell insertion.</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>Optional style to override the template style.</td></tr><tr><td class=CDLEntry>icon</td><td class=CDLDescription>Icon (relative/absolute URL).</td></tr><tr><td class=CDLEntry>pressedIcon</td><td class=CDLDescription>Optional icon for pressed state (relative/absolute URL).</td></tr><tr><td class=CDLEntry>id</td><td class=CDLDescription>Optional ID to be used for the created DOM element.</td></tr><tr><td class=CDLEntry>toggle</td><td class=CDLDescription>Optional 0 or 1 to disable toggling of the element.&nbsp; Default is 1 (true).</td></tr></table><p>The action, mode and template attributes are mutually exclusive.&nbsp; The style can only be used with the template attribute.&nbsp; The add node may contain another sequence of add nodes with as and action attributes to create a combo box in the toolbar.&nbsp; If the icon is specified then a list of the child node is expected to have its template attribute set and the action is ignored instead.</p><p>Nodes with a specified template may define a function to be used for inserting the cloned template into the graph.&nbsp; Here is an example of such a node:</p><blockquote><pre class="prettyprint">&lt;add as=&quot;Swimlane&quot; template=&quot;swimlane&quot; icon=&quot;images/swimlane.gif&quot;&gt;&lt;![CDATA[
function (editor, cell, evt, targetCell) function (editor, cell, evt, targetCell)
{ {
var pt = mxUtils.convertPoint( var pt = mxUtils.convertPoint(
@ -42,7 +42,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.allowEval"></a>allowEval</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDefaultToolbarCodec.allowEval</td></tr></table></blockquote><p>Static global switch that specifies if the use of eval is allowed for evaluating text content.&nbsp; Default is true.&nbsp; Set this to false if stylesheets may contain user input</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxDefaultToolbarCodec.allowEval"></a>allowEval</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDefaultToolbarCodec.allowEval</td></tr></table></blockquote><p>Static global switch that specifies if the use of eval is allowed for evaluating text content.&nbsp; Default is true.&nbsp; Set this to false if stylesheets may contain user input</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -58,7 +58,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Toolbar for the editor. </div></div><div class=CToolTip id="tt2"><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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns null.</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>codec.decode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>into</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Reads a sequence of the following child nodes and attributes:</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDefaultToolbarCodec.allowEval</td></tr></table></blockquote>Static global switch that specifies if the use of eval is allowed for evaluating text content. </div></div><div class=CToolTip id="tt5"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt6"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt7"><div class=CClass>Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg. </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>mxGraph.prototype.getCellAt = function(</td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>vertices,</td></tr><tr><td></td><td class=PParameter nowrap>edges,</td></tr><tr><td></td><td class=PParameter nowrap>ignoreFn</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Toolbar for the editor. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns null.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>into</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Reads a sequence of the following child nodes and attributes:</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDefaultToolbarCodec.allowEval</td></tr></table></blockquote>Static global switch that specifies if the use of eval is allowed for evaluating text content. </div></div><div class=CToolTip id="tt5"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt6"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt7"><div class=CClass>Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg. </div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraph.prototype.getCellAt = function(</td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>parent,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>vertices,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>edges,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>ignoreFn</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. </div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxEditorCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxEditorCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -24,11 +24,11 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
&lt;add as=&quot;toolbar&quot; x=&quot;10&quot; y=&quot;20&quot; width=&quot;54&quot;/&gt; &lt;add as=&quot;toolbar&quot; x=&quot;10&quot; y=&quot;20&quot; width=&quot;54&quot;/&gt;
&lt;/ui&gt;</pre></blockquote></div></div></div> &lt;/ui&gt;</pre></blockquote></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEditorCodec.decodeChild"></a>decodeChild</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>codec.decodeChild = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>child,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Overrides decode child to handle special child nodes.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEditorCodec.decodeChild"></a>decodeChild</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decodeChild = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>child,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Overrides decode child to handle special child nodes.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEditorCodec.decodeTemplates"></a>decodeTemplates</h3><div class=CBody><p>Decodes the cells from the given node as templates.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEditorCodec.decodeTemplates"></a>decodeTemplates</h3><div class=CBody><p>Decodes the cells from the given node as templates.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEditorCodec.decodeTemplates"></a>decodeTemplates</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>codec.decodeTemplates = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>editor</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Decodes the cells from the given node as templates.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEditorCodec.decodeTemplates"></a>decodeTemplates</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decodeTemplates = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>editor</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Decodes the cells from the given node as templates.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -44,7 +44,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg. </div></div><div class=CToolTip id="tt2"><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>codec.decodeChild = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>child,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Overrides decode child to handle special child nodes.</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>codec.decodeTemplates = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>editor</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Decodes the cells from the given node as templates.</div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt6"><div class=CClass>Implements internationalization. </div></div><div class=CToolTip id="tt7"><div class=CClass>Basic window inside a document.</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>mxEditor.prototype.setGraphContainer = function (</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the graph&rsquo;s container using mxGraph.init.</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>mxEditor.prototype.setTitleContainer = function (</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.</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>mxEditor.prototype.setToolbarContainer = function (</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Initializes the toolbar for the given container.</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>mxEditor.prototype.setStatusContainer = function (</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates the status using the specified container.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Extends mxEventSource to implement a application wrapper for a graph that adds actions, I/O using mxCodec, auto-layout using mxLayoutManager, command history using undoManager, and standard dialogs and widgets, eg. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decodeChild = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>child,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Overrides decode child to handle special child nodes.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decodeTemplates = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>editor</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Decodes the cells from the given node as templates.</div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt6"><div class=CClass>Implements internationalization. </div></div><div class=CToolTip id="tt7"><div class=CClass>Basic window inside a document.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEditor.prototype.setGraphContainer = function (</td><td class="PParameter prettyprint " nowrap>container</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the graph&rsquo;s container using mxGraph.init.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEditor.prototype.setTitleContainer = function (</td><td class="PParameter prettyprint " nowrap>container</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.</div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEditor.prototype.setToolbarContainer = function (</td><td class="PParameter prettyprint " nowrap>container</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Initializes the toolbar for the given container.</div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEditor.prototype.setStatusContainer = function (</td><td class="PParameter prettyprint " nowrap>container</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Creates the status using the specified container.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxGenericChangeCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxGenericChangeCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGenericChangeCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGenericChangeCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGenericChangeCodec.mxGenericChangeCodec"></a>mxGenericChangeCodec</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>var mxGenericChangeCodec = function(</td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>variable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Factory function that creates a <a href="mxObjectCodec-js.html#mxObjectCodec" class=LClass id=link16 onMouseOver="ShowTip(event, 'tt7', 'link16')" onMouseOut="HideTip('tt7')">mxObjectCodec</a> for the specified change and fieldname.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>obj</td><td class=CDLDescription>An instance of the change object.</td></tr><tr><td class=CDLEntry>variable</td><td class=CDLDescription>The fieldname for the change data.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGenericChangeCodec.mxGenericChangeCodec"></a>mxGenericChangeCodec</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var mxGenericChangeCodec = function(</td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>variable</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Factory function that creates a <a href="mxObjectCodec-js.html#mxObjectCodec" class=LClass id=link16 onMouseOver="ShowTip(event, 'tt7', 'link16')" onMouseOut="HideTip('tt7')">mxObjectCodec</a> for the specified change and fieldname.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>obj</td><td class=CDLDescription>An instance of the change object.</td></tr><tr><td class=CDLEntry>variable</td><td class=CDLDescription>The fieldname for the change data.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGenericChangeCodec.afterDecode"></a>afterDecode</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>codec.afterDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Restores the state by assigning the previous value.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGenericChangeCodec.afterDecode"></a>afterDecode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Restores the state by assigning the previous value.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Action to change a user object in a model.</div></div><div class=CToolTip id="tt2"><div class=CClass>Action to change a cell&rsquo;s style in a model.</div></div><div class=CToolTip id="tt3"><div class=CClass>Action to change a cell&rsquo;s geometry in a model.</div></div><div class=CToolTip id="tt4"><div class=CClass>Action to change a cell&rsquo;s collapsed state in a model.</div></div><div class=CToolTip id="tt5"><div class=CClass>Action to change a cell&rsquo;s visible state in a model.</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>var mxGenericChangeCodec = function(</td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>variable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Factory function that creates a mxObjectCodec for the specified change and fieldname.</div></div><div class=CToolTip id="tt7"><div class=CClass>Generic codec for JavaScript objects that implements a mapping between JavaScript objects and XML nodes that maps each field or element to an attribute or child node, and vice versa.</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>codec.afterDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Restores the state by assigning the previous value.</div></div><div class=CToolTip id="tt9"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt10"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Action to change a user object in a model.</div></div><div class=CToolTip id="tt2"><div class=CClass>Action to change a cell&rsquo;s style in a model.</div></div><div class=CToolTip id="tt3"><div class=CClass>Action to change a cell&rsquo;s geometry in a model.</div></div><div class=CToolTip id="tt4"><div class=CClass>Action to change a cell&rsquo;s collapsed state in a model.</div></div><div class=CToolTip id="tt5"><div class=CClass>Action to change a cell&rsquo;s visible state in a model.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>var mxGenericChangeCodec = function(</td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>variable</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Factory function that creates a mxObjectCodec for the specified change and fieldname.</div></div><div class=CToolTip id="tt7"><div class=CClass>Generic codec for JavaScript objects that implements a mapping between JavaScript objects and XML nodes that maps each field or element to an attribute or child node, and vice versa.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Restores the state by assigning the previous value.</div></div><div class=CToolTip id="tt9"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt10"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxGraphCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxGraphCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxGraphViewCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxGraphViewCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraphViewCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraphViewCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraphViewCodec.encode"></a>encode</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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>view</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes the given <a href="../view/mxGraphView-js.html#mxGraphView" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt1', 'link9')" onMouseOut="HideTip('tt1')">mxGraphView</a> using <a href="#mxGraphViewCodec.encodeCell" class=LFunction id=link10 onMouseOver="ShowTip(event, 'tt3', 'link10')" onMouseOut="HideTip('tt3')">encodeCell</a> starting at the model&rsquo;s root.&nbsp; This returns the top-level graph node of the recursive encoding.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraphViewCodec.encode"></a>encode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>view</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes the given <a href="../view/mxGraphView-js.html#mxGraphView" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt1', 'link9')" onMouseOut="HideTip('tt1')">mxGraphView</a> using <a href="#mxGraphViewCodec.encodeCell" class=LFunction id=link10 onMouseOver="ShowTip(event, 'tt3', 'link10')" onMouseOut="HideTip('tt3')">encodeCell</a> starting at the model&rsquo;s root.&nbsp; This returns the top-level graph node of the recursive encoding.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraphViewCodec.encodeCell"></a>encodeCell</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>codec.encodeCell = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>view,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Recursively encodes the specifed cell.&nbsp; Uses layer as the default nodename.&nbsp; If the cell&rsquo;s parent is null, then graph is used for the nodename.&nbsp; If <a href="../model/mxGraphModel-js.html#mxGraphModel.isEdge" class=LFunction id=link11 onMouseOver="ShowTip(event, 'tt6', 'link11')" onMouseOut="HideTip('tt6')">mxGraphModel.isEdge</a> returns true for the cell, then edge is used for the nodename, else if <a href="../model/mxGraphModel-js.html#mxGraphModel.isVertex" class=LFunction id=link12 onMouseOver="ShowTip(event, 'tt7', 'link12')" onMouseOut="HideTip('tt7')">mxGraphModel.isVertex</a> returns true for the cell, then vertex is used for the nodename.</p><p><a href="../view/mxGraph-js.html#mxGraph.getLabel" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt8', 'link13')" onMouseOut="HideTip('tt8')">mxGraph.getLabel</a> is used to create the label attribute for the cell.&nbsp; For graph nodes and vertices the bounds are encoded into x, y, width and height.&nbsp; For edges the points are encoded into a points attribute as a space-separated list of comma-separated coordinate pairs (eg. x0,y0 x1,y1 ... xn,yn).&nbsp; All values from the cell style are added as attribute values to the node.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraphViewCodec.encodeCell"></a>encodeCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encodeCell = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>view,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>cell</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Recursively encodes the specifed cell.&nbsp; Uses layer as the default nodename.&nbsp; If the cell&rsquo;s parent is null, then graph is used for the nodename.&nbsp; If <a href="../model/mxGraphModel-js.html#mxGraphModel.isEdge" class=LFunction id=link11 onMouseOver="ShowTip(event, 'tt6', 'link11')" onMouseOut="HideTip('tt6')">mxGraphModel.isEdge</a> returns true for the cell, then edge is used for the nodename, else if <a href="../model/mxGraphModel-js.html#mxGraphModel.isVertex" class=LFunction id=link12 onMouseOver="ShowTip(event, 'tt7', 'link12')" onMouseOut="HideTip('tt7')">mxGraphModel.isVertex</a> returns true for the cell, then vertex is used for the nodename.</p><p><a href="../view/mxGraph-js.html#mxGraph.getLabel" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt8', 'link13')" onMouseOut="HideTip('tt8')">mxGraph.getLabel</a> is used to create the label attribute for the cell.&nbsp; For graph nodes and vertices the bounds are encoded into x, y, width and height.&nbsp; For edges the points are encoded into a points attribute as a space-separated list of comma-separated coordinate pairs (eg. x0,y0 x1,y1 ... xn,yn).&nbsp; All values from the cell style are added as attribute values to the node.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Extends mxEventSource to implement a view for a graph. </div></div><div class=CToolTip id="tt2"><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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>view</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the given mxGraphView using encodeCell starting at the model&rsquo;s root. </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>codec.encodeCell = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>view,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Recursively encodes the specifed cell. </div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</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>mxGraphModel.prototype.isEdge = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is an edge.</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>mxGraphModel.prototype.isVertex = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is a vertex.</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>mxGraph.prototype.getLabel = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a string or DOM node that represents the label for the given cell. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Extends mxEventSource to implement a view for a graph. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>view</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the given mxGraphView using encodeCell starting at the model&rsquo;s root. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encodeCell = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>view,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>cell</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Recursively encodes the specifed cell. </div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphModel.prototype.isEdge = function(</td><td class="PParameter prettyprint " nowrap>cell</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is an edge.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphModel.prototype.isVertex = function(</td><td class="PParameter prettyprint " nowrap>cell</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is a vertex.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraph.prototype.getLabel = function(</td><td class="PParameter prettyprint " nowrap>cell</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a string or DOM node that represents the label for the given cell. </div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxModelCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxModelCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,11 +15,11 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxModelCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxModelCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxModelCodec.encodeObject"></a>encodeObject</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>codec.encodeObject = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes the given <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link10 onMouseOver="ShowTip(event, 'tt1', 'link10')" onMouseOut="HideTip('tt1')">mxGraphModel</a> by writing a (flat) XML sequence of cell nodes as produced by the <a href="mxCellCodec-js.html#mxCellCodec" class=LClass id=link11 onMouseOver="ShowTip(event, 'tt3', 'link11')" onMouseOut="HideTip('tt3')">mxCellCodec</a>.&nbsp; The sequence is wrapped-up in a node with the name root.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxModelCodec.encodeObject"></a>encodeObject</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encodeObject = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes the given <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link10 onMouseOver="ShowTip(event, 'tt1', 'link10')" onMouseOut="HideTip('tt1')">mxGraphModel</a> by writing a (flat) XML sequence of cell nodes as produced by the <a href="mxCellCodec-js.html#mxCellCodec" class=LClass id=link11 onMouseOver="ShowTip(event, 'tt3', 'link11')" onMouseOut="HideTip('tt3')">mxCellCodec</a>.&nbsp; The sequence is wrapped-up in a node with the name root.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxModelCodec.decodeChild"></a>decodeChild</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>codec.decodeChild = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>child,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Overrides decode child to handle special child nodes.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxModelCodec.decodeChild"></a>decodeChild</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decodeChild = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>child,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Overrides decode child to handle special child nodes.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxModelCodec.decodeRoot"></a>decodeRoot</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>codec.decodeRoot = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>root,</td></tr><tr><td></td><td class=PParameter nowrap>model</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Reads the cells into the graph model.&nbsp; All cells are children of the root element in the node.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxModelCodec.decodeRoot"></a>decodeRoot</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decodeRoot = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>root,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>model</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Reads the cells into the graph model.&nbsp; All cells are children of the root element in the node.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -35,7 +35,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Extends mxEventSource to implement a graph model. </div></div><div class=CToolTip id="tt2"><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>codec.encodeObject = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj,</td></tr><tr><td></td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec. </div></div><div class=CToolTip id="tt3"><div class=CClass>Codec for mxCells. </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>codec.decodeChild = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>child,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Overrides decode child to handle special child nodes.</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>codec.decodeRoot = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>root,</td></tr><tr><td></td><td class=PParameter nowrap>model</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Reads the cells into the graph model. </div></div><div class=CToolTip id="tt6"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt7"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Extends mxEventSource to implement a graph model. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encodeObject = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec. </div></div><div class=CToolTip id="tt3"><div class=CClass>Codec for mxCells. </div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decodeChild = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>child,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Overrides decode child to handle special child nodes.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decodeRoot = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>root,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>model</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Reads the cells into the graph model. </div></div><div class=CToolTip id="tt6"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt7"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxRootChangeCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxRootChangeCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -17,9 +17,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRootChangeCodec.onEncode"></a>onEncode</h3><div class=CBody><p>Encodes the child recursively.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRootChangeCodec.onEncode"></a>onEncode</h3><div class=CBody><p>Encodes the child recursively.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRootChangeCodec.beforeDecode"></a>beforeDecode</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>codec.beforeDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Decodes the optional children as cells using the respective decoder.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRootChangeCodec.beforeDecode"></a>beforeDecode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.beforeDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Decodes the optional children as cells using the respective decoder.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRootChangeCodec.afterDecode"></a>afterDecode</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>codec.afterDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Restores the state by assigning the previous value.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRootChangeCodec.afterDecode"></a>afterDecode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Restores the state by assigning the previous value.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -35,7 +35,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Action to change the root in a model.</div></div><div class=CToolTip id="tt2"><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>codec.beforeDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Decodes the optional children as cells using the respective decoder.</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>codec.afterDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Restores the state by assigning the previous value.</div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Action to change the root in a model.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.beforeDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Decodes the optional children as cells using the respective decoder.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Restores the state by assigning the previous value.</div></div><div class=CToolTip id="tt4"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt5"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxStylesheetCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxStylesheetCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,11 +15,11 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.encode"></a>encode</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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes a stylesheet.&nbsp; See <a href="#mxStylesheetCodec.decode" class=LFunction id=link9 onMouseOver="ShowTip(event, 'tt4', 'link9')" onMouseOut="HideTip('tt4')">decode</a> for a description of the format.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.encode"></a>encode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Encodes a stylesheet.&nbsp; See <a href="#mxStylesheetCodec.decode" class=LFunction id=link9 onMouseOver="ShowTip(event, 'tt4', 'link9')" onMouseOut="HideTip('tt4')">decode</a> for a description of the format.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.getStringValue"></a>getStringValue</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>codec.getStringValue = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the string for encoding the given value.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.getStringValue"></a>getStringValue</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.getStringValue = function(</td><td class="PParameter prettyprint " nowrap>key,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>value</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the string for encoding the given value.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.decode"></a>decode</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>codec.decode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>into</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Reads a sequence of the following child nodes and attributes:</p><h4 class=CHeading>Child Nodes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>add</td><td class=CDLDescription>Adds a new style.</td></tr></table><h4 class=CHeading>Attributes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>as</td><td class=CDLDescription>Name of the style.</td></tr><tr><td class=CDLEntry>extend</td><td class=CDLDescription>Name of the style to inherit from.</td></tr></table><p>Each node contains another sequence of add and remove nodes with the following attributes:</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>as</td><td class=CDLDescription>Name of the style (see <a href="../util/mxConstants-js.html#mxConstants" class=LClass id=link10 onMouseOver="ShowTip(event, 'tt8', 'link10')" onMouseOut="HideTip('tt8')">mxConstants</a>).</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>Value for the style.</td></tr></table><p>Instead of the value-attribute, one can put Javascript expressions into the node as follows if <a href="#mxStylesheetCodec.allowEval" class=LVariable id=link11 onMouseOver="ShowTip(event, 'tt5', 'link11')" onMouseOut="HideTip('tt5')">mxStylesheetCodec.allowEval</a> is true: &lt;add as=&rdquo;perimeter&rdquo;&gt;mxPerimeter.RectanglePerimeter&lt;/add&gt;</p><p>A remove node will remove the entry with the name given in the as-attribute from the style.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">&lt;mxStylesheet as=&quot;stylesheet&quot;&gt; <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.decode"></a>decode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>into</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Reads a sequence of the following child nodes and attributes:</p><h4 class=CHeading>Child Nodes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>add</td><td class=CDLDescription>Adds a new style.</td></tr></table><h4 class=CHeading>Attributes</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>as</td><td class=CDLDescription>Name of the style.</td></tr><tr><td class=CDLEntry>extend</td><td class=CDLDescription>Name of the style to inherit from.</td></tr></table><p>Each node contains another sequence of add and remove nodes with the following attributes:</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>as</td><td class=CDLDescription>Name of the style (see <a href="../util/mxConstants-js.html#mxConstants" class=LClass id=link10 onMouseOver="ShowTip(event, 'tt8', 'link10')" onMouseOut="HideTip('tt8')">mxConstants</a>).</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>Value for the style.</td></tr></table><p>Instead of the value-attribute, one can put Javascript expressions into the node as follows if <a href="#mxStylesheetCodec.allowEval" class=LVariable id=link11 onMouseOver="ShowTip(event, 'tt5', 'link11')" onMouseOut="HideTip('tt5')">mxStylesheetCodec.allowEval</a> is true: &lt;add as=&rdquo;perimeter&rdquo;&gt;mxPerimeter.RectanglePerimeter&lt;/add&gt;</p><p>A remove node will remove the entry with the name given in the as-attribute from the style.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">&lt;mxStylesheet as=&quot;stylesheet&quot;&gt;
&lt;add as=&quot;text&quot;&gt; &lt;add as=&quot;text&quot;&gt;
&lt;add as=&quot;fontSize&quot; value=&quot;12&quot;/&gt; &lt;add as=&quot;fontSize&quot; value=&quot;12&quot;/&gt;
&lt;/add&gt; &lt;/add&gt;
@ -30,7 +30,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.allowEval"></a>allowEval</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxStylesheetCodec.allowEval</td></tr></table></blockquote><p>Static global switch that specifies if the use of eval is allowed for evaluating text content.&nbsp; Default is true.&nbsp; Set this to false if stylesheets may contain user input.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxStylesheetCodec.allowEval"></a>allowEval</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxStylesheetCodec.allowEval</td></tr></table></blockquote><p>Static global switch that specifies if the use of eval is allowed for evaluating text content.&nbsp; Default is true.&nbsp; Set this to false if stylesheets may contain user input.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -46,7 +46,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Defines the appearance of the cells in a graph. </div></div><div class=CToolTip id="tt2"><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>codec.encode = function(</td><td class=PParameter nowrap>enc,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes a stylesheet. </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>codec.getStringValue = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the string for encoding the given value.</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>codec.decode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>into</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Reads a sequence of the following child nodes and attributes:</div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxStylesheetCodec.allowEval</td></tr></table></blockquote>Static global switch that specifies if the use of eval is allowed for evaluating text content. </div></div><div class=CToolTip id="tt6"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt7"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt8"><div class=CClass>Defines various global constants.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Defines the appearance of the cells in a graph. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.encode = function(</td><td class="PParameter prettyprint " nowrap>enc,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Encodes a stylesheet. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.getStringValue = function(</td><td class="PParameter prettyprint " nowrap>key,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>value</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the string for encoding the given value.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.decode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>into</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Reads a sequence of the following child nodes and attributes:</div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxStylesheetCodec.allowEval</td></tr></table></blockquote>Static global switch that specifies if the use of eval is allowed for evaluating text content. </div></div><div class=CToolTip id="tt6"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt7"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><div class=CToolTip id="tt8"><div class=CClass>Defines various global constants.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxTerminalChangeCodec</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxTerminalChangeCodec</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,7 +15,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxTerminalChangeCodec.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxTerminalChangeCodec.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxTerminalChangeCodec.afterDecode"></a>afterDecode</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>codec.afterDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Restores the state by assigning the previous value.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxTerminalChangeCodec.afterDecode"></a>afterDecode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Restores the state by assigning the previous value.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -31,7 +31,7 @@ HideAllBut([3], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Action to change a terminal in a model.</div></div><div class=CToolTip id="tt2"><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>codec.afterDecode = function(</td><td class=PParameter nowrap>dec,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>obj</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Restores the state by assigning the previous value.</div></div><div class=CToolTip id="tt3"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt4"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Action to change a terminal in a model.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>codec.afterDecode = function(</td><td class="PParameter prettyprint " nowrap>dec,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>obj</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Restores the state by assigning the previous value.</div></div><div class=CToolTip id="tt3"><div class=CClass>XML codec for JavaScript object graphs. </div></div><div class=CToolTip id="tt4"><div class=CClass>Singleton class that acts as a global registry for codecs.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxHierarchicalLayoutStage</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxHierarchicalLayoutStage</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxHierarchicalLayoutStage.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxHierarchicalLayoutStage.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHierarchicalLayoutStage.mxHierarchicalLayoutStage"></a>mxHierarchicalLayoutStage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function mxHierarchicalLayoutStage()</td></tr></table></blockquote><p>Constructs a new hierarchical layout stage.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHierarchicalLayoutStage.mxHierarchicalLayoutStage"></a>mxHierarchicalLayoutStage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function mxHierarchicalLayoutStage()</td></tr></table></blockquote><p>Constructs a new hierarchical layout stage.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHierarchicalLayoutStage.execute"></a>execute</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>mxHierarchicalLayoutStage.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHierarchicalLayoutStage.execute"></a>execute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxHierarchicalLayoutStage.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([5, 6, 7], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function mxHierarchicalLayoutStage()</td></tr></table></blockquote>Constructs a new hierarchical layout stage.</div></div><div class=CToolTip id="tt2"><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>mxHierarchicalLayoutStage.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function mxHierarchicalLayoutStage()</td></tr></table></blockquote>Constructs a new hierarchical layout stage.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxHierarchicalLayoutStage.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxMinimumCycleRemover</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxMinimumCycleRemover</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,15 +15,15 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.mxMinimumCycleRemover"></a>mxMinimumCycleRemover</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 mxMinimumCycleRemover(</td><td class=PParameter nowrap>layout</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates a cycle remover for the given internal model.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.mxMinimumCycleRemover"></a>mxMinimumCycleRemover</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxMinimumCycleRemover(</td><td class="PParameter prettyprint " nowrap>layout</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates a cycle remover for the given internal model.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.layout"></a>layout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxMinimumCycleRemover.prototype.layout</td></tr></table></blockquote><p>Reference to the enclosing <a href="../mxHierarchicalLayout-js.html#mxHierarchicalLayout" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt3', 'link5')" onMouseOut="HideTip('tt3')">mxHierarchicalLayout</a>.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.layout"></a>layout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxMinimumCycleRemover.prototype.layout</td></tr></table></blockquote><p>Reference to the enclosing <a href="../mxHierarchicalLayout-js.html#mxHierarchicalLayout" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt3', 'link5')" onMouseOut="HideTip('tt3')">mxHierarchicalLayout</a>.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.execute"></a>execute</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>mxMinimumCycleRemover.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxMinimumCycleRemover.execute"></a>execute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxMinimumCycleRemover.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -39,7 +39,7 @@ HideAllBut([5, 6, 7], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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 mxMinimumCycleRemover(</td><td class=PParameter nowrap>layout</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a cycle remover for the given internal model.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxMinimumCycleRemover.prototype.layout</td></tr></table></blockquote>Reference to the enclosing mxHierarchicalLayout.</div></div><div class=CToolTip id="tt3"><div class=CClass>A hierarchical layout algorithm.</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>mxMinimumCycleRemover.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxMinimumCycleRemover(</td><td class="PParameter prettyprint " nowrap>layout</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a cycle remover for the given internal model.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxMinimumCycleRemover.prototype.layout</td></tr></table></blockquote>Reference to the enclosing mxHierarchicalLayout.</div></div><div class=CToolTip id="tt3"><div class=CClass>A hierarchical layout algorithm.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxMinimumCycleRemover.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxSwimlaneOrdering</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxSwimlaneOrdering</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,15 +15,15 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.mxSwimlaneOrdering"></a>mxSwimlaneOrdering</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 mxSwimlaneOrdering(</td><td class=PParameter nowrap>layout</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates a cycle remover for the given internal model.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.mxSwimlaneOrdering"></a>mxSwimlaneOrdering</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxSwimlaneOrdering(</td><td class="PParameter prettyprint " nowrap>layout</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates a cycle remover for the given internal model.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.layout"></a>layout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxSwimlaneOrdering.prototype.layout</td></tr></table></blockquote><p>Reference to the enclosing <a href="../mxHierarchicalLayout-js.html#mxHierarchicalLayout" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt3', 'link5')" onMouseOut="HideTip('tt3')">mxHierarchicalLayout</a>.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.layout"></a>layout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxSwimlaneOrdering.prototype.layout</td></tr></table></blockquote><p>Reference to the enclosing <a href="../mxHierarchicalLayout-js.html#mxHierarchicalLayout" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt3', 'link5')" onMouseOut="HideTip('tt3')">mxHierarchicalLayout</a>.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.execute"></a>execute</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>mxSwimlaneOrdering.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxSwimlaneOrdering.execute"></a>execute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxSwimlaneOrdering.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -39,7 +39,7 @@ HideAllBut([5, 6, 7], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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 mxSwimlaneOrdering(</td><td class=PParameter nowrap>layout</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a cycle remover for the given internal model.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxSwimlaneOrdering.prototype.layout</td></tr></table></blockquote>Reference to the enclosing mxHierarchicalLayout.</div></div><div class=CToolTip id="tt3"><div class=CClass>A hierarchical layout algorithm.</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>mxSwimlaneOrdering.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxSwimlaneOrdering(</td><td class="PParameter prettyprint " nowrap>layout</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a cycle remover for the given internal model.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxSwimlaneOrdering.prototype.layout</td></tr></table></blockquote>Reference to the enclosing mxHierarchicalLayout.</div></div><div class=CToolTip id="tt3"><div class=CClass>A hierarchical layout algorithm.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxSwimlaneOrdering.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Takes the graph detail and configuration information within the facade and creates the resulting laid out graph within that facade for further use.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxCircleLayout</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxCircleLayout</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -16,29 +16,29 @@ layout.execute(graph.getDefaultParent());</pre></blockquote><!--START_ND_SUMMARY
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.mxCircleLayout"></a>mxCircleLayout</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 mxCircleLayout(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>radius</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new circular layout for the specified radius.</p><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription><a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link16 onMouseOver="ShowTip(event, 'tt13', 'link16')" onMouseOut="HideTip('tt13')">mxGraph</a> that contains the cells.</td></tr><tr><td class=CDLEntry>radius</td><td class=CDLDescription>Optional radius as an int.&nbsp; Default is 100.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.mxCircleLayout"></a>mxCircleLayout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCircleLayout(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>radius</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new circular layout for the specified radius.</p><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription><a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link16 onMouseOver="ShowTip(event, 'tt13', 'link16')" onMouseOut="HideTip('tt13')">mxGraph</a> that contains the cells.</td></tr><tr><td class=CDLEntry>radius</td><td class=CDLDescription>Optional radius as an int.&nbsp; Default is 100.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.radius"></a>radius</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.radius</td></tr></table></blockquote><p>Integer specifying the size of the radius.&nbsp; Default is 100.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.radius"></a>radius</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.radius</td></tr></table></blockquote><p>Integer specifying the size of the radius.&nbsp; Default is 100.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.moveCircle"></a>moveCircle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.moveCircle</td></tr></table></blockquote><p>Boolean specifying if the circle should be moved to the top, left corner specified by <a href="#mxCircleLayout.x0" class=LVariable id=link17 onMouseOver="ShowTip(event, 'tt5', 'link17')" onMouseOut="HideTip('tt5')">x0</a> and <a href="#mxCircleLayout.y0" class=LVariable id=link18 onMouseOver="ShowTip(event, 'tt6', 'link18')" onMouseOut="HideTip('tt6')">y0</a>.&nbsp; Default is false.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.moveCircle"></a>moveCircle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.moveCircle</td></tr></table></blockquote><p>Boolean specifying if the circle should be moved to the top, left corner specified by <a href="#mxCircleLayout.x0" class=LVariable id=link17 onMouseOver="ShowTip(event, 'tt5', 'link17')" onMouseOut="HideTip('tt5')">x0</a> and <a href="#mxCircleLayout.y0" class=LVariable id=link18 onMouseOver="ShowTip(event, 'tt6', 'link18')" onMouseOut="HideTip('tt6')">y0</a>.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.x0"></a>x0</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.x0</td></tr></table></blockquote><p>Integer specifying the left coordinate of the circle.&nbsp; Default is 0.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.x0"></a>x0</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.x0</td></tr></table></blockquote><p>Integer specifying the left coordinate of the circle.&nbsp; Default is 0.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.y0"></a>y0</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.y0</td></tr></table></blockquote><p>Integer specifying the top coordinate of the circle.&nbsp; Default is 0.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.y0"></a>y0</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.y0</td></tr></table></blockquote><p>Integer specifying the top coordinate of the circle.&nbsp; Default is 0.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.resetEdges"></a>resetEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.resetEdges</td></tr></table></blockquote><p>Specifies if all edge points of traversed edges should be removed.&nbsp; Default is true.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.resetEdges"></a>resetEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.resetEdges</td></tr></table></blockquote><p>Specifies if all edge points of traversed edges should be removed.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.disableEdgeStyle"></a>disableEdgeStyle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.disableEdgeStyle</td></tr></table></blockquote><p>Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.&nbsp; Default is true.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.disableEdgeStyle"></a>disableEdgeStyle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.disableEdgeStyle</td></tr></table></blockquote><p>Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.&nbsp; Default is true.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.execute"></a>execute</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>mxCircleLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link19 onMouseOver="ShowTip(event, 'tt10', 'link19')" onMouseOut="HideTip('tt10')">mxGraphLayout.execute</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.execute"></a>execute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCircleLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link19 onMouseOver="ShowTip(event, 'tt10', 'link19')" onMouseOut="HideTip('tt10')">mxGraphLayout.execute</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.getRadius"></a>getRadius</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>mxCircleLayout.prototype.getRadius = function(</td><td class=PParameter nowrap>count,</td></tr><tr><td></td><td class=PParameter nowrap>max</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the radius to be used for the given vertex count.&nbsp; Max is the maximum width or height of all vertices in the layout.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.getRadius"></a>getRadius</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCircleLayout.prototype.getRadius = function(</td><td class="PParameter prettyprint " nowrap>count,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>max</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the radius to be used for the given vertex count.&nbsp; Max is the maximum width or height of all vertices in the layout.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.circle"></a>circle</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>mxCircleLayout.prototype.circle = function(</td><td class=PParameter nowrap>vertices,</td></tr><tr><td></td><td class=PParameter nowrap>r,</td></tr><tr><td></td><td class=PParameter nowrap>left,</td></tr><tr><td></td><td class=PParameter nowrap>top</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Executes the circular layout for the specified array of vertices and the given radius.&nbsp; This is called from <a href="#mxCircleLayout.execute" class=LFunction id=link20 onMouseOver="ShowTip(event, 'tt9', 'link20')" onMouseOut="HideTip('tt9')">execute</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCircleLayout.circle"></a>circle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCircleLayout.prototype.circle = function(</td><td class="PParameter prettyprint " nowrap>vertices,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>r,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>left,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>top</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Executes the circular layout for the specified array of vertices and the given radius.&nbsp; This is called from <a href="#mxCircleLayout.execute" class=LFunction id=link20 onMouseOver="ShowTip(event, 'tt9', 'link20')" onMouseOut="HideTip('tt9')">execute</a>.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -54,7 +54,7 @@ HideAllBut([7], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all layout algorithms in mxGraph. </div></div><div class=CToolTip id="tt2"><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 mxCircleLayout(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>radius</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new circular layout for the specified radius.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.radius</td></tr></table></blockquote>Integer specifying the size of the radius. </div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.moveCircle</td></tr></table></blockquote>Boolean specifying if the circle should be moved to the top, left corner specified by x0 and y0. </div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.x0</td></tr></table></blockquote>Integer specifying the left coordinate of the circle. </div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.y0</td></tr></table></blockquote>Integer specifying the top coordinate of the circle. </div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.resetEdges</td></tr></table></blockquote>Specifies if all edge points of traversed edges should be removed. </div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCircleLayout.prototype.disableEdgeStyle</td></tr></table></blockquote>Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result. </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>mxCircleLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute.</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>mxGraphLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</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>mxCircleLayout.prototype.getRadius = function(</td><td class=PParameter nowrap>count,</td></tr><tr><td></td><td class=PParameter nowrap>max</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the radius to be used for the given vertex count. </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>mxCircleLayout.prototype.circle = function(</td><td class=PParameter nowrap>vertices,</td></tr><tr><td></td><td class=PParameter nowrap>r,</td></tr><tr><td></td><td class=PParameter nowrap>left,</td></tr><tr><td></td><td class=PParameter nowrap>top</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the circular layout for the specified array of vertices and the given radius. </div></div><div class=CToolTip id="tt13"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all layout algorithms in mxGraph. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCircleLayout(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>radius</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new circular layout for the specified radius.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.radius</td></tr></table></blockquote>Integer specifying the size of the radius. </div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.moveCircle</td></tr></table></blockquote>Boolean specifying if the circle should be moved to the top, left corner specified by x0 and y0. </div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.x0</td></tr></table></blockquote>Integer specifying the left coordinate of the circle. </div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.y0</td></tr></table></blockquote>Integer specifying the top coordinate of the circle. </div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.resetEdges</td></tr></table></blockquote>Specifies if all edge points of traversed edges should be removed. </div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCircleLayout.prototype.disableEdgeStyle</td></tr></table></blockquote>Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result. </div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCircleLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute.</div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCircleLayout.prototype.getRadius = function(</td><td class="PParameter prettyprint " nowrap>count,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>max</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the radius to be used for the given vertex count. </div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCircleLayout.prototype.circle = function(</td><td class="PParameter prettyprint " nowrap>vertices,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>r,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>left,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>top</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the circular layout for the specified array of vertices and the given radius. </div></div><div class=CToolTip id="tt13"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxCompositeLayout</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxCompositeLayout</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -18,19 +18,19 @@ layout.execute(graph.getDefaultParent());</pre></blockquote><!--START_ND_SUMMARY
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.mxCompositeLayout"></a>mxCompositeLayout</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 mxCompositeLayout(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>layouts,</td></tr><tr><td></td><td class=PParameter nowrap>master</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new layout using the given layouts.&nbsp; The graph instance is required for creating the transaction that contains all layouts.</p><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription>Reference to the enclosing <a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link13 onMouseOver="ShowTip(event, 'tt8', 'link13')" onMouseOut="HideTip('tt8')">mxGraph</a>.</td></tr><tr><td class=CDLEntry>layouts</td><td class=CDLDescription>Array of <a href="mxGraphLayout-js.html#mxGraphLayout" class=LClass id=link14 onMouseOver="ShowTip(event, 'tt3', 'link14')" onMouseOut="HideTip('tt3')">mxGraphLayouts</a>.</td></tr><tr><td class=CDLEntry>master</td><td class=CDLDescription>Optional layout that handles moves.&nbsp; If no layout is given then the first layout of the above array is used to handle moves.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.mxCompositeLayout"></a>mxCompositeLayout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCompositeLayout(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>layouts,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>master</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new layout using the given layouts.&nbsp; The graph instance is required for creating the transaction that contains all layouts.</p><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription>Reference to the enclosing <a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link13 onMouseOver="ShowTip(event, 'tt8', 'link13')" onMouseOut="HideTip('tt8')">mxGraph</a>.</td></tr><tr><td class=CDLEntry>layouts</td><td class=CDLDescription>Array of <a href="mxGraphLayout-js.html#mxGraphLayout" class=LClass id=link14 onMouseOver="ShowTip(event, 'tt3', 'link14')" onMouseOut="HideTip('tt3')">mxGraphLayouts</a>.</td></tr><tr><td class=CDLEntry>master</td><td class=CDLDescription>Optional layout that handles moves.&nbsp; If no layout is given then the first layout of the above array is used to handle moves.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.layouts"></a>layouts</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCompositeLayout.prototype.layouts</td></tr></table></blockquote><p>Holds the array of <a href="mxGraphLayout-js.html#mxGraphLayout" class=LClass id=link15 onMouseOver="ShowTip(event, 'tt3', 'link15')" onMouseOut="HideTip('tt3')">mxGraphLayouts</a> that this layout contains.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.layouts"></a>layouts</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCompositeLayout.prototype.layouts</td></tr></table></blockquote><p>Holds the array of <a href="mxGraphLayout-js.html#mxGraphLayout" class=LClass id=link15 onMouseOver="ShowTip(event, 'tt3', 'link15')" onMouseOut="HideTip('tt3')">mxGraphLayouts</a> that this layout contains.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.layouts"></a>layouts</h3><div class=CBody><p>Reference to the <a href="mxGraphLayout-js.html#mxGraphLayout" class=LClass id=link16 onMouseOver="ShowTip(event, 'tt3', 'link16')" onMouseOut="HideTip('tt3')">mxGraphLayouts</a> that handles moves.&nbsp; If this is null then the first layout in <a href="#mxCompositeLayout.layouts" class=LVariable id=link17 onMouseOver="ShowTip(event, 'tt2', 'link17')" onMouseOut="HideTip('tt2')">layouts</a> is used.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.layouts"></a>layouts</h3><div class=CBody><p>Reference to the <a href="mxGraphLayout-js.html#mxGraphLayout" class=LClass id=link16 onMouseOver="ShowTip(event, 'tt3', 'link16')" onMouseOut="HideTip('tt3')">mxGraphLayouts</a> that handles moves.&nbsp; If this is null then the first layout in <a href="#mxCompositeLayout.layouts" class=LVariable id=link17 onMouseOver="ShowTip(event, 'tt2', 'link17')" onMouseOut="HideTip('tt2')">layouts</a> is used.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.moveCell"></a>moveCell</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>mxCompositeLayout.prototype.moveCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.moveCell" class=LFunction id=link18 onMouseOver="ShowTip(event, 'tt5', 'link18')" onMouseOut="HideTip('tt5')">mxGraphLayout.moveCell</a> by calling move on &lt;master&gt; or the first layout in <a href="#mxCompositeLayout.layouts" class=LVariable id=link19 onMouseOver="ShowTip(event, 'tt2', 'link19')" onMouseOut="HideTip('tt2')">layouts</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.moveCell"></a>moveCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCompositeLayout.prototype.moveCell = function(</td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.moveCell" class=LFunction id=link18 onMouseOver="ShowTip(event, 'tt5', 'link18')" onMouseOut="HideTip('tt5')">mxGraphLayout.moveCell</a> by calling move on &lt;master&gt; or the first layout in <a href="#mxCompositeLayout.layouts" class=LVariable id=link19 onMouseOver="ShowTip(event, 'tt2', 'link19')" onMouseOut="HideTip('tt2')">layouts</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.execute"></a>execute</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>mxCompositeLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link20 onMouseOver="ShowTip(event, 'tt7', 'link20')" onMouseOut="HideTip('tt7')">mxGraphLayout.execute</a> by executing all <a href="#mxCompositeLayout.layouts" class=LVariable id=link21 onMouseOver="ShowTip(event, 'tt2', 'link21')" onMouseOut="HideTip('tt2')">layouts</a> in a single transaction.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCompositeLayout.execute"></a>execute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCompositeLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link20 onMouseOver="ShowTip(event, 'tt7', 'link20')" onMouseOut="HideTip('tt7')">mxGraphLayout.execute</a> by executing all <a href="#mxCompositeLayout.layouts" class=LVariable id=link21 onMouseOver="ShowTip(event, 'tt2', 'link21')" onMouseOut="HideTip('tt2')">layouts</a> in a single transaction.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -46,7 +46,7 @@ HideAllBut([7], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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 mxCompositeLayout(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>layouts,</td></tr><tr><td></td><td class=PParameter nowrap>master</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new layout using the given layouts. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCompositeLayout.prototype.layouts</td></tr></table></blockquote>Holds the array of mxGraphLayouts that this layout contains.</div></div><div class=CToolTip id="tt3"><div class=CClass>Base class for all layout algorithms in mxGraph. </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>mxCompositeLayout.prototype.moveCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.</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>mxGraphLayout.prototype.moveCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. </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>mxCompositeLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute by executing all layouts in a single transaction.</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>mxGraphLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</div></div><div class=CToolTip id="tt8"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCompositeLayout(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>layouts,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>master</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new layout using the given layouts. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCompositeLayout.prototype.layouts</td></tr></table></blockquote>Holds the array of mxGraphLayouts that this layout contains.</div></div><div class=CToolTip id="tt3"><div class=CClass>Base class for all layout algorithms in mxGraph. </div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCompositeLayout.prototype.moveCell = function(</td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.moveCell by calling move on master or the first layout in layouts.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphLayout.prototype.moveCell = function(</td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. </div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCompositeLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute by executing all layouts in a single transaction.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</div></div><div class=CToolTip id="tt8"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxEdgeLabelLayout</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxEdgeLabelLayout</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -16,13 +16,13 @@ layout.execute(graph.getDefaultParent());</pre></blockquote><!--START_ND_SUMMARY
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.mxEdgeLabelLayout"></a>mxEdgeLabelLayout</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 mxEdgeLabelLayout(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>radius</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new edge label layout.</p><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription><a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxGraph</a> that contains the cells.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.mxEdgeLabelLayout"></a>mxEdgeLabelLayout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxEdgeLabelLayout(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>radius</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new edge label layout.</p><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription><a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxGraph</a> that contains the cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.execute"></a>execute</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>mxEdgeLabelLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link9 onMouseOver="ShowTip(event, 'tt4', 'link9')" onMouseOut="HideTip('tt4')">mxGraphLayout.execute</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.execute"></a>execute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeLabelLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link9 onMouseOver="ShowTip(event, 'tt4', 'link9')" onMouseOut="HideTip('tt4')">mxGraphLayout.execute</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.placeLabels"></a>placeLabels</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>mxEdgeLabelLayout.prototype.placeLabels = function(</td><td class=PParameter nowrap>v,</td></tr><tr><td></td><td class=PParameter nowrap>e</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Places the labels of the given edges.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.placeLabels"></a>placeLabels</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeLabelLayout.prototype.placeLabels = function(</td><td class="PParameter prettyprint " nowrap>v,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>e</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Places the labels of the given edges.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.avoid"></a>avoid</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>mxEdgeLabelLayout.prototype.avoid = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>vertex</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Places the labels of the given edges.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEdgeLabelLayout.avoid"></a>avoid</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeLabelLayout.prototype.avoid = function(</td><td class="PParameter prettyprint " nowrap>edge,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>vertex</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Places the labels of the given edges.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -38,7 +38,7 @@ HideAllBut([7], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all layout algorithms in mxGraph. </div></div><div class=CToolTip id="tt2"><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 mxEdgeLabelLayout(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>radius</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new edge label layout.</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>mxEdgeLabelLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute.</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>mxGraphLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</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>mxEdgeLabelLayout.prototype.placeLabels = function(</td><td class=PParameter nowrap>v,</td></tr><tr><td></td><td class=PParameter nowrap>e</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Places the labels of the given edges.</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>mxEdgeLabelLayout.prototype.avoid = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>vertex</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Places the labels of the given edges.</div></div><div class=CToolTip id="tt7"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all layout algorithms in mxGraph. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxEdgeLabelLayout(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>radius</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new edge label layout.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeLabelLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeLabelLayout.prototype.placeLabels = function(</td><td class="PParameter prettyprint " nowrap>v,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>e</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Places the labels of the given edges.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEdgeLabelLayout.prototype.avoid = function(</td><td class="PParameter prettyprint " nowrap>edge,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>vertex</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Places the labels of the given edges.</div></div><div class=CToolTip id="tt7"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxParallelEdgeLayout</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxParallelEdgeLayout</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -38,19 +38,19 @@ graph.addListener(mxEvent.CELL_CONNECTED, function(sender, evt)
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.spacing"></a>spacing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxParallelEdgeLayout.prototype.spacing</td></tr></table></blockquote><p>Defines the spacing between the parallels.&nbsp; Default is 20.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.spacing"></a>spacing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxParallelEdgeLayout.prototype.spacing</td></tr></table></blockquote><p>Defines the spacing between the parallels.&nbsp; Default is 20.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.execute"></a>execute</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>mxParallelEdgeLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link10 onMouseOver="ShowTip(event, 'tt4', 'link10')" onMouseOut="HideTip('tt4')">mxGraphLayout.execute</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.execute"></a>execute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link10 onMouseOver="ShowTip(event, 'tt4', 'link10')" onMouseOut="HideTip('tt4')">mxGraphLayout.execute</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.findParallels"></a>findParallels</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>mxParallelEdgeLayout.prototype.findParallels = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Finds the parallel edges in the given parent.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.findParallels"></a>findParallels</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.findParallels = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Finds the parallel edges in the given parent.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.getEdgeId"></a>getEdgeId</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>mxParallelEdgeLayout.prototype.getEdgeId = function(</td><td class=PParameter nowrap>edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns a unique ID for the given edge.&nbsp; The id is independent of the edge direction and is built using the visible terminal of the given edge.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.getEdgeId"></a>getEdgeId</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.getEdgeId = function(</td><td class="PParameter prettyprint " nowrap>edge</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns a unique ID for the given edge.&nbsp; The id is independent of the edge direction and is built using the visible terminal of the given edge.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.layout"></a>layout</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>mxParallelEdgeLayout.prototype.layout = function(</td><td class=PParameter nowrap>parallels</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Lays out the parallel edges in the given array.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.layout"></a>layout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.layout = function(</td><td class="PParameter prettyprint " nowrap>parallels</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Lays out the parallel edges in the given array.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.route"></a>route</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>mxParallelEdgeLayout.prototype.route = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Routes the given edge via the given point.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxParallelEdgeLayout.route"></a>route</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.route = function(</td><td class="PParameter prettyprint " nowrap>edge,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Routes the given edge via the given point.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -66,7 +66,7 @@ HideAllBut([7], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all layout algorithms in mxGraph. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxParallelEdgeLayout.prototype.spacing</td></tr></table></blockquote>Defines the spacing between the parallels. </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>mxParallelEdgeLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute.</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>mxGraphLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</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>mxParallelEdgeLayout.prototype.findParallels = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Finds the parallel edges in the given parent.</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>mxParallelEdgeLayout.prototype.getEdgeId = function(</td><td class=PParameter nowrap>edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a unique ID for the given edge. </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>mxParallelEdgeLayout.prototype.layout = function(</td><td class=PParameter nowrap>parallels</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Lays out the parallel edges in the given array.</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>mxParallelEdgeLayout.prototype.route = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Routes the given edge via the given point.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all layout algorithms in mxGraph. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxParallelEdgeLayout.prototype.spacing</td></tr></table></blockquote>Defines the spacing between the parallels. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.findParallels = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Finds the parallel edges in the given parent.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.getEdgeId = function(</td><td class="PParameter prettyprint " nowrap>edge</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a unique ID for the given edge. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.layout = function(</td><td class="PParameter prettyprint " nowrap>parallels</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Lays out the parallel edges in the given array.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxParallelEdgeLayout.prototype.route = function(</td><td class="PParameter prettyprint " nowrap>edge,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Routes the given edge via the given point.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxPartitionLayout</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxPartitionLayout</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -16,25 +16,25 @@ layout.execute(graph.getDefaultParent());</pre></blockquote><!--START_ND_SUMMARY
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.mxPartitionLayout"></a>mxPartitionLayout</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 mxPartitionLayout(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>horizontal,</td></tr><tr><td></td><td class=PParameter nowrap>spacing,</td></tr><tr><td></td><td class=PParameter nowrap>border</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.mxPartitionLayout"></a>mxPartitionLayout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxPartitionLayout(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>horizontal,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>spacing,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>border</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.horizontal"></a>horizontal</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.horizontal</td></tr></table></blockquote><p>Boolean indicating the direction in which the space is partitioned.&nbsp; Default is true.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.horizontal"></a>horizontal</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.horizontal</td></tr></table></blockquote><p>Boolean indicating the direction in which the space is partitioned.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.spacing"></a>spacing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.spacing</td></tr></table></blockquote><p>Integer that specifies the absolute spacing in pixels between the children.&nbsp; Default is 0.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.spacing"></a>spacing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.spacing</td></tr></table></blockquote><p>Integer that specifies the absolute spacing in pixels between the children.&nbsp; Default is 0.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.border"></a>border</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.border</td></tr></table></blockquote><p>Integer that specifies the absolute inset in pixels for the parent that contains the children.&nbsp; Default is 0.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.border"></a>border</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.border</td></tr></table></blockquote><p>Integer that specifies the absolute inset in pixels for the parent that contains the children.&nbsp; Default is 0.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.resizeVertices"></a>resizeVertices</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.resizeVertices</td></tr></table></blockquote><p>Boolean that specifies if vertices should be resized.&nbsp; Default is true.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.resizeVertices"></a>resizeVertices</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.resizeVertices</td></tr></table></blockquote><p>Boolean that specifies if vertices should be resized.&nbsp; Default is true.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.isHorizontal"></a>isHorizontal</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.isHorizontal = function()</td></tr></table></blockquote><p>Returns <a href="#mxPartitionLayout.horizontal" class=LVariable id=link14 onMouseOver="ShowTip(event, 'tt3', 'link14')" onMouseOut="HideTip('tt3')">horizontal</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.isHorizontal"></a>isHorizontal</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.isHorizontal = function()</td></tr></table></blockquote><p>Returns <a href="#mxPartitionLayout.horizontal" class=LVariable id=link14 onMouseOver="ShowTip(event, 'tt3', 'link14')" onMouseOut="HideTip('tt3')">horizontal</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.moveCell"></a>moveCell</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>mxPartitionLayout.prototype.moveCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.moveCell" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt9', 'link15')" onMouseOut="HideTip('tt9')">mxGraphLayout.moveCell</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.moveCell"></a>moveCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxPartitionLayout.prototype.moveCell = function(</td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.moveCell" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt9', 'link15')" onMouseOut="HideTip('tt9')">mxGraphLayout.moveCell</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.execute"></a>execute</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>mxPartitionLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt11', 'link16')" onMouseOut="HideTip('tt11')">mxGraphLayout.execute</a>.&nbsp; All children where &lt;isVertexIgnored&gt; returns false and &lt;isVertexMovable&gt; returns true are modified.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPartitionLayout.execute"></a>execute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxPartitionLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Implements <a href="mxGraphLayout-js.html#mxGraphLayout.execute" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt11', 'link16')" onMouseOut="HideTip('tt11')">mxGraphLayout.execute</a>.&nbsp; All children where &lt;isVertexIgnored&gt; returns false and &lt;isVertexMovable&gt; returns true are modified.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -50,7 +50,7 @@ HideAllBut([7], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all layout algorithms in mxGraph. </div></div><div class=CToolTip id="tt2"><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 mxPartitionLayout(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>horizontal,</td></tr><tr><td></td><td class=PParameter nowrap>spacing,</td></tr><tr><td></td><td class=PParameter nowrap>border</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.horizontal</td></tr></table></blockquote>Boolean indicating the direction in which the space is partitioned. </div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.spacing</td></tr></table></blockquote>Integer that specifies the absolute spacing in pixels between the children. </div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.border</td></tr></table></blockquote>Integer that specifies the absolute inset in pixels for the parent that contains the children. </div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.resizeVertices</td></tr></table></blockquote>Boolean that specifies if vertices should be resized. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPartitionLayout.prototype.isHorizontal = function()</td></tr></table></blockquote>Returns horizontal.</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>mxPartitionLayout.prototype.moveCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.moveCell.</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>mxGraphLayout.prototype.moveCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. </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>mxPartitionLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute. </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>mxGraphLayout.prototype.execute = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all layout algorithms in mxGraph. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxPartitionLayout(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>horizontal,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>spacing,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>border</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.horizontal</td></tr></table></blockquote>Boolean indicating the direction in which the space is partitioned. </div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.spacing</td></tr></table></blockquote>Integer that specifies the absolute spacing in pixels between the children. </div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.border</td></tr></table></blockquote>Integer that specifies the absolute inset in pixels for the parent that contains the children. </div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.resizeVertices</td></tr></table></blockquote>Boolean that specifies if vertices should be resized. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPartitionLayout.prototype.isHorizontal = function()</td></tr></table></blockquote>Returns horizontal.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxPartitionLayout.prototype.moveCell = function(</td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.moveCell.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphLayout.prototype.moveCell = function(</td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxPartitionLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Implements mxGraphLayout.execute. </div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphLayout.prototype.execute = function(</td><td class="PParameter prettyprint " nowrap>parent</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Executes the layout algorithm for the children of the given parent.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxCellPath</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxCellPath</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -11,21 +11,21 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxCellPath"></a>mxCellPath</h1><div class=CBody><p>Implements a mechanism for temporary cell Ids.</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="#mxCellPath" >mxCellPath</a></td><td class=SDescription>Implements a mechanism for temporary cell Ids.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCellPath.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCellPath.PATH_SEPARATOR" >PATH_SEPARATOR</a></td><td class=SDescription>Defines the separator between the path components. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCellPath.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCellPath.create" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">create</a></td><td class=SDescription>Creates the cell path for the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCellPath.getParentPath" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">getParentPath</a></td><td class=SDescription>Returns the path for the parent of the cell represented by the given path. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCellPath.resolve" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">resolve</a></td><td class=SDescription>Returns the cell for the specified cell path using the given root as the root of the path.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCellPath.compare" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">compare</a></td><td class=SDescription>Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> <div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxCellPath"></a>mxCellPath</h1><div class=CBody><p>Implements a mechanism for temporary cell Ids.</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="#mxCellPath" >mxCellPath</a></td><td class=SDescription>Implements a mechanism for temporary cell Ids.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCellPath.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCellPath.PATH_SEPARATOR" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">PATH_SEPARATOR</a></td><td class=SDescription>Defines the separator between the path components. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCellPath.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCellPath.create" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">create</a></td><td class=SDescription>Creates the cell path for the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCellPath.getParentPath" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">getParentPath</a></td><td class=SDescription>Returns the path for the parent of the cell represented by the given path. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCellPath.resolve" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">resolve</a></td><td class=SDescription>Returns the cell for the specified cell path using the given root as the root of the path.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCellPath.compare" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">compare</a></td><td class=SDescription>Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.PATH_SEPARATOR"></a>PATH_SEPARATOR</h3><div class=CBody><p>Defines the separator between the path components.&nbsp; Default is &ldquo;.&rdquo;.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.PATH_SEPARATOR"></a>PATH_SEPARATOR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">PATH_SEPARATOR: '.'</td></tr></table></blockquote><p>Defines the separator between the path components.&nbsp; Default is &ldquo;.&rdquo;.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.create"></a>create</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>create: function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates the cell path for the given cell.&nbsp; The cell path is a concatenation of the indices of all ancestors on the (finite) path to the root, eg.&nbsp; &ldquo;0.0.0.1&rdquo;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Cell whose path should be returned.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.create"></a>create</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>create: function(</td><td class="PParameter prettyprint " nowrap>cell</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates the cell path for the given cell.&nbsp; The cell path is a concatenation of the indices of all ancestors on the (finite) path to the root, eg.&nbsp; &ldquo;0.0.0.1&rdquo;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Cell whose path should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.getParentPath"></a>getParentPath</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>getParentPath: function(</td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the path for the parent of the cell represented by the given path.&nbsp; Returns null if the given path has no parent.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>path</td><td class=CDLDescription>Path whose parent path should be returned.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.getParentPath"></a>getParentPath</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>getParentPath: function(</td><td class="PParameter prettyprint " nowrap>path</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the path for the parent of the cell represented by the given path.&nbsp; Returns null if the given path has no parent.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>path</td><td class=CDLDescription>Path whose parent path should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.resolve"></a>resolve</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>resolve: function(</td><td class=PParameter nowrap>root,</td></tr><tr><td></td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cell for the specified cell path using the given root as the root of the path.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>root</td><td class=CDLDescription>Root cell of the path to be resolved.</td></tr><tr><td class=CDLEntry>path</td><td class=CDLDescription>String that defines the path.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.resolve"></a>resolve</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>resolve: function(</td><td class="PParameter prettyprint " nowrap>root,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>path</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cell for the specified cell path using the given root as the root of the path.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>root</td><td class=CDLDescription>Root cell of the path to be resolved.</td></tr><tr><td class=CDLEntry>path</td><td class=CDLDescription>String that defines the path.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.compare"></a>compare</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>compare: function(</td><td class=PParameter nowrap>p1,</td></tr><tr><td></td><td class=PParameter nowrap>p2</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCellPath.compare"></a>compare</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>compare: function(</td><td class="PParameter prettyprint " nowrap>p1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>p2</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -41,7 +41,7 @@ HideAllBut([8], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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>create: function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates the cell path for the given cell. </div></div><div class=CToolTip id="tt2"><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>getParentPath: function(</td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the path for the parent of the cell represented by the given path. </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>resolve: function(</td><td class=PParameter nowrap>root,</td></tr><tr><td></td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cell for the specified cell path using the given root as the root of the path.</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>compare: function(</td><td class=PParameter nowrap>p1,</td></tr><tr><td></td><td class=PParameter nowrap>p2</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">PATH_SEPARATOR: '.'</td></tr></table></blockquote>Defines the separator between the path components. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>create: function(</td><td class="PParameter prettyprint " nowrap>cell</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Creates the cell path for the given cell. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>getParentPath: function(</td><td class="PParameter prettyprint " nowrap>path</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the path for the parent of the cell represented by the given path. </div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>resolve: function(</td><td class="PParameter prettyprint " nowrap>root,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>path</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cell for the specified cell path using the given root as the root of the path.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>compare: function(</td><td class="PParameter prettyprint " nowrap>p1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>p2</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Compares the given cell paths and returns -1 if p1 is smaller, 0 if p1 is equal and 1 if p1 is greater than p2.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxActor</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxActor</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -27,11 +27,11 @@ SampleShape.prototype.redrawPath = function(path, x, y, w, h)
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxActor.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxActor.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxActor.mxActor"></a>mxActor</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 mxActor(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new actor shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt7', 'link9')" onMouseOut="HideTip('tt7')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link10 onMouseOver="ShowTip(event, 'tt8', 'link10')" onMouseOut="HideTip('tt8')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxActor.mxActor"></a>mxActor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxActor(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new actor shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt7', 'link9')" onMouseOut="HideTip('tt7')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link10 onMouseOver="ShowTip(event, 'tt8', 'link10')" onMouseOut="HideTip('tt8')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxActor.paintVertexShape"></a>paintVertexShape</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>mxActor.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Redirects to redrawPath for subclasses to work.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxActor.paintVertexShape"></a>paintVertexShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxActor.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Redirects to redrawPath for subclasses to work.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxActor.redrawPath"></a>redrawPath</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>mxActor.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxActor.redrawPath"></a>redrawPath</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxActor.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -47,7 +47,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxActor(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new actor shape.</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>mxActor.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Redirects to redrawPath for subclasses to work.</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>mxActor.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><div class=CToolTip id="tt5"><div class=CVariable>Name under which mxActor is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt6"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt7"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxActor(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new actor shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxActor.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Redirects to redrawPath for subclasses to work.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxActor.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_ACTOR: 'actor'</td></tr></table></blockquote>Name under which mxActor is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt6"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt7"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxArrow</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxArrow</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,11 +15,11 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxArrow.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxArrow.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxArrow.mxArrow"></a>mxArrow</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 mxArrow(</td><td class=PParameter nowrap>points,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth,</td></tr><tr><td></td><td class=PParameter nowrap>arrowWidth,</td></tr><tr><td></td><td class=PParameter nowrap>spacing,</td></tr><tr><td></td><td class=PParameter nowrap>endSize</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new arrow shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>points</td><td class=CDLDescription>Array of <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxPoints</a> that define the points.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.points" class=LVariable id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">mxShape.points</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr><tr><td class=CDLEntry>arrowWidth</td><td class=CDLDescription>Optional integer that defines the arrow width.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.ARROW_WIDTH" class=LVariable id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">mxConstants.ARROW_WIDTH</a>.&nbsp; This is stored in &lt;arrowWidth&gt;.</td></tr><tr><td class=CDLEntry>spacing</td><td class=CDLDescription>Optional integer that defines the spacing between the arrow shape and its endpoints.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.ARROW_SPACING" class=LVariable id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">mxConstants.ARROW_SPACING</a>.&nbsp; This is stored in &lt;spacing&gt;.</td></tr><tr><td class=CDLEntry>endSize</td><td class=CDLDescription>Optional integer that defines the size of the arrowhead.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.ARROW_SIZE" class=LVariable id=link12 onMouseOver="ShowTip(event, 'tt11', 'link12')" onMouseOut="HideTip('tt11')">mxConstants.ARROW_SIZE</a>.&nbsp; This is stored in &lt;endSize&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxArrow.mxArrow"></a>mxArrow</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxArrow(</td><td class="PParameter prettyprint " nowrap>points,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>arrowWidth,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>spacing,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>endSize</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new arrow shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>points</td><td class=CDLDescription>Array of <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxPoints</a> that define the points.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.points" class=LVariable id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">mxShape.points</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr><tr><td class=CDLEntry>arrowWidth</td><td class=CDLDescription>Optional integer that defines the arrow width.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.ARROW_WIDTH" class=LVariable id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">mxConstants.ARROW_WIDTH</a>.&nbsp; This is stored in &lt;arrowWidth&gt;.</td></tr><tr><td class=CDLEntry>spacing</td><td class=CDLDescription>Optional integer that defines the spacing between the arrow shape and its endpoints.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.ARROW_SPACING" class=LVariable id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">mxConstants.ARROW_SPACING</a>.&nbsp; This is stored in &lt;spacing&gt;.</td></tr><tr><td class=CDLEntry>endSize</td><td class=CDLDescription>Optional integer that defines the size of the arrowhead.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.ARROW_SIZE" class=LVariable id=link12 onMouseOver="ShowTip(event, 'tt11', 'link12')" onMouseOut="HideTip('tt11')">mxConstants.ARROW_SIZE</a>.&nbsp; This is stored in &lt;endSize&gt;.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxArrow.augmentBoundingBox"></a>augmentBoundingBox</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>mxArrow.prototype.augmentBoundingBox = function(</td><td class=PParameter nowrap>bbox</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Augments the bounding box with the edge width and markers.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxArrow.augmentBoundingBox"></a>augmentBoundingBox</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxArrow.prototype.augmentBoundingBox = function(</td><td class="PParameter prettyprint " nowrap>bbox</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Augments the bounding box with the edge width and markers.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxArrow.paintEdgeShape"></a>paintEdgeShape</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>mxArrow.prototype.paintEdgeShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the line shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxArrow.paintEdgeShape"></a>paintEdgeShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxArrow.prototype.paintEdgeShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the line shape.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -35,7 +35,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxArrow(</td><td class=PParameter nowrap>points,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth,</td></tr><tr><td></td><td class=PParameter nowrap>arrowWidth,</td></tr><tr><td></td><td class=PParameter nowrap>spacing,</td></tr><tr><td></td><td class=PParameter nowrap>endSize</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new arrow shape.</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>mxArrow.prototype.augmentBoundingBox = function(</td><td class=PParameter nowrap>bbox</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Augments the bounding box with the edge width and markers.</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>mxArrow.prototype.paintEdgeShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the line shape.</div></div><div class=CToolTip id="tt5"><div class=CVariable>Name under which mxArrow is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt6"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt7"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.points</td></tr></table></blockquote>Holds the array of mxPoints that specify the points of this shape.</div></div><div class=CToolTip id="tt9"><div class=CVariable>Defines the width of the arrow shape. </div></div><div class=CToolTip id="tt10"><div class=CVariable>Defines the spacing between the arrow shape and its terminals. </div></div><div class=CToolTip id="tt11"><div class=CVariable>Defines the size of the arrowhead in the arrow shape. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxArrow(</td><td class="PParameter prettyprint " nowrap>points,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>arrowWidth,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>spacing,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>endSize</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new arrow shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxArrow.prototype.augmentBoundingBox = function(</td><td class="PParameter prettyprint " nowrap>bbox</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Augments the bounding box with the edge width and markers.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxArrow.prototype.paintEdgeShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the line shape.</div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_ARROW: 'arrow'</td></tr></table></blockquote>Name under which mxArrow is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt6"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt7"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.points</td></tr></table></blockquote>Holds the array of mxPoints that specify the points of this shape.</div></div><div class=CToolTip id="tt9"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">ARROW_WIDTH: 30</td></tr></table></blockquote>Defines the width of the arrow shape. </div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">ARROW_SPACING: 0</td></tr></table></blockquote>Defines the spacing between the arrow shape and its terminals. </div></div><div class=CToolTip id="tt11"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">ARROW_SIZE: 30</td></tr></table></blockquote>Defines the size of the arrowhead in the arrow shape. </div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxCloud</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxCloud</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCloud.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCloud.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCloud.mxCloud"></a>mxCloud</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 mxCloud(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new cloud shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCloud.mxCloud"></a>mxCloud</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCloud(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new cloud shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCloud.redrawPath"></a>redrawPath</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>mxCloud.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCloud.redrawPath"></a>redrawPath</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCloud.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Extends mxShape to implement an actor shape. </div></div><div class=CToolTip id="tt2"><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 mxCloud(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new cloud shape.</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>mxCloud.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><div class=CToolTip id="tt4"><div class=CVariable>Name under which mxCloud is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt5"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt6"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Extends mxShape to implement an actor shape. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCloud(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new cloud shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCloud.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_CLOUD: 'cloud'</td></tr></table></blockquote>Name under which mxCloud is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt5"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt6"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxConnector</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxConnector</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,15 +15,15 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxConnector.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxConnector.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.mxConnector"></a>mxConnector</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 mxConnector(</td><td class=PParameter nowrap>points,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new connector shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>points</td><td class=CDLDescription>Array of <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link11 onMouseOver="ShowTip(event, 'tt9', 'link11')" onMouseOut="HideTip('tt9')">mxPoints</a> that define the points.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.points" class=LVariable id=link12 onMouseOver="ShowTip(event, 'tt10', 'link12')" onMouseOut="HideTip('tt10')">mxShape.points</a>.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.&nbsp; Default is &lsquo;black&rsquo;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.mxConnector"></a>mxConnector</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxConnector(</td><td class="PParameter prettyprint " nowrap>points,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new connector shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>points</td><td class=CDLDescription>Array of <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link11 onMouseOver="ShowTip(event, 'tt9', 'link11')" onMouseOut="HideTip('tt9')">mxPoints</a> that define the points.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.points" class=LVariable id=link12 onMouseOver="ShowTip(event, 'tt10', 'link12')" onMouseOut="HideTip('tt10')">mxShape.points</a>.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.&nbsp; Default is &lsquo;black&rsquo;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.updateBoundingBox"></a>updateBoundingBox</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxConnector.prototype.updateBoundingBox = function()</td></tr></table></blockquote><p>Updates the &lt;boundingBox&gt; for this shape using &lt;createBoundingBox&gt; and <a href="#mxConnector.augmentBoundingBox" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt4', 'link13')" onMouseOut="HideTip('tt4')">augmentBoundingBox</a> and stores the result in &lt;boundingBox&gt;.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.updateBoundingBox"></a>updateBoundingBox</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxConnector.prototype.updateBoundingBox = function()</td></tr></table></blockquote><p>Updates the &lt;boundingBox&gt; for this shape using &lt;createBoundingBox&gt; and <a href="#mxConnector.augmentBoundingBox" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt4', 'link13')" onMouseOut="HideTip('tt4')">augmentBoundingBox</a> and stores the result in &lt;boundingBox&gt;.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.paintEdgeShape"></a>paintEdgeShape</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>mxConnector.prototype.paintEdgeShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the line shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.paintEdgeShape"></a>paintEdgeShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxConnector.prototype.paintEdgeShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the line shape.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.createMarker"></a>createMarker</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>mxConnector.prototype.createMarker = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Prepares the marker by adding offsets in pts and returning a function to paint the marker.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.createMarker"></a>createMarker</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxConnector.prototype.createMarker = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>source</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Prepares the marker by adding offsets in pts and returning a function to paint the marker.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.augmentBoundingBox"></a>augmentBoundingBox</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>mxConnector.prototype.augmentBoundingBox = function(</td><td class=PParameter nowrap>bbox</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Augments the bounding box with the strokewidth and shadow offsets.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxConnector.augmentBoundingBox"></a>augmentBoundingBox</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxConnector.prototype.augmentBoundingBox = function(</td><td class="PParameter prettyprint " nowrap>bbox</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Augments the bounding box with the strokewidth and shadow offsets.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -39,7 +39,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxConnector(</td><td class=PParameter nowrap>points,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new connector shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxConnector.prototype.updateBoundingBox = function()</td></tr></table></blockquote>Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.</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>mxConnector.prototype.augmentBoundingBox = function(</td><td class=PParameter nowrap>bbox</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Augments the bounding box with the strokewidth and shadow offsets.</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>mxConnector.prototype.paintEdgeShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the line shape.</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>mxConnector.prototype.createMarker = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Prepares the marker by adding offsets in pts and returning a function to paint the marker.</div></div><div class=CToolTip id="tt7"><div class=CVariable>Name under which mxConnector is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt8"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt9"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.points</td></tr></table></blockquote>Holds the array of mxPoints that specify the points of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxConnector(</td><td class="PParameter prettyprint " nowrap>points,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new connector shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxConnector.prototype.updateBoundingBox = function()</td></tr></table></blockquote>Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxConnector.prototype.augmentBoundingBox = function(</td><td class="PParameter prettyprint " nowrap>bbox</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Augments the bounding box with the strokewidth and shadow offsets.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxConnector.prototype.paintEdgeShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the line shape.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxConnector.prototype.createMarker = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>source</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Prepares the marker by adding offsets in pts and returning a function to paint the marker.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_CONNECTOR: 'connector'</td></tr></table></blockquote>Name under which mxConnector is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt8"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt9"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.points</td></tr></table></blockquote>Holds the array of mxPoints that specify the points of this shape.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxCylinder</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxCylinder</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,19 +15,19 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.mxCylinder"></a>mxCylinder</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 mxCylinder(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new cylinder shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link11 onMouseOver="ShowTip(event, 'tt9', 'link11')" onMouseOut="HideTip('tt9')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link12 onMouseOver="ShowTip(event, 'tt10', 'link12')" onMouseOut="HideTip('tt10')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.mxCylinder"></a>mxCylinder</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCylinder(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new cylinder shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link11 onMouseOver="ShowTip(event, 'tt9', 'link11')" onMouseOut="HideTip('tt9')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link12 onMouseOver="ShowTip(event, 'tt10', 'link12')" onMouseOut="HideTip('tt10')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.maxHeight"></a>maxHeight</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCylinder.prototype.maxHeight</td></tr></table></blockquote><p>Defines the maximum height of the top and bottom part of the cylinder shape.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.maxHeight"></a>maxHeight</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCylinder.prototype.maxHeight</td></tr></table></blockquote><p>Defines the maximum height of the top and bottom part of the cylinder shape.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.svgStrokeTolerance"></a>svgStrokeTolerance</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCylinder.prototype.svgStrokeTolerance</td></tr></table></blockquote><p>Sets stroke tolerance to 0 for SVG.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.svgStrokeTolerance"></a>svgStrokeTolerance</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCylinder.prototype.svgStrokeTolerance</td></tr></table></blockquote><p>Sets stroke tolerance to 0 for SVG.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.paintVertexShape"></a>paintVertexShape</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>mxCylinder.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Redirects to redrawPath for subclasses to work.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.paintVertexShape"></a>paintVertexShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCylinder.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Redirects to redrawPath for subclasses to work.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.redrawPath"></a>redrawPath</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>mxCylinder.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h,</td></tr><tr><td></td><td class=PParameter nowrap>isForeground</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCylinder.redrawPath"></a>redrawPath</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCylinder.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>isForeground</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -43,7 +43,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxCylinder(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new cylinder shape.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCylinder.prototype.maxHeight</td></tr></table></blockquote>Defines the maximum height of the top and bottom part of the cylinder shape.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCylinder.prototype.svgStrokeTolerance</td></tr></table></blockquote>Sets stroke tolerance to 0 for SVG.</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>mxCylinder.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Redirects to redrawPath for subclasses to work.</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>mxCylinder.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h,</td></tr><tr><td></td><td class=PParameter nowrap>isForeground</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><div class=CToolTip id="tt7"><div class=CVariable>Name under which mxCylinder is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt8"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt9"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxCylinder(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new cylinder shape.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCylinder.prototype.maxHeight</td></tr></table></blockquote>Defines the maximum height of the top and bottom part of the cylinder shape.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxCylinder.prototype.svgStrokeTolerance</td></tr></table></blockquote>Sets stroke tolerance to 0 for SVG.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCylinder.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Redirects to redrawPath for subclasses to work.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxCylinder.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>isForeground</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_CYLINDER: 'cylinder'</td></tr></table></blockquote>Name under which mxCylinder is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt8"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt9"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxDoubleEllipse</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxDoubleEllipse</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -32,19 +32,19 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.mxDoubleEllipse"></a>mxDoubleEllipse</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 mxDoubleEllipse(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new ellipse shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.mxDoubleEllipse"></a>mxDoubleEllipse</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxDoubleEllipse(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new ellipse shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.vmlScale"></a>vmlScale</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDoubleEllipse.prototype.vmlScale</td></tr></table></blockquote><p>Scale for improving the precision of VML rendering.&nbsp; Default is 10.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.vmlScale"></a>vmlScale</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDoubleEllipse.prototype.vmlScale</td></tr></table></blockquote><p>Scale for improving the precision of VML rendering.&nbsp; Default is 10.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.paintBackground"></a>paintBackground</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>mxDoubleEllipse.prototype.paintBackground = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the background.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.paintBackground"></a>paintBackground</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDoubleEllipse.prototype.paintBackground = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the background.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.paintForeground"></a>paintForeground</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>mxDoubleEllipse.prototype.paintForeground = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the foreground.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.paintForeground"></a>paintForeground</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDoubleEllipse.prototype.paintForeground = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the foreground.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.getLabelBounds"></a>getLabelBounds</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>mxDoubleEllipse.prototype.getLabelBounds = function(</td><td class=PParameter nowrap>rect</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the bounds for the label.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDoubleEllipse.getLabelBounds"></a>getLabelBounds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDoubleEllipse.prototype.getLabelBounds = function(</td><td class="PParameter prettyprint " nowrap>rect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the bounds for the label.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -60,7 +60,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxDoubleEllipse(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new ellipse shape.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDoubleEllipse.prototype.vmlScale</td></tr></table></blockquote>Scale for improving the precision of VML rendering. </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>mxDoubleEllipse.prototype.paintBackground = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the background.</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>mxDoubleEllipse.prototype.paintForeground = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the foreground.</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>mxDoubleEllipse.prototype.getLabelBounds = function(</td><td class=PParameter nowrap>rect</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bounds for the label.</div></div><div class=CToolTip id="tt7"><div class=CVariable>Name under which mxDoubleEllipse is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt8"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt9"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxDoubleEllipse(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new ellipse shape.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDoubleEllipse.prototype.vmlScale</td></tr></table></blockquote>Scale for improving the precision of VML rendering. </div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDoubleEllipse.prototype.paintBackground = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the background.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDoubleEllipse.prototype.paintForeground = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the foreground.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDoubleEllipse.prototype.getLabelBounds = function(</td><td class="PParameter prettyprint " nowrap>rect</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bounds for the label.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'</td></tr></table></blockquote>Name under which mxDoubleEllipse is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt8"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt9"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxEllipse</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxEllipse</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEllipse.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEllipse.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEllipse.mxEllipse"></a>mxEllipse</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 mxEllipse(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new ellipse shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEllipse.mxEllipse"></a>mxEllipse</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxEllipse(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new ellipse shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEllipse.paintVertexShape"></a>paintVertexShape</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>mxEllipse.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the ellipse shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEllipse.paintVertexShape"></a>paintVertexShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEllipse.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the ellipse shape.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxEllipse(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new ellipse shape.</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>mxEllipse.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the ellipse shape.</div></div><div class=CToolTip id="tt4"><div class=CVariable>Name under which mxEllipse is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt5"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt6"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxEllipse(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new ellipse shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEllipse.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the ellipse shape.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_ELLIPSE: 'ellipse'</td></tr></table></blockquote>Name under which mxEllipse is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt5"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt6"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxHexagon</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxHexagon</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxHexagon.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxHexagon.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHexagon.mxHexagon"></a>mxHexagon</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function mxHexagon()</td></tr></table></blockquote><p>Constructs a new hexagon shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHexagon.mxHexagon"></a>mxHexagon</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function mxHexagon()</td></tr></table></blockquote><p>Constructs a new hexagon shape.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHexagon.redrawPath"></a>redrawPath</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>mxHexagon.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxHexagon.redrawPath"></a>redrawPath</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxHexagon.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function mxHexagon()</td></tr></table></blockquote>Constructs a new hexagon shape.</div></div><div class=CToolTip id="tt2"><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>mxHexagon.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function mxHexagon()</td></tr></table></blockquote>Constructs a new hexagon shape.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxHexagon.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxLine</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxLine</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxLine.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxLine.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxLine.mxLine"></a>mxLine</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 mxLine(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new line shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; Default is &lsquo;black&rsquo;.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxLine.mxLine"></a>mxLine</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxLine(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new line shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; Default is &lsquo;black&rsquo;.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxLine.paintVertexShape"></a>paintVertexShape</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>mxLine.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Redirects to redrawPath for subclasses to work.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxLine.paintVertexShape"></a>paintVertexShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxLine.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Redirects to redrawPath for subclasses to work.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxLine(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new line shape.</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>mxLine.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Redirects to redrawPath for subclasses to work.</div></div><div class=CToolTip id="tt4"><div class=CVariable>Name under which mxLine is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt5"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt6"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxLine(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new line shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxLine.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Redirects to redrawPath for subclasses to work.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_LINE: 'line'</td></tr></table></blockquote>Name under which mxLine is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt5"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt6"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxMarker</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxMarker</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -11,17 +11,17 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxMarker"></a>mxMarker</h1><div class=CBody><p>A static class that implements all markers for VML and SVG using a registry.&nbsp; NOTE: The signatures in this class will change.</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="#mxMarker" >mxMarker</a></td><td class=SDescription>A static class that implements all markers for VML and SVG using a registry. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxMarker.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxMarker.markers" >markers</a></td><td class=SDescription>Maps from markers names to functions to paint the markers.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxMarker.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxMarker.addMarker" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">addMarker</a></td><td class=SDescription>Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxMarker.createMarker" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">createMarker</a></td><td class=SDescription>Returns a function to paint the given marker.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> <div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxMarker"></a>mxMarker</h1><div class=CBody><p>A static class that implements all markers for VML and SVG using a registry.&nbsp; NOTE: The signatures in this class will change.</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="#mxMarker" >mxMarker</a></td><td class=SDescription>A static class that implements all markers for VML and SVG using a registry. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxMarker.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxMarker.markers" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">markers</a></td><td class=SDescription>Maps from markers names to functions to paint the markers.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxMarker.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxMarker.addMarker" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">addMarker</a></td><td class=SDescription>Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxMarker.createMarker" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">createMarker</a></td><td class=SDescription>Returns a function to paint the given marker.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMarker.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMarker.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxMarker.markers"></a>markers</h3><div class=CBody><p>Maps from markers names to functions to paint the markers.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxMarker.markers"></a>markers</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">markers: []</td></tr></table></blockquote><p>Maps from markers names to functions to paint the markers.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMarker.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxMarker.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxMarker.addMarker"></a>addMarker</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>addMarker: function(</td><td class=PParameter nowrap>type,</td></tr><tr><td></td><td class=PParameter nowrap>funct</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxMarker.addMarker"></a>addMarker</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>addMarker: function(</td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>funct</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxMarker.createMarker"></a>createMarker</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>createMarker: function(</td><td class=PParameter nowrap>canvas,</td></tr><tr><td></td><td class=PParameter nowrap>shape,</td></tr><tr><td></td><td class=PParameter nowrap>type,</td></tr><tr><td></td><td class=PParameter nowrap>pe,</td></tr><tr><td></td><td class=PParameter nowrap>unitX,</td></tr><tr><td></td><td class=PParameter nowrap>unitY,</td></tr><tr><td></td><td class=PParameter nowrap>size,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>sw,</td></tr><tr><td></td><td class=PParameter nowrap>filled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns a function to paint the given marker.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxMarker.createMarker"></a>createMarker</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>createMarker: function(</td><td class="PParameter prettyprint " nowrap>canvas,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>shape,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pe,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>unitX,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>unitY,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>size,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>source,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>sw,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>filled</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns a function to paint the given marker.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -37,7 +37,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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>addMarker: function(</td><td class=PParameter nowrap>type,</td></tr><tr><td></td><td class=PParameter nowrap>funct</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.</div></div><div class=CToolTip id="tt2"><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>createMarker: function(</td><td class=PParameter nowrap>canvas,</td></tr><tr><td></td><td class=PParameter nowrap>shape,</td></tr><tr><td></td><td class=PParameter nowrap>type,</td></tr><tr><td></td><td class=PParameter nowrap>pe,</td></tr><tr><td></td><td class=PParameter nowrap>unitX,</td></tr><tr><td></td><td class=PParameter nowrap>unitY,</td></tr><tr><td></td><td class=PParameter nowrap>size,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>sw,</td></tr><tr><td></td><td class=PParameter nowrap>filled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a function to paint the given marker.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">markers: []</td></tr></table></blockquote>Maps from markers names to functions to paint the markers.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>addMarker: function(</td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>funct</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>createMarker: function(</td><td class="PParameter prettyprint " nowrap>canvas,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>shape,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>type,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pe,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>unitX,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>unitY,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>size,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>source,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>sw,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>filled</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a function to paint the given marker.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxPolyline</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxPolyline</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,17 +15,17 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.mxPolyline"></a>mxPolyline</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 mxPolyline(</td><td class=PParameter nowrap>points,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new polyline shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>points</td><td class=CDLDescription>Array of <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">mxPoints</a> that define the points.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.points" class=LVariable id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">mxShape.points</a>.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; Default is &lsquo;black&rsquo;.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.mxPolyline"></a>mxPolyline</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxPolyline(</td><td class="PParameter prettyprint " nowrap>points,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new polyline shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>points</td><td class=CDLDescription>Array of <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">mxPoints</a> that define the points.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.points" class=LVariable id=link11 onMouseOver="ShowTip(event, 'tt10', 'link11')" onMouseOut="HideTip('tt10')">mxShape.points</a>.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; Default is &lsquo;black&rsquo;.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.getRotation"></a>getRotation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPolyline.prototype.getRotation = function()</td></tr></table></blockquote><p>Returns 0.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.getRotation"></a>getRotation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPolyline.prototype.getRotation = function()</td></tr></table></blockquote><p>Returns 0.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.getShapeRotation"></a>getShapeRotation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPolyline.prototype.getShapeRotation = function()</td></tr></table></blockquote><p>Returns 0.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.getShapeRotation"></a>getShapeRotation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPolyline.prototype.getShapeRotation = function()</td></tr></table></blockquote><p>Returns 0.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.isPaintBoundsInverted"></a>isPaintBoundsInverted</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPolyline.prototype.isPaintBoundsInverted = function()</td></tr></table></blockquote><p>Returns false.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.isPaintBoundsInverted"></a>isPaintBoundsInverted</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPolyline.prototype.isPaintBoundsInverted = function()</td></tr></table></blockquote><p>Returns false.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.paintEdgeShape"></a>paintEdgeShape</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>mxPolyline.prototype.paintEdgeShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the line shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.paintEdgeShape"></a>paintEdgeShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxPolyline.prototype.paintEdgeShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the line shape.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.paintLine"></a>paintLine</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>mxPolyline.prototype.paintLine = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts,</td></tr><tr><td></td><td class=PParameter nowrap>rounded</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the line shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.paintLine"></a>paintLine</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxPolyline.prototype.paintLine = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>rounded</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Paints the line shape.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.paintLine"></a>paintLine</h3><div class=CBody><p>Paints the line shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxPolyline.paintLine"></a>paintLine</h3><div class=CBody><p>Paints the line shape.</p></div></div></div>
@ -43,7 +43,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxPolyline(</td><td class=PParameter nowrap>points,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new polyline shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPolyline.prototype.getRotation = function()</td></tr></table></blockquote>Returns 0.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPolyline.prototype.getShapeRotation = function()</td></tr></table></blockquote>Returns 0.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPolyline.prototype.isPaintBoundsInverted = function()</td></tr></table></blockquote>Returns false.</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>mxPolyline.prototype.paintEdgeShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the line shape.</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>mxPolyline.prototype.paintLine = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>pts,</td></tr><tr><td></td><td class=PParameter nowrap>rounded</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the line shape.</div></div><div class=CToolTip id="tt8"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt9"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.points</td></tr></table></blockquote>Holds the array of mxPoints that specify the points of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxPolyline(</td><td class="PParameter prettyprint " nowrap>points,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new polyline shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPolyline.prototype.getRotation = function()</td></tr></table></blockquote>Returns 0.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPolyline.prototype.getShapeRotation = function()</td></tr></table></blockquote>Returns 0.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxPolyline.prototype.isPaintBoundsInverted = function()</td></tr></table></blockquote>Returns false.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxPolyline.prototype.paintEdgeShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the line shape.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxPolyline.prototype.paintLine = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>pts,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>rounded</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Paints the line shape.</div></div><div class=CToolTip id="tt8"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt9"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.points</td></tr></table></blockquote>Holds the array of mxPoints that specify the points of this shape.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxRectangleShape</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxRectangleShape</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,13 +15,13 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.mxRectangleShape"></a>mxRectangleShape</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 mxRectangleShape(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new rectangle shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.mxRectangleShape"></a>mxRectangleShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxRectangleShape(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new rectangle shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt8', 'link9')" onMouseOut="HideTip('tt8')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link10 onMouseOver="ShowTip(event, 'tt9', 'link10')" onMouseOut="HideTip('tt9')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.isHtmlAllowed"></a>isHtmlAllowed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxRectangleShape.prototype.isHtmlAllowed = function()</td></tr></table></blockquote><p>Returns true for non-rounded, non-rotated shapes with no glass gradient.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.isHtmlAllowed"></a>isHtmlAllowed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxRectangleShape.prototype.isHtmlAllowed = function()</td></tr></table></blockquote><p>Returns true for non-rounded, non-rotated shapes with no glass gradient.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.paintBackground"></a>paintBackground</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>mxRectangleShape.prototype.paintBackground = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Generic background painting implementation.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.paintBackground"></a>paintBackground</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxRectangleShape.prototype.paintBackground = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Generic background painting implementation.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.paintForeground"></a>paintForeground</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>mxRectangleShape.prototype.paintForeground = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Generic background painting implementation.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRectangleShape.paintForeground"></a>paintForeground</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxRectangleShape.prototype.paintForeground = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Generic background painting implementation.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -37,7 +37,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxRectangleShape(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new rectangle shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxRectangleShape.prototype.isHtmlAllowed = function()</td></tr></table></blockquote>Returns true for non-rounded, non-rotated shapes with no glass gradient.</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>mxRectangleShape.prototype.paintBackground = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Generic background painting implementation.</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>mxRectangleShape.prototype.paintForeground = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Generic background painting implementation.</div></div><div class=CToolTip id="tt6"><div class=CVariable>Name under which mxRectangleShape is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt7"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt8"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt9"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxRectangleShape(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new rectangle shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxRectangleShape.prototype.isHtmlAllowed = function()</td></tr></table></blockquote>Returns true for non-rounded, non-rotated shapes with no glass gradient.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxRectangleShape.prototype.paintBackground = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Generic background painting implementation.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxRectangleShape.prototype.paintForeground = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Generic background painting implementation.</div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_RECTANGLE: 'rectangle'</td></tr></table></blockquote>Name under which mxRectangleShape is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt7"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt8"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt9"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxRhombus</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxRhombus</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxRhombus.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxRhombus.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRhombus.mxRhombus"></a>mxRhombus</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 mxRhombus(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new rhombus shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRhombus.mxRhombus"></a>mxRhombus</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxRhombus(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new rhombus shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link8 onMouseOver="ShowTip(event, 'tt7', 'link8')" onMouseOut="HideTip('tt7')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>fill</td><td class=CDLDescription>String that defines the fill color.&nbsp; This is stored in &lt;fill&gt;.</td></tr><tr><td class=CDLEntry>stroke</td><td class=CDLDescription>String that defines the stroke color.&nbsp; This is stored in &lt;stroke&gt;.</td></tr><tr><td class=CDLEntry>strokewidth</td><td class=CDLDescription>Optional integer that defines the stroke width.&nbsp; Default is 1.&nbsp; This is stored in &lt;strokewidth&gt;.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRhombus.paintVertexShape"></a>paintVertexShape</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>mxRhombus.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Generic painting implementation.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxRhombus.paintVertexShape"></a>paintVertexShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxRhombus.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Generic painting implementation.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><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 mxRhombus(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>fill,</td></tr><tr><td></td><td class=PParameter nowrap>stroke,</td></tr><tr><td></td><td class=PParameter nowrap>strokewidth</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new rhombus shape.</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>mxRhombus.prototype.paintVertexShape = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Generic painting implementation.</div></div><div class=CToolTip id="tt4"><div class=CVariable>Name under which mxRhombus is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt5"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt6"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxRhombus(</td><td class="PParameter prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>fill,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stroke,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>strokewidth</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new rhombus shape.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxRhombus.prototype.paintVertexShape = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Generic painting implementation.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">SHAPE_RHOMBUS: 'rhombus'</td></tr></table></blockquote>Name under which mxRhombus is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt5"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt6"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxStencilRegistry</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxStencilRegistry</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxStencilRegistry.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxStencilRegistry.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStencilRegistry.addStencil"></a>addStencil</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>addStencil: function(</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>stencil</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the given <a href="mxStencil-js.html#mxStencil" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt2', 'link5')" onMouseOut="HideTip('tt2')">mxStencil</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStencilRegistry.addStencil"></a>addStencil</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>addStencil: function(</td><td class="PParameter prettyprint " nowrap>name,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stencil</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the given <a href="mxStencil-js.html#mxStencil" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt2', 'link5')" onMouseOut="HideTip('tt2')">mxStencil</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStencilRegistry.getStencil"></a>getStencil</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>getStencil: function(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the <a href="mxStencil-js.html#mxStencil" class=LClass id=link6 onMouseOver="ShowTip(event, 'tt2', 'link6')" onMouseOut="HideTip('tt2')">mxStencil</a> for the given name.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxStencilRegistry.getStencil"></a>getStencil</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>getStencil: function(</td><td class="PParameter prettyprint " nowrap>name</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the <a href="mxStencil-js.html#mxStencil" class=LClass id=link6 onMouseOver="ShowTip(event, 'tt2', 'link6')" onMouseOut="HideTip('tt2')">mxStencil</a> for the given name.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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>addStencil: function(</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>stencil</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the given mxStencil.</div></div><div class=CToolTip id="tt2"><div class=CClass>Implements a generic shape which is based on a XML node as a description.</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>getStencil: function(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the mxStencil for the given name.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>addStencil: function(</td><td class="PParameter prettyprint " nowrap>name,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>stencil</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the given mxStencil.</div></div><div class=CToolTip id="tt2"><div class=CClass>Implements a generic shape which is based on a XML node as a description.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>getStencil: function(</td><td class="PParameter prettyprint " nowrap>name</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the mxStencil for the given name.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxTriangle</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxTriangle</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,9 +15,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxTriangle.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxTriangle.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxTriangle.mxTriangle"></a>mxTriangle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function mxTriangle()</td></tr></table></blockquote><p>Constructs a new triangle shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxTriangle.mxTriangle"></a>mxTriangle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function mxTriangle()</td></tr></table></blockquote><p>Constructs a new triangle shape.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxTriangle.redrawPath"></a>redrawPath</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>mxTriangle.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxTriangle.redrawPath"></a>redrawPath</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxTriangle.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draws the path for this shape.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -33,7 +33,7 @@ HideAllBut([9], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function mxTriangle()</td></tr></table></blockquote>Constructs a new triangle shape.</div></div><div class=CToolTip id="tt2"><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>mxTriangle.prototype.redrawPath = function(</td><td class=PParameter nowrap>c,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>w,</td></tr><tr><td></td><td class=PParameter nowrap>h</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">function mxTriangle()</td></tr></table></blockquote>Constructs a new triangle shape.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxTriangle.prototype.redrawPath = function(</td><td class="PParameter prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>h</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Draws the path for this shape.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxAnimation</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxAnimation</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,23 +15,23 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.mxAnimation"></a>mxAnimation</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 mxAnimation(</td><td class=PParameter nowrap>delay</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs an animation.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription>Reference to the enclosing <a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">mxGraph</a>.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.mxAnimation"></a>mxAnimation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxAnimation(</td><td class="PParameter prettyprint " nowrap>delay</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs an animation.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription>Reference to the enclosing <a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">mxGraph</a>.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.delay"></a>delay</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.delay</td></tr></table></blockquote><p>Specifies the delay between the animation steps.&nbsp; Defaul is 30ms.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.delay"></a>delay</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.delay</td></tr></table></blockquote><p>Specifies the delay between the animation steps.&nbsp; Defaul is 30ms.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.thread"></a>thread</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.thread</td></tr></table></blockquote><p>Reference to the thread while the animation is running.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.thread"></a>thread</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.thread</td></tr></table></blockquote><p>Reference to the thread while the animation is running.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.isRunning"></a>isRunning</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.isRunning = function()</td></tr></table></blockquote><p>Returns true if the animation is running.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.isRunning"></a>isRunning</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.isRunning = function()</td></tr></table></blockquote><p>Returns true if the animation is running.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.startAnimation"></a>startAnimation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.startAnimation = function()</td></tr></table></blockquote><p>Starts the animation by repeatedly invoking updateAnimation.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.startAnimation"></a>startAnimation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.startAnimation = function()</td></tr></table></blockquote><p>Starts the animation by repeatedly invoking updateAnimation.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.updateAnimation"></a>updateAnimation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.updateAnimation = function()</td></tr></table></blockquote><p>Hook for subclassers to implement the animation.&nbsp; Invoke stopAnimation when finished, startAnimation to resume.&nbsp; This is called whenever the timer fires and fires an mxEvent.EXECUTE event with no properties.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.updateAnimation"></a>updateAnimation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.updateAnimation = function()</td></tr></table></blockquote><p>Hook for subclassers to implement the animation.&nbsp; Invoke stopAnimation when finished, startAnimation to resume.&nbsp; This is called whenever the timer fires and fires an mxEvent.EXECUTE event with no properties.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.stopAnimation"></a>stopAnimation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.stopAnimation = function()</td></tr></table></blockquote><p>Stops the animation by deleting the timer and fires an <a href="mxEvent-js.html#mxEvent.DONE" class=LVariable id=link10 onMouseOver="ShowTip(event, 'tt8', 'link10')" onMouseOut="HideTip('tt8')">mxEvent.DONE</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxAnimation.stopAnimation"></a>stopAnimation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.stopAnimation = function()</td></tr></table></blockquote><p>Stops the animation by deleting the timer and fires an <a href="mxEvent-js.html#mxEvent.DONE" class=LVariable id=link10 onMouseOver="ShowTip(event, 'tt8', 'link10')" onMouseOut="HideTip('tt8')">mxEvent.DONE</a>.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -47,7 +47,7 @@ HideAllBut([10], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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 mxAnimation(</td><td class=PParameter nowrap>delay</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs an animation.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.delay</td></tr></table></blockquote>Specifies the delay between the animation steps. </div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.thread</td></tr></table></blockquote>Reference to the thread while the animation is running.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.isRunning = function()</td></tr></table></blockquote>Returns true if the animation is running.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.startAnimation = function()</td></tr></table></blockquote>Starts the animation by repeatedly invoking updateAnimation.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.updateAnimation = function()</td></tr></table></blockquote>Hook for subclassers to implement the animation. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxAnimation.prototype.stopAnimation = function()</td></tr></table></blockquote>Stops the animation by deleting the timer and fires an mxEvent.DONE.</div></div><div class=CToolTip id="tt8"><div class=CVariable>Specifies the event name for done.</div></div><div class=CToolTip id="tt9"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxAnimation(</td><td class="PParameter prettyprint " nowrap>delay</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs an animation.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.delay</td></tr></table></blockquote>Specifies the delay between the animation steps. </div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.thread</td></tr></table></blockquote>Reference to the thread while the animation is running.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.isRunning = function()</td></tr></table></blockquote>Returns true if the animation is running.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.startAnimation = function()</td></tr></table></blockquote>Starts the animation by repeatedly invoking updateAnimation.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.updateAnimation = function()</td></tr></table></blockquote>Hook for subclassers to implement the animation. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxAnimation.prototype.stopAnimation = function()</td></tr></table></blockquote>Stops the animation by deleting the timer and fires an mxEvent.DONE.</div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">DONE: 'done'</td></tr></table></blockquote>Specifies the event name for done.</div></div><div class=CToolTip id="tt9"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxDictionary</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxDictionary</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -19,19 +19,19 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.map"></a>map</h3><div class=CBody><p>Stores the (key, value) pairs in this dictionary.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.map"></a>map</h3><div class=CBody><p>Stores the (key, value) pairs in this dictionary.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.clear"></a>clear</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDictionary.prototype.clear = function()</td></tr></table></blockquote><p>Clears the dictionary.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.clear"></a>clear</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDictionary.prototype.clear = function()</td></tr></table></blockquote><p>Clears the dictionary.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.get"></a>get</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>mxDictionary.prototype.get = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the value for the given key.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.get"></a>get</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDictionary.prototype.get = function(</td><td class="PParameter prettyprint " nowrap>key</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the value for the given key.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.put"></a>put</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>mxDictionary.prototype.put = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Stores the value under the given key and returns the previous value for that key.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.put"></a>put</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDictionary.prototype.put = function(</td><td class="PParameter prettyprint " nowrap>key,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>value</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Stores the value under the given key and returns the previous value for that key.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.remove"></a>remove</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>mxDictionary.prototype.remove = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the value for the given key and returns the value that has been removed.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.remove"></a>remove</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDictionary.prototype.remove = function(</td><td class="PParameter prettyprint " nowrap>key</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the value for the given key and returns the value that has been removed.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.getKeys"></a>getKeys</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDictionary.prototype.getKeys = function()</td></tr></table></blockquote><p>Returns all keys as an array.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.getKeys"></a>getKeys</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDictionary.prototype.getKeys = function()</td></tr></table></blockquote><p>Returns all keys as an array.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.getValues"></a>getValues</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDictionary.prototype.getValues = function()</td></tr></table></blockquote><p>Returns all values as an array.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.getValues"></a>getValues</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDictionary.prototype.getValues = function()</td></tr></table></blockquote><p>Returns all values as an array.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.visit"></a>visit</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>mxDictionary.prototype.visit = function(</td><td class=PParameter nowrap>visitor</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>visitor</td><td class=CDLDescription>A function that takes the key and value as arguments.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDictionary.visit"></a>visit</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDictionary.prototype.visit = function(</td><td class="PParameter prettyprint " nowrap>visitor</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>visitor</td><td class=CDLDescription>A function that takes the key and value as arguments.</td></tr></table></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -47,7 +47,7 @@ HideAllBut([10], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDictionary.prototype.clear = function()</td></tr></table></blockquote>Clears the dictionary.</div></div><div class=CToolTip id="tt2"><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>mxDictionary.prototype.get = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the value for the given key.</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>mxDictionary.prototype.put = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Stores the value under the given key and returns the previous value for that key.</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>mxDictionary.prototype.remove = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the value for the given key and returns the value that has been removed.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDictionary.prototype.getKeys = function()</td></tr></table></blockquote>Returns all keys as an array.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDictionary.prototype.getValues = function()</td></tr></table></blockquote>Returns all values as an array.</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>mxDictionary.prototype.visit = function(</td><td class=PParameter nowrap>visitor</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDictionary.prototype.clear = function()</td></tr></table></blockquote>Clears the dictionary.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDictionary.prototype.get = function(</td><td class="PParameter prettyprint " nowrap>key</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the value for the given key.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDictionary.prototype.put = function(</td><td class="PParameter prettyprint " nowrap>key,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>value</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Stores the value under the given key and returns the previous value for that key.</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDictionary.prototype.remove = function(</td><td class="PParameter prettyprint " nowrap>key</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the value for the given key and returns the value that has been removed.</div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDictionary.prototype.getKeys = function()</td></tr></table></blockquote>Returns all keys as an array.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDictionary.prototype.getValues = function()</td></tr></table></blockquote>Returns all values as an array.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxDictionary.prototype.visit = function(</td><td class="PParameter prettyprint " nowrap>visitor</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.</div></div><!--END_ND_TOOLTIPS-->

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxDivResizer</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxDivResizer</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -24,7 +24,7 @@ resizer.resize();</pre></blockquote><!--START_ND_SUMMARY--><div class=Summary><d
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.mxDivResizer"></a>mxDivResizer</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 mxDivResizer(</td><td class=PParameter nowrap>div,</td></tr><tr><td></td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs an object that maintains the size of a div element when the window is being resized.&nbsp; This is only required for Internet Explorer as it ignores the respective stylesheet information for DIV elements.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>div</td><td class=CDLDescription>Reference to the DOM node whose size should be maintained.</td></tr><tr><td class=CDLEntry>container</td><td class=CDLDescription>Optional Container that contains the div.&nbsp; Default is the window.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.mxDivResizer"></a>mxDivResizer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxDivResizer(</td><td class="PParameter prettyprint " nowrap>div,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>container</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs an object that maintains the size of a div element when the window is being resized.&nbsp; This is only required for Internet Explorer as it ignores the respective stylesheet information for DIV elements.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>div</td><td class=CDLDescription>Reference to the DOM node whose size should be maintained.</td></tr><tr><td class=CDLEntry>container</td><td class=CDLDescription>Optional Container that contains the div.&nbsp; Default is the window.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.resizeWidth"></a>resizeWidth</h3><div class=CBody><p>Boolean specifying if the width should be updated.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.resizeWidth"></a>resizeWidth</h3><div class=CBody><p>Boolean specifying if the width should be updated.</p></div></div></div>
@ -32,11 +32,11 @@ resizer.resize();</pre></blockquote><!--START_ND_SUMMARY--><div class=Summary><d
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.handlingResize"></a>handlingResize</h3><div class=CBody><p>Boolean specifying if the width should be updated.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.handlingResize"></a>handlingResize</h3><div class=CBody><p>Boolean specifying if the width should be updated.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.resize"></a>resize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDivResizer.prototype.resize = function()</td></tr></table></blockquote><p>Updates the style of the DIV after the window has been resized.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.resize"></a>resize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDivResizer.prototype.resize = function()</td></tr></table></blockquote><p>Updates the style of the DIV after the window has been resized.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.getDocumentWidth"></a>getDocumentWidth</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDivResizer.prototype.getDocumentWidth = function()</td></tr></table></blockquote><p>Hook for subclassers to return the width of the document (without scrollbars).</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.getDocumentWidth"></a>getDocumentWidth</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDivResizer.prototype.getDocumentWidth = function()</td></tr></table></blockquote><p>Hook for subclassers to return the width of the document (without scrollbars).</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.getDocumentHeight"></a>getDocumentHeight</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDivResizer.prototype.getDocumentHeight = function()</td></tr></table></blockquote><p>Hook for subclassers to return the height of the document (without scrollbars).</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxDivResizer.getDocumentHeight"></a>getDocumentHeight</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDivResizer.prototype.getDocumentHeight = function()</td></tr></table></blockquote><p>Hook for subclassers to return the height of the document (without scrollbars).</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -52,7 +52,7 @@ HideAllBut([10], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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 mxDivResizer(</td><td class=PParameter nowrap>div,</td></tr><tr><td></td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs an object that maintains the size of a div element when the window is being resized. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDivResizer.prototype.resize = function()</td></tr></table></blockquote>Updates the style of the DIV after the window has been resized.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDivResizer.prototype.getDocumentWidth = function()</td></tr></table></blockquote>Hook for subclassers to return the width of the document (without scrollbars).</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxDivResizer.prototype.getDocumentHeight = function()</td></tr></table></blockquote>Hook for subclassers to return the height of the document (without scrollbars).</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxDivResizer(</td><td class="PParameter prettyprint " nowrap>div,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>container</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs an object that maintains the size of a div element when the window is being resized. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDivResizer.prototype.resize = function()</td></tr></table></blockquote>Updates the style of the DIV after the window has been resized.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDivResizer.prototype.getDocumentWidth = function()</td></tr></table></blockquote>Hook for subclassers to return the width of the document (without scrollbars).</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxDivResizer.prototype.getDocumentHeight = function()</td></tr></table></blockquote>Hook for subclassers to return the height of the document (without scrollbars).</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxEffects</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxEffects</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -15,7 +15,7 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEffects.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEffects.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEffects.animateChanges"></a>animateChanges</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>animateChanges: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>changes,</td></tr><tr><td></td><td class=PParameter nowrap>done</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Asynchronous animated move operation.&nbsp; See also: <a href="mxMorphing-js.html#mxMorphing" class=LClass id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">mxMorphing</a>.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">graph.model.addListener(mxEvent.CHANGE, function(sender, evt) <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEffects.animateChanges"></a>animateChanges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>animateChanges: function(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>changes,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>done</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Asynchronous animated move operation.&nbsp; See also: <a href="mxMorphing-js.html#mxMorphing" class=LClass id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">mxMorphing</a>.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">graph.model.addListener(mxEvent.CHANGE, function(sender, evt)
{ {
var changes = evt.getProperty('edit').changes; var changes = evt.getProperty('edit').changes;
@ -25,9 +25,9 @@ if (browserType) {document.write("<div class=" + browserType + ">");if (browserV
} }
});</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription><a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">mxGraph</a> that received the changes.</td></tr><tr><td class=CDLEntry>changes</td><td class=CDLDescription>Array of changes to be animated.</td></tr><tr><td class=CDLEntry>done</td><td class=CDLDescription>Optional function argument that is invoked after the last step of the animation.</td></tr></table></div></div></div> });</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription><a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">mxGraph</a> that received the changes.</td></tr><tr><td class=CDLEntry>changes</td><td class=CDLDescription>Array of changes to be animated.</td></tr><tr><td class=CDLEntry>done</td><td class=CDLDescription>Optional function argument that is invoked after the last step of the animation.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEffects.cascadeOpacity"></a>cascadeOpacity</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>cascadeOpacity: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>opacity</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the opacity on the given cell and its descendants.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription><a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link6 onMouseOver="ShowTip(event, 'tt5', 'link6')" onMouseOut="HideTip('tt5')">mxGraph</a> that contains the cells.</td></tr><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxCell</a> to set the opacity for.</td></tr><tr><td class=CDLEntry>opacity</td><td class=CDLDescription>New value for the opacity in %.</td></tr></table></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEffects.cascadeOpacity"></a>cascadeOpacity</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>cascadeOpacity: function(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>opacity</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the opacity on the given cell and its descendants.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graph</td><td class=CDLDescription><a href="../view/mxGraph-js.html#mxGraph" class=LClass id=link6 onMouseOver="ShowTip(event, 'tt5', 'link6')" onMouseOut="HideTip('tt5')">mxGraph</a> that contains the cells.</td></tr><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">mxCell</a> to set the opacity for.</td></tr><tr><td class=CDLEntry>opacity</td><td class=CDLDescription>New value for the opacity in %.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEffects.fadeOut"></a>fadeOut</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>fadeOut: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>from,</td></tr><tr><td></td><td class=PParameter nowrap>remove,</td></tr><tr><td></td><td class=PParameter nowrap>step,</td></tr><tr><td></td><td class=PParameter nowrap>delay,</td></tr><tr><td></td><td class=PParameter nowrap>isEnabled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Asynchronous fade-out operation.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEffects.fadeOut"></a>fadeOut</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>fadeOut: function(</td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>from,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>remove,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>step,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>delay,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>isEnabled</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Asynchronous fade-out operation.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -43,7 +43,7 @@ HideAllBut([10], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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>animateChanges: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>changes,</td></tr><tr><td></td><td class=PParameter nowrap>done</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Asynchronous animated move operation. </div></div><div class=CToolTip id="tt2"><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>cascadeOpacity: function(</td><td class=PParameter nowrap>graph,</td></tr><tr><td></td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>opacity</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the opacity on the given cell and its descendants.</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>fadeOut: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>from,</td></tr><tr><td></td><td class=PParameter nowrap>remove,</td></tr><tr><td></td><td class=PParameter nowrap>step,</td></tr><tr><td></td><td class=PParameter nowrap>delay,</td></tr><tr><td></td><td class=PParameter nowrap>isEnabled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Asynchronous fade-out operation.</div></div><div class=CToolTip id="tt4"><div class=CClass>Implements animation for morphing cells. </div></div><div class=CToolTip id="tt5"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><div class=CToolTip id="tt6"><div class=CClass>Cells are the elements of the graph model. </div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>animateChanges: function(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>changes,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>done</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Asynchronous animated move operation. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>cascadeOpacity: function(</td><td class="PParameter prettyprint " nowrap>graph,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>opacity</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the opacity on the given cell and its descendants.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>fadeOut: function(</td><td class="PParameter prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>from,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>remove,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>step,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>delay,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>isEnabled</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Asynchronous fade-out operation.</div></div><div class=CToolTip id="tt4"><div class=CClass>Implements animation for morphing cells. </div></div><div class=CToolTip id="tt5"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><div class=CToolTip id="tt6"><div class=CClass>Cells are the elements of the graph model. </div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxEventObject</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><!-- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxEventObject</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> if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 --> <!-- Generated by Natural Docs, version 1.51 -->
<!-- http://www.naturaldocs.org --> <!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org --> <!-- saved from url=(0026)http://www.naturaldocs.org -->
@ -16,27 +16,27 @@ INV: evt.isConsumed() == true</pre></blockquote><!--START_ND_SUMMARY--><div clas
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.mxEventObject"></a>mxEventObject</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 mxEventObject(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new event object with the specified name.&nbsp; An optional sequence of key, value pairs can be appended to define properties.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">new mxEventObject(&quot;eventName&quot;, key1, val1, .., keyN, valN)</pre></blockquote></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.mxEventObject"></a>mxEventObject</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxEventObject(</td><td class="PParameter prettyprint " nowrap>name</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new event object with the specified name.&nbsp; An optional sequence of key, value pairs can be appended to define properties.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">new mxEventObject(&quot;eventName&quot;, key1, val1, .., keyN, valN)</pre></blockquote></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.Variables"></a>Variables</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.name"></a>name</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.name</td></tr></table></blockquote><p>Holds the name.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.name"></a>name</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.name</td></tr></table></blockquote><p>Holds the name.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.properties"></a>properties</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.properties</td></tr></table></blockquote><p>Holds the properties as an associative array.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.properties"></a>properties</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.properties</td></tr></table></blockquote><p>Holds the properties as an associative array.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.consumed"></a>consumed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.consumed</td></tr></table></blockquote><p>Holds the consumed state.&nbsp; Default is false.</p></div></div></div> <div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.consumed"></a>consumed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.consumed</td></tr></table></blockquote><p>Holds the consumed state.&nbsp; Default is false.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.Functions"></a>Functions</h3></div></div> <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.getName"></a>getName</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.getName = function()</td></tr></table></blockquote><p>Returns <a href="#mxEventObject.name" class=LVariable id=link12 onMouseOver="ShowTip(event, 'tt2', 'link12')" onMouseOut="HideTip('tt2')">name</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.getName"></a>getName</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.getName = function()</td></tr></table></blockquote><p>Returns <a href="#mxEventObject.name" class=LVariable id=link12 onMouseOver="ShowTip(event, 'tt2', 'link12')" onMouseOut="HideTip('tt2')">name</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.getProperties"></a>getProperties</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.getProperties = function()</td></tr></table></blockquote><p>Returns <a href="#mxEventObject.properties" class=LVariable id=link13 onMouseOver="ShowTip(event, 'tt3', 'link13')" onMouseOut="HideTip('tt3')">properties</a>.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.getProperties"></a>getProperties</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.getProperties = function()</td></tr></table></blockquote><p>Returns <a href="#mxEventObject.properties" class=LVariable id=link13 onMouseOver="ShowTip(event, 'tt3', 'link13')" onMouseOut="HideTip('tt3')">properties</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.getProperty"></a>getProperty</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>mxEventObject.prototype.getProperty = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the property for the given key.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.getProperty"></a>getProperty</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEventObject.prototype.getProperty = function(</td><td class="PParameter prettyprint " nowrap>key</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the property for the given key.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.isConsumed"></a>isConsumed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.isConsumed = function()</td></tr></table></blockquote><p>Returns true if the event has been consumed.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.isConsumed"></a>isConsumed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.isConsumed = function()</td></tr></table></blockquote><p>Returns true if the event has been consumed.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.consume"></a>consume</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.consume = function()</td></tr></table></blockquote><p>Consumes the event.</p></div></div></div> <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxEventObject.consume"></a>consume</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.consume = function()</td></tr></table></blockquote><p>Consumes the event.</p></div></div></div>
</div><!--Content--> </div><!--Content-->
@ -52,7 +52,7 @@ HideAllBut([10], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS--> <!--START_ND_TOOLTIPS-->
<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 mxEventObject(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new event object with the specified name. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.name</td></tr></table></blockquote>Holds the name.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.properties</td></tr></table></blockquote>Holds the properties as an associative array.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.consumed</td></tr></table></blockquote>Holds the consumed state. </div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.getName = function()</td></tr></table></blockquote>Returns name.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.getProperties = function()</td></tr></table></blockquote>Returns properties.</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>mxEventObject.prototype.getProperty = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the property for the given key.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.isConsumed = function()</td></tr></table></blockquote>Returns true if the event has been consumed.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEventObject.prototype.consume = function()</td></tr></table></blockquote>Consumes the event.</div></div><!--END_ND_TOOLTIPS--> <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>function mxEventObject(</td><td class="PParameter prettyprint " nowrap>name</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new event object with the specified name. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.name</td></tr></table></blockquote>Holds the name.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.properties</td></tr></table></blockquote>Holds the properties as an associative array.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.consumed</td></tr></table></blockquote>Holds the consumed state. </div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.getName = function()</td></tr></table></blockquote>Returns name.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.getProperties = function()</td></tr></table></blockquote>Returns properties.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxEventObject.prototype.getProperty = function(</td><td class="PParameter prettyprint " nowrap>key</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the property for the given key.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.isConsumed = function()</td></tr></table></blockquote>Returns true if the event has been consumed.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEventObject.prototype.consume = function()</td></tr></table></blockquote>Consumes the event.</div></div><!--END_ND_TOOLTIPS-->

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More