153 lines
78 KiB
HTML
153 lines
78 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
|
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><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.51 -->
|
|
<!-- 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. 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. 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" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">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=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">IS_IE</a></td><td class=SDescription>True if the current browser is Internet Explorer 10 or below. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_IE6" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">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_IE11" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">IS_IE11</a></td><td class=SDescription>True if the current browser is Internet Explorer 11.x.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_EDGE" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">IS_EDGE</a></td><td class=SDescription>True if the current browser is Microsoft Edge.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_QUIRKS" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">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.IS_EM" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">IS_EM</a></td><td class=SDescription>True if the browser is IE11 in enterprise mode (IE8 standards mode).</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.VML_PREFIX" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">VML_PREFIX</a></td><td class=SDescription>Prefix for VML namespace in node names. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.OFFICE_PREFIX" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">OFFICE_PREFIX</a></td><td class=SDescription>Prefix for VML office namespace in node names. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_NS" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">IS_NS</a></td><td class=SDescription>True if the current browser is Netscape (including Firefox).</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_OP" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">IS_OP</a></td><td class=SDescription>True if the current browser is Opera.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_OT" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">IS_OT</a></td><td class=SDescription>True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_SF" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">IS_SF</a></td><td class=SDescription>True if the current browser is Safari.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_IOS" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">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 SMarked"><td class=SEntry><a href="#mxClient.IS_GC" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">IS_GC</a></td><td class=SDescription>True if the current browser is Google Chrome.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_CHROMEAPP" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">IS_CHROMEAPP</a></td><td class=SDescription>True if the this is running inside a Chrome App.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_FF" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">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=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">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=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">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=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">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_WIN" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')">IS_WIN</a></td><td class=SDescription>True if the client is a Windows.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxClient.IS_MAC" id=link22 onMouseOver="ShowTip(event, 'tt22', 'link22')" onMouseOut="HideTip('tt22')">IS_MAC</a></td><td class=SDescription>True if the client is a Mac.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.IS_TOUCH" id=link23 onMouseOver="ShowTip(event, 'tt23', 'link23')" onMouseOut="HideTip('tt23')">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 SMarked"><td class=SEntry><a href="#mxClient.IS_POINTER" id=link24 onMouseOver="ShowTip(event, 'tt24', 'link24')" onMouseOut="HideTip('tt24')">IS_POINTER</a></td><td class=SDescription>True if this device supports Microsoft pointer events (always false on Macs).</td></tr><tr class="SVariable SIndent2"><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=link25 onMouseOver="ShowTip(event, 'tt25', 'link25')" onMouseOut="HideTip('tt25')">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=link26 onMouseOver="ShowTip(event, 'tt20', 'link26')" onMouseOut="HideTip('tt20')">mxClient.IS_VML</a> or <a href="#mxClient.IS_SVG" class=LVariable id=link27 onMouseOver="ShowTip(event, 'tt18', 'link27')" onMouseOut="HideTip('tt18')">mxClient.IS_SVG</a> is true.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxClient.link" id=link28 onMouseOver="ShowTip(event, 'tt26', 'link28')" onMouseOut="HideTip('tt26')">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=link29 onMouseOver="ShowTip(event, 'tt27', 'link29')" onMouseOut="HideTip('tt27')">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=link30 onMouseOver="ShowTip(event, 'tt28', 'link30')" onMouseOut="HideTip('tt28')">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=link31 onMouseOver="ShowTip(event, 'tt29', 'link31')" onMouseOut="HideTip('tt29')">mxGraph</a> and <a href="editor/mxEditor-js.html#mxEditor" class=LClass id=link32 onMouseOver="ShowTip(event, 'tt30', 'link32')" onMouseOut="HideTip('tt30')">mxEditor</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxClient.mxForceIncludes" >mxForceIncludes</a></td><td class=SDescription>Optional global config variable to force loading the JavaScript files in development mode. </td></tr><tr class="SVariable SIndent2 SMarked"><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"><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 SMarked"><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"><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 SMarked"><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"><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 SMarked"><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><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">VERSION: '3.9.0'</td></tr></table></blockquote><p>Contains the current version of the mxGraph library. The strings that communicate versions of mxGraph use the following format.</p><p>versionMajor.versionMinor.buildNumber.revisionNumber</p><p>Current version is 3.9.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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_IE: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'MSIE'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote><p>True if the current browser is Internet Explorer 10 or below. Use <a href="#mxClient.IS_IE11" class=LVariable id=link33 onMouseOver="ShowTip(event, 'tt4', 'link33')" onMouseOut="HideTip('tt4')">mxClient.IS_IE11</a> to detect IE 11.</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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_IE6: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'MSIE 6'</td><td class="PAfterParameters prettyprint "nowrap>) ></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_IE11"></a>IS_IE11</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>IS_IE11: !!navigator.userAgent.match(</td><td class="PParameter prettyprint " nowrap>/Trident\/7\./</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Internet Explorer 11.x.</p></div></div></div>
|
|
|
|
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.IS_EDGE"></a>IS_EDGE</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>IS_EDGE: !!navigator.userAgent.match(</td><td class="PParameter prettyprint " nowrap>/Edge\//</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>True if the current browser is Microsoft Edge.</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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_QUIRKS: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'MSIE'</td><td class="PAfterParameters prettyprint "nowrap>) ></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.IS_EM"></a>IS_EM</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 "colspan=2>IS_EM: 'spellcheck' in document.createElement(</td></tr><tr><td> </td><td class="PParameter prettyprint " nowrap width=100%>'textarea'</td></tr><tr><td class="PAfterParameters prettyprint "colspan=2>) && document.documentMode</td></tr></table></td></tr></table></blockquote><p>True if the browser is IE11 in enterprise mode (IE8 standards 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><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">VML_PREFIX: 'v'</td></tr></table></blockquote><p>Prefix for VML namespace in node names. Default is ‘v’.</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><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">OFFICE_PREFIX: 'o'</td></tr></table></blockquote><p>Prefix for VML office namespace in node names. Default is ‘o’.</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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_NS: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Mozilla/'</td><td class="PAfterParameters prettyprint "nowrap>) ></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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_OP: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Opera/'</td><td class="PAfterParameters prettyprint "nowrap>) ></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><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_OT: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Presto/'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote><p>True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or 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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_SF: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'AppleWebKit/'</td><td class="PAfterParameters prettyprint "nowrap>) ></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><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_IOS: (</td><td class="PTypePrefix prettyprint " nowrap>navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true </td><td class="PType prettyprint " nowrap>: </td><td class="PParameter prettyprint " nowrap>false</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_GC: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Chrome/'</td><td class="PAfterParameters prettyprint "nowrap>) ></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_CHROMEAPP"></a>IS_CHROMEAPP</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">IS_CHROMEAPP: window.chrome !</td></tr></table></blockquote><p>True if the this is running inside a Chrome App.</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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_FF: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Firefox/'</td><td class="PAfterParameters prettyprint "nowrap>) ></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. 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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_SVG: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Firefox/'</td><td class="PAfterParameters prettyprint "nowrap>) ></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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=2>NO_FO: !document.createElementNS || document.createElementNS(</td></tr><tr><td> </td><td class="PParameter prettyprint " nowrap width=100%>'http://www.w3.org/2000/svg',</td></tr><tr><td> </td><td class="PParameter prettyprint " nowrap width=100%>'foreignObject'</td></tr><tr><td class="PAfterParameters prettyprint "colspan=2>) !</td></tr></table></td></tr></table></blockquote><p>True if foreignObject support is not available. This is the case for Opera, older SVG-based browsers and all versions of IE.</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"><tr><td class="prettyprint">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_WIN"></a>IS_WIN</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>IS_WIN: navigator.appVersion.indexOf(</td><td class="PParameter prettyprint " nowrap>'Win'</td><td class="PAfterParameters prettyprint "nowrap>) > 0</td></tr></table></td></tr></table></blockquote><p>True if the client is a Windows.</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><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_MAC: navigator.appVersion.indexOf(</td><td class="PParameter prettyprint " nowrap>'Mac'</td><td class="PAfterParameters prettyprint "nowrap>) > 0</td></tr></table></td></tr></table></blockquote><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><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">IS_TOUCH: 'ontouchstart' in document.documentElement</td></tr></table></blockquote><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><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">IS_POINTER: window.PointerEvent !</td></tr></table></blockquote><p>True if this device supports Microsoft pointer events (always false on Macs).</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"><tr><td class="prettyprint">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=link34 onMouseOver="ShowTip(event, 'tt20', 'link34')" onMouseOut="HideTip('tt20')">mxClient.IS_VML</a> or <a href="#mxClient.IS_SVG" class=LVariable id=link35 onMouseOver="ShowTip(event, 'tt18', 'link35')" onMouseOut="HideTip('tt18')">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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>link: function(</td><td class="PParameter prettyprint " nowrap>rel,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>href,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>doc</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a link node to the head of the document. 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. 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"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>include: function(</td><td class="PParameter prettyprint " nowrap>src</td><td class="PAfterParameters prettyprint "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. 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"><tr><td class="prettyprint">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=link36 onMouseOver="ShowTip(event, 'tt29', 'link36')" onMouseOut="HideTip('tt29')">mxGraph</a> and <a href="editor/mxEditor-js.html#mxEditor" class=LClass id=link37 onMouseOver="ShowTip(event, 'tt30', 'link37')" onMouseOut="HideTip('tt30')">mxEditor</a>. Default is true. NOTE: This is a global variable, not a variable of mxClient.</p><blockquote><pre class="prettyprint"><script type="text/javascript">
|
|
var mxLoadResources = false;
|
|
</script>
|
|
<script type="text/javascript" src="/path/to/core/directory/js/mxClient.js"></script></pre></blockquote></div></div></div>
|
|
|
|
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxClient.mxForceIncludes"></a>mxForceIncludes</h3><div class=CBody><p>Optional global config variable to force loading the JavaScript files in development mode. Default is undefined. NOTE: This is a global variable, not a variable of mxClient.</p><blockquote><pre class="prettyprint"><script type="text/javascript">
|
|
var mxLoadResources = true;
|
|
</script>
|
|
<script type="text/javascript" src="/path/to/core/directory/js/mxClient.js"></script></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. Default is true. NOTE: This is a global variable, not a variable of mxClient.</p><blockquote><pre class="prettyprint"><script type="text/javascript">
|
|
var mxResourceExtension = '.txt';
|
|
</script>
|
|
<script type="text/javascript" src="/path/to/core/directory/js/mxClient.js"></script></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. Default is true. NOTE: This is a global variable, not a variable of mxClient.</p><blockquote><pre class="prettyprint"><script type="text/javascript">
|
|
var mxLoadStylesheets = false;
|
|
</script>
|
|
<script type="text/javascript" src="/path/to/core/directory/js/mxClient.js"></script></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. Default is ‘.’. Set mxBasePath prior to loading the mxClient library as follows to override this setting:</p><blockquote><pre class="prettyprint"><script type="text/javascript">
|
|
mxBasePath = '/path/to/core/directory';
|
|
</script>
|
|
<script type="text/javascript" src="/path/to/core/directory/js/mxClient.js"></script></pre></blockquote><p>When using a relative path, the path is relative to the URL of the page that contains the assignment. 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. Default is <a href="#mxClient.basePath" class=LVariable id=link38 onMouseOver="ShowTip(event, 'tt31', 'link38')" onMouseOut="HideTip('tt31')">mxClient.basePath</a> + ‘/images’. Set mxImageBasePath prior to loading the mxClient library as follows to override this setting:</p><blockquote><pre class="prettyprint"><script type="text/javascript">
|
|
mxImageBasePath = '/path/to/image/directory';
|
|
</script>
|
|
<script type="text/javascript" src="/path/to/core/directory/js/mxClient.js"></script></pre></blockquote><p>When using a relative path, the path is relative to the URL of the page that contains the assignment. 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. The special value ‘none’ will disable all built-in internationalization and resource loading. See <a href="util/mxResources-js.html#mxResources.getSpecialBundle" class=LFunction id=link39 onMouseOver="ShowTip(event, 'tt32', 'link39')" onMouseOut="HideTip('tt32')">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"><script type="text/javascript">
|
|
mxLanguage = 'en';
|
|
</script>
|
|
<script type="text/javascript" src="js/mxClient.js"></script></pre></blockquote><p>If internationalization is disabled, then the following variables should be overridden to reflect the current language of the system. These variables are cleared when i18n is disabled. <a href="editor/mxEditor-js.html#mxEditor.askZoomResource" class=LVariable id=link40 onMouseOver="ShowTip(event, 'tt33', 'link40')" onMouseOut="HideTip('tt33')">mxEditor.askZoomResource</a>, <a href="editor/mxEditor-js.html#mxEditor.lastSavedResource" class=LVariable id=link41 onMouseOver="ShowTip(event, 'tt34', 'link41')" onMouseOut="HideTip('tt34')">mxEditor.lastSavedResource</a>, <a href="editor/mxEditor-js.html#mxEditor.currentFileResource" class=LVariable id=link42 onMouseOver="ShowTip(event, 'tt35', 'link42')" onMouseOut="HideTip('tt35')">mxEditor.currentFileResource</a>, <a href="editor/mxEditor-js.html#mxEditor.propertiesResource" class=LVariable id=link43 onMouseOver="ShowTip(event, 'tt36', 'link43')" onMouseOut="HideTip('tt36')">mxEditor.propertiesResource</a>, <a href="editor/mxEditor-js.html#mxEditor.tasksResource" class=LVariable id=link44 onMouseOver="ShowTip(event, 'tt37', 'link44')" onMouseOut="HideTip('tt37')">mxEditor.tasksResource</a>, <a href="editor/mxEditor-js.html#mxEditor.helpResource" class=LVariable id=link45 onMouseOver="ShowTip(event, 'tt38', 'link45')" onMouseOut="HideTip('tt38')">mxEditor.helpResource</a>, <a href="editor/mxEditor-js.html#mxEditor.outlineResource" class=LVariable id=link46 onMouseOver="ShowTip(event, 'tt39', 'link46')" onMouseOut="HideTip('tt39')">mxEditor.outlineResource</a>, <a href="handler/mxElbowEdgeHandler-js.html#mxElbowEdgeHandler.doubleClickOrientationResource" class=LVariable id=link47 onMouseOver="ShowTip(event, 'tt40', 'link47')" onMouseOut="HideTip('tt40')">mxElbowEdgeHandler.doubleClickOrientationResource</a>, <a href="util/mxUtils-js.html#mxUtils.errorResource" class=LVariable id=link48 onMouseOver="ShowTip(event, 'tt41', 'link48')" onMouseOut="HideTip('tt41')">mxUtils.errorResource</a>, <a href="util/mxUtils-js.html#mxUtils.closeResource" class=LVariable id=link49 onMouseOver="ShowTip(event, 'tt42', 'link49')" onMouseOut="HideTip('tt42')">mxUtils.closeResource</a>, <a href="view/mxGraphSelectionModel-js.html#mxGraphSelectionModel.doneResource" class=LVariable id=link50 onMouseOver="ShowTip(event, 'tt43', 'link50')" onMouseOut="HideTip('tt43')">mxGraphSelectionModel.doneResource</a>, <a href="view/mxGraphSelectionModel-js.html#mxGraphSelectionModel.updatingSelectionResource" class=LVariable id=link51 onMouseOver="ShowTip(event, 'tt44', 'link51')" onMouseOut="HideTip('tt44')">mxGraphSelectionModel.updatingSelectionResource</a>, <a href="view/mxGraphView-js.html#mxGraphView.doneResource" class=LVariable id=link52 onMouseOver="ShowTip(event, 'tt45', 'link52')" onMouseOut="HideTip('tt45')">mxGraphView.doneResource</a>, <a href="view/mxGraphView-js.html#mxGraphView.updatingDocumentResource" class=LFunction id=link53 onMouseOver="ShowTip(event, 'tt46', 'link53')" onMouseOut="HideTip('tt46')">mxGraphView.updatingDocumentResource</a>, <mxCellRenderer.collapseExpandResource>, <a href="view/mxGraph-js.html#mxGraph.containsValidationErrorsResource" class=LVariable id=link54 onMouseOver="ShowTip(event, 'tt47', 'link54')" onMouseOut="HideTip('tt47')">mxGraph.containsValidationErrorsResource</a> and <a href="view/mxGraph-js.html#mxGraph.alreadyConnectedResource" class=LVariable id=link55 onMouseOver="ShowTip(event, 'tt48', 'link55')" onMouseOut="HideTip('tt48')">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. Any resources for this language will only load the common resource file, but not the language-specific resource file. Default is ‘en’.</p><p>Set mxDefaultLanguage prior to loading the mxClient library as follows to override this setting:</p><blockquote><pre class="prettyprint"><script type="text/javascript">
|
|
mxDefaultLanguage = 'de';
|
|
</script>
|
|
<script type="text/javascript" src="js/mxClient.js"></script></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. The default language does not have to be part of this list. See <a href="util/mxResources-js.html#mxResources.isLanguageSupported" class=LFunction id=link56 onMouseOver="ShowTip(event, 'tt49', 'link56')" onMouseOut="HideTip('tt49')">mxResources.isLanguageSupported</a>.</p><blockquote><pre class="prettyprint"><script type="text/javascript">
|
|
mxLanguages = ['de', 'it', 'fr'];
|
|
</script>
|
|
<script type="text/javascript" src="js/mxClient.js"></script></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/mxHandle-js.html">mxHandle</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxKeyHandler-js.html">mxKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxPanningHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxPopupMenuHandler-js.html">mxPopupMenuHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxRubberband-js.html">mxRubberband</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxSelectionCellsHandler-js.html">mxSelectionCellsHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxTooltipHandler-js.html">mxTooltipHandler</a></div></div><div class=MEntry><div class=MFile><a href="handler/mxVertexHandler-js.html">mxVertexHandler</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Io</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="io/mxCellCodec-js.html">mxCellCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxChildChangeCodec-js.html">mxChildChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxCodec-js.html">mxCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxCodecRegistry-js.html">mxCodecRegistry</a></div></div><div class=MEntry><div class=MFile><a href="io/mxDefaultKeyHandlerCodec-js.html">mxDefaultKeyHandlerCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxDefaultPopupMenuCodec-js.html">mxDefaultPopupMenuCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxDefaultToolbarCodec-js.html">mxDefaultToolbarCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxEditorCodec-js.html">mxEditorCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxGenericChangeCodec-js.html">mxGenericChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxGraphCodec-js.html">mxGraphCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxGraphViewCodec-js.html">mxGraphViewCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxModelCodec-js.html">mxModelCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxObjectCodec-js.html">mxObjectCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxRootChangeCodec-js.html">mxRootChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxStylesheetCodec-js.html">mxStylesheetCodec</a></div></div><div class=MEntry><div class=MFile><a href="io/mxTerminalChangeCodec-js.html">mxTerminalChangeCodec</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Layout</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Hierarchical</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Model</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html">mxGraphAbstractHierarchyCell</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxGraphHierarchyEdge-js.html">mxGraphHierarchyEdge</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxGraphHierarchyModel-js.html">mxGraphHierarchyModel</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxGraphHierarchyNode-js.html">mxGraphHierarchyNode</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/model/mxSwimlaneModel-js.html">mxSwimlaneModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/mxHierarchicalLayout-js.html">mxHierarchicalLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/mxSwimlaneLayout-js.html">mxSwimlaneLayout</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Stage</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxCoordinateAssignment-js.html">mxCoordinateAssignment</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html">mxHierarchicalLayoutStage</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html">mxMedianHybridCrossingReduction</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxMinimumCycleRemover-js.html">mxMinimumCycleRemover</a></div></div><div class=MEntry><div class=MFile><a href="layout/hierarchical/stage/mxSwimlaneOrdering-js.html">mxSwimlaneOrdering</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MFile><a href="layout/mxCircleLayout-js.html">mxCircleLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxCompactTreeLayout-js.html">mxCompactTreeLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxCompositeLayout-js.html">mxCompositeLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxEdgeLabelLayout-js.html">mxEdgeLabelLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxFastOrganicLayout-js.html">mxFastOrganicLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxGraphLayout-js.html">mxGraphLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxParallelEdgeLayout-js.html">mxParallelEdgeLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxPartitionLayout-js.html">mxPartitionLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxRadialTreeLayout-js.html">mxRadialTreeLayout</a></div></div><div class=MEntry><div class=MFile><a href="layout/mxStackLayout-js.html">mxStackLayout</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Model</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="model/mxCell-js.html">mxCell</a></div></div><div class=MEntry><div class=MFile><a href="model/mxCellPath-js.html">mxCellPath</a></div></div><div class=MEntry><div class=MFile><a href="model/mxGeometry-js.html">mxGeometry</a></div></div><div class=MEntry><div class=MFile><a href="model/mxGraphModel-js.html">mxGraphModel</a></div></div></div></div></div><div class=MEntry><div class=MFile 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/mxArrowConnector-js.html">mxArrowConnector</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/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/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/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/General.html">Everything</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"><tr><td class="prettyprint">VERSION: '3.9.0'</td></tr></table></blockquote>Contains the current version of the mxGraph library. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_IE: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'MSIE'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote>True if the current browser is Internet Explorer 10 or below. </div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_IE6: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'MSIE 6'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote>True if the current browser is Internet Explorer 6.x.</div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_IE11: !!navigator.userAgent.match(</td><td class="PParameter prettyprint " nowrap>/Trident\/7\./</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>True if the current browser is Internet Explorer 11.x.</div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_EDGE: !!navigator.userAgent.match(</td><td class="PParameter prettyprint " nowrap>/Edge\//</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>True if the current browser is Microsoft Edge.</div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_QUIRKS: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'MSIE'</td><td class="PAfterParameters prettyprint "nowrap>) ></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="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=2>IS_EM: 'spellcheck' in document.createElement(</td></tr><tr><td> </td><td class="PParameter prettyprint " nowrap width=100%>'textarea'</td></tr><tr><td class="PAfterParameters prettyprint "colspan=2>) && document.documentMode</td></tr></table></td></tr></table></blockquote>True if the browser is IE11 in enterprise mode (IE8 standards mode).</div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">VML_PREFIX: 'v'</td></tr></table></blockquote>Prefix for VML namespace in node names. </div></div><div class=CToolTip id="tt9"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">OFFICE_PREFIX: 'o'</td></tr></table></blockquote>Prefix for VML office namespace in node names. </div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_NS: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Mozilla/'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote>True if the current browser is Netscape (including Firefox).</div></div><div class=CToolTip id="tt11"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_OP: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Opera/'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote>True if the current browser is Opera.</div></div><div class=CToolTip id="tt12"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_OT: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Presto/'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote>True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.</div></div><div class=CToolTip id="tt13"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_SF: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'AppleWebKit/'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote>True if the current browser is Safari.</div></div><div class=CToolTip id="tt14"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_IOS: (</td><td class="PTypePrefix prettyprint " nowrap>navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true </td><td class="PType prettyprint " nowrap>: </td><td class="PParameter prettyprint " nowrap>false</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the user agent is an iPad, iPhone or iPod.</div></div><div class=CToolTip id="tt15"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_GC: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Chrome/'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote>True if the current browser is Google Chrome.</div></div><div class=CToolTip id="tt16"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">IS_CHROMEAPP: window.chrome !</td></tr></table></blockquote>True if the this is running inside a Chrome App.</div></div><div class=CToolTip id="tt17"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_FF: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Firefox/'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote>True if the current browser is Firefox.</div></div><div class=CToolTip id="tt18"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_SVG: navigator.userAgent.indexOf(</td><td class="PParameter prettyprint " nowrap>'Firefox/'</td><td class="PAfterParameters prettyprint "nowrap>) ></td></tr></table></td></tr></table></blockquote>True if the browser supports SVG.</div></div><div class=CToolTip id="tt19"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "colspan=2>NO_FO: !document.createElementNS || document.createElementNS(</td></tr><tr><td> </td><td class="PParameter prettyprint " nowrap width=100%>'http://www.w3.org/2000/svg',</td></tr><tr><td> </td><td class="PParameter prettyprint " nowrap width=100%>'foreignObject'</td></tr><tr><td class="PAfterParameters prettyprint "colspan=2>) !</td></tr></table></td></tr></table></blockquote>True if foreignObject support is not available. </div></div><div class=CToolTip id="tt20"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">IS_VML: navigator.appName.toUpperCase()</td></tr></table></blockquote>True if the browser supports VML.</div></div><div class=CToolTip id="tt21"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_WIN: navigator.appVersion.indexOf(</td><td class="PParameter prettyprint " nowrap>'Win'</td><td class="PAfterParameters prettyprint "nowrap>) > 0</td></tr></table></td></tr></table></blockquote>True if the client is a Windows.</div></div><div class=CToolTip id="tt22"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>IS_MAC: navigator.appVersion.indexOf(</td><td class="PParameter prettyprint " nowrap>'Mac'</td><td class="PAfterParameters prettyprint "nowrap>) > 0</td></tr></table></td></tr></table></blockquote>True if the client is a Mac.</div></div><div class=CToolTip id="tt23"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">IS_TOUCH: 'ontouchstart' in document.documentElement</td></tr></table></blockquote>True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).</div></div><div class=CToolTip id="tt24"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">IS_POINTER: window.PointerEvent !</td></tr></table></blockquote>True if this device supports Microsoft pointer events (always false on Macs).</div></div><div class=CToolTip id="tt25"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">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="tt26"><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>link: function(</td><td class="PParameter prettyprint " nowrap>rel,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>href,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>doc</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Adds a link node to the head of the document. </div></div><div class=CToolTip id="tt27"><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>include: function(</td><td class="PParameter prettyprint " nowrap>src</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Dynamically adds a script node to the document header.</div></div><div class=CToolTip id="tt28"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">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="tt29"><div class=CClass>Extends mxEventSource to implement a graph component for the browser. </div></div><div class=CToolTip id="tt30"><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="tt31"><div class=CVariable>Basepath for all URLs in the core without trailing slash. </div></div><div class=CToolTip id="tt32"><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>getSpecialBundle: function(</td><td class="PParameter prettyprint " nowrap>basename,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>lan</td><td class="PAfterParameters prettyprint "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="tt33"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEditor.prototype.askZoomResource</td></tr></table></blockquote>Specifies the resource key for the zoom dialog. </div></div><div class=CToolTip id="tt34"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEditor.prototype.lastSavedResource</td></tr></table></blockquote>Specifies the resource key for the last saved info. </div></div><div class=CToolTip id="tt35"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEditor.prototype.currentFileResource</td></tr></table></blockquote>Specifies the resource key for the current file info. </div></div><div class=CToolTip id="tt36"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEditor.prototype.propertiesResource</td></tr></table></blockquote>Specifies the resource key for the properties window title. </div></div><div class=CToolTip id="tt37"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEditor.prototype.tasksResource</td></tr></table></blockquote>Specifies the resource key for the tasks window title. </div></div><div class=CToolTip id="tt38"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEditor.prototype.helpResource</td></tr></table></blockquote>Specifies the resource key for the help window title. </div></div><div class=CToolTip id="tt39"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxEditor.prototype.outlineResource</td></tr></table></blockquote>Specifies the resource key for the outline window title. </div></div><div class=CToolTip id="tt40"><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="tt41"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>errorResource: (</td><td class="PTypePrefix prettyprint " nowrap>mxClient.</td><td class="PType prettyprint " nowrap>language </td><td class="PParameter prettyprint " nowrap>!</td><td class="PDefaultValuePrefix prettyprint "> = </td><td class="PDefaultValue prettyprint " width=100%> 'none'</td><td class="PAfterParameters prettyprint "nowrap>) ? 'error' : ''</td></tr></table></td></tr></table></blockquote>Specifies the resource key for the title of the error window. </div></div><div class=CToolTip id="tt42"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>closeResource: (</td><td class="PTypePrefix prettyprint " nowrap>mxClient.</td><td class="PType prettyprint " nowrap>language </td><td class="PParameter prettyprint " nowrap>!</td><td class="PDefaultValuePrefix prettyprint "> = </td><td class="PDefaultValue prettyprint " width=100%> 'none'</td><td class="PAfterParameters prettyprint "nowrap>) ? 'close' : ''</td></tr></table></td></tr></table></blockquote>Specifies the resource key for the label of the close button. </div></div><div class=CToolTip id="tt43"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">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="tt44"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">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="tt45"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">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="tt46"><div class=CFunction>Specifies the resource key for the status message while the document is being updated. </div></div><div class=CToolTip id="tt47"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">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="tt48"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">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><div class=CToolTip id="tt49"><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>isLanguageSupported: function(</td><td class="PParameter prettyprint " nowrap>lan</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Hook for subclassers to disable support for a given language. </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> |