maxGraph/docs/js-api/files/mxClient-js.html

138 lines
62 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxClient</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxClient"></a>mxClient</h1><div class=CBody><p>Bootstrapping mechanism for the mxGraph thin client.&nbsp; The production version of this file contains all code required to run the mxGraph thin client, as well as global constants to identify the browser and operating system in use.&nbsp; You may have to load chrome://global/content/contentAreaUtils.js in your page to disable certain security restrictions in Mozilla.</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="#mxClient" >mxClient</a></td><td class=SDescription>Bootstrapping mechanism for the mxGraph thin client. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxClient.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.VERSION" >VERSION</a></td><td class=SDescription>Contains the current version of the mxGraph library. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_IE" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">IS_IE</a></td><td class=SDescription>True if the current browser is Internet Explorer.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_IE6" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">IS_IE6</a></td><td class=SDescription>True if the current browser is Internet Explorer 6.x.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_QUIRKS" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">IS_QUIRKS</a></td><td class=SDescription>True if the current browser is Internet Explorer and it is in quirks mode.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.VML_PREFIX" >VML_PREFIX</a></td><td class=SDescription>Prefix for VML namespace in node names. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.OFFICE_PREFIX" >OFFICE_PREFIX</a></td><td class=SDescription>Prefix for VML office namespace in node names. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_NS" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">IS_NS</a></td><td class=SDescription>True if the current browser is Netscape (including Firefox).</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_OP" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">IS_OP</a></td><td class=SDescription>True if the current browser is Opera.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_OT" >IS_OT</a></td><td class=SDescription>True if -o-transform is available as a CSS style. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_SF" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">IS_SF</a></td><td class=SDescription>True if the current browser is Safari.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_IOS" >IS_IOS</a></td><td class=SDescription>Returns true if the user agent is an iPad, iPhone or iPod.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_GC" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">IS_GC</a></td><td class=SDescription>True if the current browser is Google Chrome.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_FF" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">IS_FF</a></td><td class=SDescription>True if the current browser is Firefox.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_MT" >IS_MT</a></td><td class=SDescription>True if -moz-transform is available as a CSS style. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_SVG" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">IS_SVG</a></td><td class=SDescription>True if the browser supports SVG.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.NO_FO" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">NO_FO</a></td><td class=SDescription>True if foreignObject support is not available. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_VML" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">IS_VML</a></td><td class=SDescription>True if the browser supports VML.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_MAC" >IS_MAC</a></td><td class=SDescription>True if the client is a Mac.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_TOUCH" >IS_TOUCH</a></td><td class=SDescription>True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_POINTER" >IS_POINTER</a></td><td class=SDescription>True if this device supports MS pointer events.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_LOCAL" >IS_LOCAL</a></td><td class=SDescription>True if the documents location does not start with <a href="http://" class=LURL target=_top>http://</a> or <a href="https://" class=LURL target=_top>https://</a>.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxClient.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxClient.isBrowserSupported" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">isBrowserSupported</a></td><td class=SDescription>Returns true if the current browser is supported, that is, if <a href="#mxClient.IS_VML" class=LVariable id=link13 onMouseOver="ShowTip(event, 'tt11', 'link13')" onMouseOut="HideTip('tt11')">mxClient.IS_VML</a> or <a href="#mxClient.IS_SVG" class=LVariable id=link14 onMouseOver="ShowTip(event, 'tt9', 'link14')" onMouseOut="HideTip('tt9')">mxClient.IS_SVG</a> is true.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxClient.link" id=link15 onMouseOver="ShowTip(event, 'tt13', 'link15')" onMouseOut="HideTip('tt13')">link</a></td><td class=SDescription>Adds a link node to the head of the document. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxClient.include" id=link16 onMouseOver="ShowTip(event, 'tt14', 'link16')" onMouseOut="HideTip('tt14')">include</a></td><td class=SDescription>Dynamically adds a script node to the document header.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxClient.dispose" id=link17 onMouseOver="ShowTip(event, 'tt15', 'link17')" onMouseOut="HideTip('tt15')">dispose</a></td><td class=SDescription>Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxClient.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.mxLoadResources" >mxLoadResources</a></td><td class=SDescription>Optional global config variable to toggle loading of the two resource files in <a href="view/mxGraph-js.html#mxGraph" class=LClass id=link18 onMouseOver="ShowTip(event, 'tt16', 'link18')" onMouseOut="HideTip('tt16')">mxGraph</a> and <a href="editor/mxEditor-js.html#mxEditor" class=LClass id=link19 onMouseOver="ShowTip(event, 'tt17', 'link19')" onMouseOut="HideTip('tt17')">mxEditor</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.mxResourceExtension" >mxResourceExtension</a></td><td class=SDescription>Optional global config variable to specify the extension of resource files. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.mxLoadStylesheets" >mxLoadStylesheets</a></td><td class=SDescription>Optional global config variable to toggle loading of the CSS files when the library is initialized. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.basePath" >basePath</a></td><td class=SDescription>Basepath for all URLs in the core without trailing slash. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.imageBasePath" >imageBasePath</a></td><td class=SDescription>Basepath for all images URLs in the core without trailing slash. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.language" >language</a></td><td class=SDescription>Defines the language of the client, eg. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.defaultLanguage" >defaultLanguage</a></td><td class=SDescription>Defines the default language which is used in the common resource files. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.languages" >languages</a></td><td class=SDescription>Defines the optional array of all supported language extensions. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxClient.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.VERSION"></a>VERSION</h3><div class=CBody><p>Contains the current version of the mxGraph library.&nbsp; The strings that communicate versions of mxGraph use the following format.</p><p>versionMajor.versionMinor.buildNumber.revisionNumber</p><p>Current version is 2.4.0.0.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_IE"></a>IS_IE</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>IS_IE: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'MSIE'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Internet Explorer.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_IE6"></a>IS_IE6</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>IS_IE6: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'MSIE 6'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Internet Explorer 6.x.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_QUIRKS"></a>IS_QUIRKS</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>IS_QUIRKS: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'MSIE'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Internet Explorer and it is in quirks mode.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.VML_PREFIX"></a>VML_PREFIX</h3><div class=CBody><p>Prefix for VML namespace in node names.&nbsp; Default is &lsquo;v&rsquo;.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.OFFICE_PREFIX"></a>OFFICE_PREFIX</h3><div class=CBody><p>Prefix for VML office namespace in node names.&nbsp; Default is &lsquo;o&rsquo;.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_NS"></a>IS_NS</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>IS_NS: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Mozilla/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Netscape (including Firefox).</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_OP"></a>IS_OP</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>IS_OP: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Opera/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Opera.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_OT"></a>IS_OT</h3><div class=CBody><p>True if -o-transform is available as a CSS style.&nbsp; This is the case for Opera browsers that use Presto/2.5 and later.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_SF"></a>IS_SF</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>IS_SF: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'AppleWebKit/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Safari.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_IOS"></a>IS_IOS</h3><div class=CBody><p>Returns true if the user agent is an iPad, iPhone or iPod.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_GC"></a>IS_GC</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>IS_GC: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Chrome/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Google Chrome.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_FF"></a>IS_FF</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>IS_FF: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Firefox/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Firefox.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_MT"></a>IS_MT</h3><div class=CBody><p>True if -moz-transform is available as a CSS style.&nbsp; This is the case for all Firefox-based browsers newer than or equal 3, such as Camino, Iceweasel, Seamonkey and Iceape.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_SVG"></a>IS_SVG</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>IS_SVG: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Firefox/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote><p>True if the browser supports SVG.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.NO_FO"></a>NO_FO</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 colspan=2>NO_FO: !document.createElementNS || document.createElementNS(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class=PParameter nowrap width=100%>'http://www.w3.org/2000/svg',</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class=PParameter nowrap width=100%>'foreignObject'</td></tr><tr><td class=PAfterParameters colspan=2>) !</td></tr></table></td></tr></table></blockquote><p>True if foreignObject support is not available.&nbsp; This is the case for Opera and older SVG-based browsers.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_VML"></a>IS_VML</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>IS_VML: navigator.appName.toUpperCase()</td></tr></table></blockquote><p>True if the browser supports VML.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_MAC"></a>IS_MAC</h3><div class=CBody><p>True if the client is a Mac.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_TOUCH"></a>IS_TOUCH</h3><div class=CBody><p>True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_POINTER"></a>IS_POINTER</h3><div class=CBody><p>True if this device supports MS pointer events.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_LOCAL"></a>IS_LOCAL</h3><div class=CBody><p>True if the documents location does not start with <a href="http://" class=LURL target=_top>http://</a> or <a href="https://" class=LURL target=_top>https://</a>.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxClient.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxClient.isBrowserSupported"></a>isBrowserSupported</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>isBrowserSupported: function()</td></tr></table></blockquote><p>Returns true if the current browser is supported, that is, if <a href="#mxClient.IS_VML" class=LVariable id=link20 onMouseOver="ShowTip(event, 'tt11', 'link20')" onMouseOut="HideTip('tt11')">mxClient.IS_VML</a> or <a href="#mxClient.IS_SVG" class=LVariable id=link21 onMouseOver="ShowTip(event, 'tt9', 'link21')" onMouseOut="HideTip('tt9')">mxClient.IS_SVG</a> is true.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">if (!mxClient.isBrowserSupported())
{
mxUtils.error('Browser is not supported!', 200, false);
}</pre></blockquote></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxClient.link"></a>link</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>link: function(</td><td class=PParameter nowrap>rel,</td></tr><tr><td></td><td class=PParameter nowrap>href,</td></tr><tr><td></td><td class=PParameter nowrap>doc</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a link node to the head of the document.&nbsp; Use this to add a stylesheet to the page as follows:</p><blockquote><pre class="prettyprint">mxClient.link('stylesheet', filename);</pre></blockquote><p>where filename is the (relative) URL of the stylesheet.&nbsp; The charset is hardcoded to ISO-8859-1 and the type is text/css.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>rel</td><td class=CDLDescription>String that represents the rel attribute of the link node.</td></tr><tr><td class=CDLEntry>href</td><td class=CDLDescription>String that represents the href attribute of the link node.</td></tr><tr><td class=CDLEntry>doc</td><td class=CDLDescription>Optional parent document of the link node.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxClient.include"></a>include</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>include: function(</td><td class=PParameter nowrap>src</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Dynamically adds a script node to the document header.</p><p>In production environments, the includes are resolved in the mxClient.js file to reduce the number of requests required for client startup.&nbsp; This function should only be used in development environments, but not in production systems.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxClient.dispose"></a>dispose</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>dispose: function()</td></tr></table></blockquote><p>Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxClient.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.mxLoadResources"></a>mxLoadResources</h3><div class=CBody><p>Optional global config variable to toggle loading of the two resource files in <a href="view/mxGraph-js.html#mxGraph" class=LClass id=link22 onMouseOver="ShowTip(event, 'tt16', 'link22')" onMouseOut="HideTip('tt16')">mxGraph</a> and <a href="editor/mxEditor-js.html#mxEditor" class=LClass id=link23 onMouseOver="ShowTip(event, 'tt17', 'link23')" onMouseOut="HideTip('tt17')">mxEditor</a>.&nbsp; Default is true.&nbsp; NOTE: This is a global variable, not a variable of mxClient.</p><blockquote><pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;
var mxLoadResources = false;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/path/to/core/directory/js/mxClient.js&quot;&gt;&lt;/script&gt;</pre></blockquote></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.mxResourceExtension"></a>mxResourceExtension</h3><div class=CBody><p>Optional global config variable to specify the extension of resource files.&nbsp; Default is true.&nbsp; NOTE: This is a global variable, not a variable of mxClient.</p><blockquote><pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;
var mxResourceExtension = '.txt';
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/path/to/core/directory/js/mxClient.js&quot;&gt;&lt;/script&gt;</pre></blockquote></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.mxLoadStylesheets"></a>mxLoadStylesheets</h3><div class=CBody><p>Optional global config variable to toggle loading of the CSS files when the library is initialized.&nbsp; Default is true.&nbsp; NOTE: This is a global variable, not a variable of mxClient.</p><blockquote><pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;
var mxLoadStylesheets = false;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/path/to/core/directory/js/mxClient.js&quot;&gt;&lt;/script&gt;</pre></blockquote></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.basePath"></a>basePath</h3><div class=CBody><p>Basepath for all URLs in the core without trailing slash.&nbsp; Default is &lsquo;.&rsquo;.&nbsp; Set mxBasePath prior to loading the mxClient library as follows to override this setting:</p><blockquote><pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;
mxBasePath = '/path/to/core/directory';
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/path/to/core/directory/js/mxClient.js&quot;&gt;&lt;/script&gt;</pre></blockquote><p>When using a relative path, the path is relative to the URL of the page that contains the assignment.&nbsp; Trailing slashes are automatically removed.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.imageBasePath"></a>imageBasePath</h3><div class=CBody><p>Basepath for all images URLs in the core without trailing slash.&nbsp; Default is <a href="#mxClient.basePath" class=LVariable id=link24 onMouseOver="ShowTip(event, 'tt18', 'link24')" onMouseOut="HideTip('tt18')">mxClient.basePath</a> + &lsquo;/images&rsquo;.&nbsp; Set mxImageBasePath prior to loading the mxClient library as follows to override this setting:</p><blockquote><pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;
mxImageBasePath = '/path/to/image/directory';
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/path/to/core/directory/js/mxClient.js&quot;&gt;&lt;/script&gt;</pre></blockquote><p>When using a relative path, the path is relative to the URL of the page that contains the assignment.&nbsp; Trailing slashes are automatically removed.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.language"></a>language</h3><div class=CBody><p>Defines the language of the client, eg. en for english, de for german etc.&nbsp; The special value &lsquo;none&rsquo; will disable all built-in internationalization and resource loading.&nbsp; See <a href="util/mxResources-js.html#mxResources.getSpecialBundle" class=LFunction id=link25 onMouseOver="ShowTip(event, 'tt19', 'link25')" onMouseOut="HideTip('tt19')">mxResources.getSpecialBundle</a> for handling identifiers with and without a dash.</p><p>Set mxLanguage prior to loading the mxClient library as follows to override this setting:</p><blockquote><pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;
mxLanguage = 'en';
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/mxClient.js&quot;&gt;&lt;/script&gt;</pre></blockquote><p>If internationalization is disabled, then the following variables should be overridden to reflect the current language of the system.&nbsp; These variables are cleared when i18n is disabled.&nbsp; <a href="editor/mxEditor-js.html#mxEditor.askZoomResource" class=LVariable id=link26 onMouseOver="ShowTip(event, 'tt20', 'link26')" onMouseOut="HideTip('tt20')">mxEditor.askZoomResource</a>, <a href="editor/mxEditor-js.html#mxEditor.lastSavedResource" class=LVariable id=link27 onMouseOver="ShowTip(event, 'tt21', 'link27')" onMouseOut="HideTip('tt21')">mxEditor.lastSavedResource</a>, <a href="editor/mxEditor-js.html#mxEditor.currentFileResource" class=LVariable id=link28 onMouseOver="ShowTip(event, 'tt22', 'link28')" onMouseOut="HideTip('tt22')">mxEditor.currentFileResource</a>, <a href="editor/mxEditor-js.html#mxEditor.propertiesResource" class=LVariable id=link29 onMouseOver="ShowTip(event, 'tt23', 'link29')" onMouseOut="HideTip('tt23')">mxEditor.propertiesResource</a>, <a href="editor/mxEditor-js.html#mxEditor.tasksResource" class=LVariable id=link30 onMouseOver="ShowTip(event, 'tt24', 'link30')" onMouseOut="HideTip('tt24')">mxEditor.tasksResource</a>, <a href="editor/mxEditor-js.html#mxEditor.helpResource" class=LVariable id=link31 onMouseOver="ShowTip(event, 'tt25', 'link31')" onMouseOut="HideTip('tt25')">mxEditor.helpResource</a>, <a href="editor/mxEditor-js.html#mxEditor.outlineResource" class=LVariable id=link32 onMouseOver="ShowTip(event, 'tt26', 'link32')" onMouseOut="HideTip('tt26')">mxEditor.outlineResource</a>, <a href="handler/mxElbowEdgeHandler-js.html#mxElbowEdgeHandler.doubleClickOrientationResource" class=LVariable id=link33 onMouseOver="ShowTip(event, 'tt27', 'link33')" onMouseOut="HideTip('tt27')">mxElbowEdgeHandler.doubleClickOrientationResource</a>, <a href="util/mxUtils-js.html#mxUtils.errorResource" class=LVariable id=link34 onMouseOver="ShowTip(event, 'tt28', 'link34')" onMouseOut="HideTip('tt28')">mxUtils.errorResource</a>, <a href="util/mxUtils-js.html#mxUtils.closeResource" class=LVariable id=link35 onMouseOver="ShowTip(event, 'tt29', 'link35')" onMouseOut="HideTip('tt29')">mxUtils.closeResource</a>, <a href="view/mxGraphSelectionModel-js.html#mxGraphSelectionModel.doneResource" class=LVariable id=link36 onMouseOver="ShowTip(event, 'tt30', 'link36')" onMouseOut="HideTip('tt30')">mxGraphSelectionModel.doneResource</a>, <a href="view/mxGraphSelectionModel-js.html#mxGraphSelectionModel.updatingSelectionResource" class=LVariable id=link37 onMouseOver="ShowTip(event, 'tt31', 'link37')" onMouseOut="HideTip('tt31')">mxGraphSelectionModel.updatingSelectionResource</a>, <a href="view/mxGraphView-js.html#mxGraphView.doneResource" class=LVariable id=link38 onMouseOver="ShowTip(event, 'tt32', 'link38')" onMouseOut="HideTip('tt32')">mxGraphView.doneResource</a>, <a href="view/mxGraphView-js.html#mxGraphView.updatingDocumentResource" class=LFunction id=link39 onMouseOver="ShowTip(event, 'tt33', 'link39')" onMouseOut="HideTip('tt33')">mxGraphView.updatingDocumentResource</a>, &lt;mxCellRenderer.collapseExpandResource&gt;, <a href="view/mxGraph-js.html#mxGraph.containsValidationErrorsResource" class=LVariable id=link40 onMouseOver="ShowTip(event, 'tt34', 'link40')" onMouseOut="HideTip('tt34')">mxGraph.containsValidationErrorsResource</a> and <a href="view/mxGraph-js.html#mxGraph.alreadyConnectedResource" class=LVariable id=link41 onMouseOver="ShowTip(event, 'tt35', 'link41')" onMouseOut="HideTip('tt35')">mxGraph.alreadyConnectedResource</a>.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.defaultLanguage"></a>defaultLanguage</h3><div class=CBody><p>Defines the default language which is used in the common resource files.&nbsp; Any resources for this language will only load the common resource file, but not the language-specific resource file.&nbsp; Default is &lsquo;en&rsquo;.</p><p>Set mxDefaultLanguage prior to loading the mxClient library as follows to override this setting:</p><blockquote><pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;
mxDefaultLanguage = 'de';
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/mxClient.js&quot;&gt;&lt;/script&gt;</pre></blockquote></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.languages"></a>languages</h3><div class=CBody><p>Defines the optional array of all supported language extensions.&nbsp; The default language does not have to be part of this list.&nbsp; See &lt;mxResources.isLanguageSupported&gt;.</p><blockquote><pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;
mxLanguages = ['de', 'it', 'fr'];
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/mxClient.js&quot;&gt;&lt;/script&gt;</pre></blockquote><p>This is used to avoid unnecessary requests to language files, ie. if a 404 will be returned.</p></div></div></div>
</div><!--Content-->
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<div id=Menu><div class=MEntry><div class=MFile><a href="index-txt.html">API Specification</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Editor</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="editor/mxDefaultKeyHandler-js.html">mxDefaultKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="editor/mxDefaultPopupMenu-js.html">mxDefaultPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="editor/mxDefaultToolbar-js.html">mxDefaultToolbar</a></div></div><div class=MEntry><div class=MFile><a href="editor/mxEditor-js.html">mxEditor</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Handler</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="handler/mxCellHighlight-js.html">mxCellHighlight</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxCellMarker-js.html">mxCellMarker</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxCellTracker-js.html">mxCellTracker</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxConnectionHandler-js.html">mxConnectionHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxConstraintHandler-js.html">mxConstraintHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxEdgeHandler-js.html">mxEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxEdgeSegmentHandler-js.html">mxEdgeSegmentHandler.js</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxElbowEdgeHandler-js.html">mxElbowEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxGraphHandler-js.html">mxGraphHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxKeyHandler-js.html">mxKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxPanningHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxPopupMenuHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxRubberband-js.html">mxRubberband</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxSelectionCellsHandler-js.html">mxSelectionCellsHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxTooltipHandler-js.html">mxTooltipHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxVertexHandler-js.html">mxVertexHandler</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Io</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="io/mxCellCodec-js.html">mxCellCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxChildChangeCodec-js.html">mxChildChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxCodec-js.html">mxCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxCodecRegistry-js.html">mxCodecRegistry</a></div></div><div class=MEntry><div class=MFile><a href="io/mxDefaultKeyHandlerCodec-js.html">mxDefaultKeyHandlerCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxDefaultPopupMenuCodec-js.html">mxDefaultPopupMenuCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxDefaultToolbarCodec-js.html">mxDefaultToolbarCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxEditorCodec-js.html">mxEditorCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxGenericChangeCodec-js.html">mxGenericChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxGraphCodec-js.html">mxGraphCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxGraphViewCodec-js.html">mxGraphViewCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxModelCodec-js.html">mxModelCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxObjectCodec-js.html">mxObjectCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxRootChangeCodec-js.html">mxRootChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxStylesheetCodec-js.html">mxStylesheetCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxTerminalChangeCodec-js.html">mxTerminalChangeCodec</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Layout</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Hierarchical</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Model</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html">mxGraphAbstractHierarchyCell</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxGraphHierarchyEdge-js.html">mxGraphHierarchyEdge</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxGraphHierarchyModel-js.html">mxGraphHierarchyModel</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxGraphHierarchyNode-js.html">mxGraphHierarchyNode</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxSwimlaneModel-js.html">mxSwimlaneModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/mxHierarchicalLayout-js.html">mxHierarchicalLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/mxSwimlaneLayout-js.html">mxSwimlaneLayout</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Stage</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxCoordinateAssignment-js.html">mxCoordinateAssignment</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html">mxHierarchicalLayoutStage</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html">mxMedianHybridCrossingReduction</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxMinimumCycleRemover-js.html">mxMinimumCycleRemover</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxSwimlaneOrdering-js.html">mxSwimlaneOrdering</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MFile><a href="layout/mxCircleLayout-js.html">mxCircleLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxCompactTreeLayout-js.html">mxCompactTreeLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxCompositeLayout-js.html">mxCompositeLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxEdgeLabelLayout-js.html">mxEdgeLabelLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxFastOrganicLayout-js.html">mxFastOrganicLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxGraphLayout-js.html">mxGraphLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxParallelEdgeLayout-js.html">mxParallelEdgeLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxPartitionLayout-js.html">mxPartitionLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxStackLayout-js.html">mxStackLayout</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Model</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="model/mxCell-js.html">mxCell</a></div></div><div class=MEntry><div class=MFile><a href="model/mxCellPath-js.html">mxCellPath</a></div></div><div class=MEntry><div class=MFile><a href="model/mxGeometry-js.html">mxGeometry</a></div></div><div class=MEntry><div class=MFile><a href="model/mxGraphModel-js.html">mxGraphModel</a></div></div></div></div></div><div class=MEntry><div class=MFile id=MSelected>mxClient</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Shape</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MFile><a href="shape/mxActor-js.html">mxActor</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxArrow-js.html">mxArrow</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxCloud-js.html">mxCloud</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxConnector-js.html">mxConnector</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxCylinder-js.html">mxCylinder</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxDoubleEllipse-js.html">mxDoubleEllipse</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxEllipse-js.html">mxEllipse</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxHexagon-js.html">mxHexagon</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxImageShape-js.html">mxImageShape</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxLabel-js.html">mxLabel</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxLine-js.html">mxLine</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxMarker-js.html">mxMarker</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxPolyline-js.html">mxPolyline</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxRectangleShape-js.html">mxRectangleShape</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxRhombus-js.html">mxRhombus</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxShape-js.html">mxShape</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxStencil-js.html">mxStencil</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxStencilRegistry-js.html">mxStencilRegistry</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxSwimlane-js.html">mxSwimlane</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxText-js.html">mxText</a></div></div><div class=MEntry><div class=MFile><a href="shape/mxTriangle-js.html">mxTriangle</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Util</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="util/mxAbstractCanvas2D-js.html">mxAbstractCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="util/mxAnimation-js.html">mxAnimation</a></div></div><div class=MEntry><div class=MFile><a href="util/mxAutoSaveManager-js.html">mxAutoSaveManager</a></div></div><div class=MEntry><div class=MFile><a href="util/mxClipboard-js.html">mxClipboard</a></div></div><div class=MEntry><div class=MFile><a href="util/mxConstants-js.html">mxConstants</a></div></div><div class=MEntry><div class=MFile><a href="util/mxDictionary-js.html">mxDictionary</a></div></div><div class=MEntry><div class=MFile><a href="util/mxDivResizer-js.html">mxDivResizer</a></div></div><div class=MEntry><div class=MFile><a href="util/mxDragSource-js.html">mxDragSource</a></div></div><div class=MEntry><div class=MFile><a href="util/mxEffects-js.html">mxEffects</a></div></div><div class=MEntry><div class=MFile><a href="util/mxEvent-js.html">mxEvent</a></div></div><div class=MEntry><div class=MFile><a href="util/mxEventObject-js.html">mxEventObject</a></div></div><div class=MEntry><div class=MFile><a href="util/mxEventSource-js.html">mxEventSource</a></div></div><div class=MEntry><div class=MFile><a href="util/mxForm-js.html">mxForm</a></div></div><div class=MEntry><div class=MFile><a href="util/mxGuide-js.html">mxGuide</a></div></div><div class=MEntry><div class=MFile><a href="util/mxImage-js.html">mxImage</a></div></div><div class=MEntry><div class=MFile><a href="util/mxImageBundle-js.html">mxImageBundle</a></div></div><div class=MEntry><div class=MFile><a href="util/mxImageExport-js.html">mxImageExport</a></div></div><div class=MEntry><div class=MFile><a href="util/mxLog-js.html">mxLog</a></div></div><div class=MEntry><div class=MFile><a href="util/mxMorphing-js.html">mxMorphing</a></div></div><div class=MEntry><div class=MFile><a href="util/mxMouseEvent-js.html">mxMouseEvent</a></div></div><div class=MEntry><div class=MFile><a href="util/mxObjectIdentity-js.html">mxObjectIdentity</a></div></div><div class=MEntry><div class=MFile><a href="util/mxPanningManager-js.html">mxPanningManager</a></div></div><div class=MEntry><div class=MFile><a href="util/mxPoint-js.html">mxPoint</a></div></div><div class=MEntry><div class=MFile><a href="util/mxPopupMenu-js.html">mxPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="util/mxRectangle-js.html">mxRectangle</a></div></div><div class=MEntry><div class=MFile><a href="util/mxResources-js.html">mxResources</a></div></div><div class=MEntry><div class=MFile><a href="util/mxSession-js.html">mxSession</a></div></div><div class=MEntry><div class=MFile><a href="util/mxSvgCanvas2D-js.html">mxSvgCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="util/mxToolbar-js.html">mxToolbar</a></div></div><div class=MEntry><div class=MFile><a href="util/mxUndoableEdit-js.html">mxUndoableEdit</a></div></div><div class=MEntry><div class=MFile><a href="util/mxUndoManager-js.html">mxUndoManager</a></div></div><div class=MEntry><div class=MFile><a href="util/mxUrlConverter-js.html">mxUrlConverter</a></div></div><div class=MEntry><div class=MFile><a href="util/mxUtils-js.html">mxUtils</a></div></div><div class=MEntry><div class=MFile><a href="util/mxVmlCanvas2D-js.html">mxVmlCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="util/mxWindow-js.html">mxWindow</a></div></div><div class=MEntry><div class=MFile><a href="util/mxXmlCanvas2D-js.html">mxXmlCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="util/mxXmlRequest-js.html">mxXmlRequest</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">View</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="view/mxCellEditor-js.html">mxCellEditor</a></div></div><div class=MEntry><div class=MFile><a href="view/mxCellOverlay-js.html">mxCellOverlay</a></div></div><div class=MEntry><div class=MFile><a href="view/mxCellRenderer-js.html">mxCellRenderer</a></div></div><div class=MEntry><div class=MFile><a href="view/mxCellState-js.html">mxCellState</a></div></div><div class=MEntry><div class=MFile><a href="view/mxCellStatePreview-js.html">mxCellStatePreview</a></div></div><div class=MEntry><div class=MFile><a href="view/mxConnectionConstraint-js.html">mxConnectionConstraint</a></div></div><div class=MEntry><div class=MFile><a href="view/mxEdgeStyle-js.html">mxEdgeStyle</a></div></div><div class=MEntry><div class=MFile><a href="view/mxGraph-js.html">mxGraph</a></div></div><div class=MEntry><div class=MFile><a href="view/mxGraphSelectionModel-js.html">mxGraphSelectionModel</a></div></div><div class=MEntry><div class=MFile><a href="view/mxGraphView-js.html">mxGraphView</a></div></div><div class=MEntry><div class=MFile><a href="view/mxLayoutManager-js.html">mxLayoutManager</a></div></div><div class=MEntry><div class=MFile><a href="view/mxMultiplicity-js.html">mxMultiplicity</a></div></div><div class=MEntry><div class=MFile><a href="view/mxOutline-js.html">mxOutline</a></div></div><div class=MEntry><div class=MFile><a href="view/mxPerimeter-js.html">mxPerimeter</a></div></div><div class=MEntry><div class=MFile><a href="view/mxPrintPreview-js.html">mxPrintPreview</a></div></div><div class=MEntry><div class=MFile><a href="view/mxSpaceManager-js.html">mxSpaceManager</a></div></div><div class=MEntry><div class=MFile><a href="view/mxStyleRegistry-js.html">mxStyleRegistry</a></div></div><div class=MEntry><div class=MFile><a href="view/mxStylesheet-js.html">mxStylesheet</a></div></div><div class=MEntry><div class=MFile><a href="view/mxSwimlaneManager-js.html">mxSwimlaneManager</a></div></div><div class=MEntry><div class=MFile><a href="view/mxTemporaryCellStates-js.html">mxTemporaryCellStates</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Index</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Cookies.html">Cookies</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Cookies">Cookies</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([1], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>IS_IE: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'MSIE'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote>True if the current browser is Internet Explorer.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>IS_IE6: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'MSIE 6'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote>True if the current browser is Internet Explorer 6.x.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>IS_QUIRKS: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'MSIE'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote>True if the current browser is Internet Explorer and it is in quirks mode.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>IS_NS: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Mozilla/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote>True if the current browser is Netscape (including Firefox).</div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>IS_OP: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Opera/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote>True if the current browser is Opera.</div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>IS_SF: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'AppleWebKit/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote>True if the current browser is Safari.</div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>IS_GC: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Chrome/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote>True if the current browser is Google Chrome.</div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>IS_FF: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Firefox/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote>True if the current browser is Firefox.</div></div><div class=CToolTip id="tt9"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>IS_SVG: navigator.userAgent.indexOf(</td><td class=PParameter nowrap>'Firefox/'</td><td class=PAfterParameters nowrap>) &gt;</td></tr></table></td></tr></table></blockquote>True if the browser supports SVG.</div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters colspan=2>NO_FO: !document.createElementNS || document.createElementNS(</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class=PParameter nowrap width=100%>'http://www.w3.org/2000/svg',</td></tr><tr><td>&nbsp;&nbsp;&nbsp;</td><td class=PParameter nowrap width=100%>'foreignObject'</td></tr><tr><td class=PAfterParameters colspan=2>) !</td></tr></table></td></tr></table></blockquote>True if foreignObject support is not available. </div></div><div class=CToolTip id="tt11"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>IS_VML: navigator.appName.toUpperCase()</td></tr></table></blockquote>True if the browser supports VML.</div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>isBrowserSupported: function()</td></tr></table></blockquote>Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.</div></div><div class=CToolTip id="tt13"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>link: function(</td><td class=PParameter nowrap>rel,</td></tr><tr><td></td><td class=PParameter nowrap>href,</td></tr><tr><td></td><td class=PParameter nowrap>doc</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds a link node to the head of the document. </div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>include: function(</td><td class=PParameter nowrap>src</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Dynamically adds a script node to the document header.</div></div><div class=CToolTip id="tt15"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>dispose: function()</td></tr></table></blockquote>Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.</div></div><div class=CToolTip id="tt16"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><div class=CToolTip id="tt17"><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="tt18"><div class=CVariable>Basepath for all URLs in the core without trailing slash. </div></div><div class=CToolTip id="tt19"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getSpecialBundle: function(</td><td class=PParameter nowrap>basename,</td></tr><tr><td></td><td class=PParameter nowrap>lan</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook for subclassers to return the URL for the special bundle. </div></div><div class=CToolTip id="tt20"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEditor.prototype.askZoomResource</td></tr></table></blockquote>Specifies the resource key for the zoom dialog. </div></div><div class=CToolTip id="tt21"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEditor.prototype.lastSavedResource</td></tr></table></blockquote>Specifies the resource key for the last saved info. </div></div><div class=CToolTip id="tt22"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEditor.prototype.currentFileResource</td></tr></table></blockquote>Specifies the resource key for the current file info. </div></div><div class=CToolTip id="tt23"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEditor.prototype.propertiesResource</td></tr></table></blockquote>Specifies the resource key for the properties window title. </div></div><div class=CToolTip id="tt24"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEditor.prototype.tasksResource</td></tr></table></blockquote>Specifies the resource key for the tasks window title. </div></div><div class=CToolTip id="tt25"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEditor.prototype.helpResource</td></tr></table></blockquote>Specifies the resource key for the help window title. </div></div><div class=CToolTip id="tt26"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxEditor.prototype.outlineResource</td></tr></table></blockquote>Specifies the resource key for the outline window title. </div></div><div class=CToolTip id="tt27"><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="tt28"><div class=CVariable>Specifies the resource key for the title of the error window. </div></div><div class=CToolTip id="tt29"><div class=CVariable>Specifies the resource key for the label of the close button. </div></div><div class=CToolTip id="tt30"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraphSelectionModel.prototype.doneResource</td></tr></table></blockquote>Specifies the resource key for the status message after a long operation. </div></div><div class=CToolTip id="tt31"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraphSelectionModel.prototype.updatingSelectionResource</td></tr></table></blockquote>Specifies the resource key for the status message while the selection is being updated. </div></div><div class=CToolTip id="tt32"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraphView.prototype.doneResource</td></tr></table></blockquote>Specifies the resource key for the status message after a long operation. </div></div><div class=CToolTip id="tt33"><div class=CFunction>Specifies the resource key for the status message while the document is being updated. </div></div><div class=CToolTip id="tt34"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.containsValidationErrorsResource</td></tr></table></blockquote>Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors. </div></div><div class=CToolTip id="tt35"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.alreadyConnectedResource</td></tr></table></blockquote>Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected. </div></div><!--END_ND_TOOLTIPS-->
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>