337 lines
12 KiB
HTML
337 lines
12 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (11.0.3) on Mon Jul 15 10:38:04 UTC 2019 -->
|
|
<title>com.mxgraph.util (mxGraph 4.0.2 API Specification)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="dc.created" content="2019-07-15">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
|
|
<script type="text/javascript" src="../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="com.mxgraph.util (mxGraph 4.0.2 API Specification)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var pathtoroot = "../../../";
|
|
var useModuleDirectories = true;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../index.html">Overview</a></li>
|
|
<li class="navBarCell1Rev">Package</li>
|
|
<li>Class</li>
|
|
<li><a href="package-use.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><p><b>mxGraph 4.0.2</b></p></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<main role="main">
|
|
<div class="header">
|
|
<h1 title="Package" class="title">Package com.mxgraph.util</h1>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<section role="region"><a id="package.description">
|
|
<!-- -->
|
|
</a>
|
|
<div class="block">This package provides utility classes such as mxConstants, mxUtils, mxPoint
|
|
and mxRectangle as well as all classes for custom events and the undo
|
|
history.</div>
|
|
</section>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="typeSummary">
|
|
<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Interface</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxEventSource.mxIEventListener.html" title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Defines the requirements for an object that listens to an event source.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxUndoableEdit.mxUndoableChange.html" title="interface in com.mxgraph.util">mxUndoableEdit.mxUndoableChange</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Defines the requirements for an undoable change.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList">
|
|
<table class="typeSummary">
|
|
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Class</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxBase64.html" title="class in com.mxgraph.util">mxBase64</a></th>
|
|
<td class="colLast">
|
|
<div class="block">A very fast and memory efficient class to encode and decode to and from BASE64 in full accordance
|
|
with RFC 2045.<br><br>
|
|
On Windows XP sp1 with 1.4.2_04 and later ;), this encoder and decoder is about 10 times faster
|
|
on small arrays (10 - 1000 bytes) and 2-3 times as fast on larger arrays (10000 - 1000000 bytes)
|
|
compared to <code>sun.misc.Encoder()/Decoder()</code>.<br><br>
|
|
|
|
On byte arrays the encoder is about 20% faster than Jakarta Commons Base64 Codec for encode and
|
|
about 50% faster for decoding large arrays.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxCellRenderer.html" title="class in com.mxgraph.util">mxCellRenderer</a></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxCellRenderer.CanvasFactory.html" title="class in com.mxgraph.util">mxCellRenderer.CanvasFactory</a></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxConstants.html" title="class in com.mxgraph.util">mxConstants</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Contains all global constants.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxCurve.html" title="class in com.mxgraph.util">mxCurve</a></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxDomUtils.html" title="class in com.mxgraph.util">mxDomUtils</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Contains various DOM API helper methods for use with mxGraph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxEvent.html" title="class in com.mxgraph.util">mxEvent</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Contains all global constants.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxEventObject.html" title="class in com.mxgraph.util">mxEventObject</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Base class for objects that dispatch named events.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxEventSource.html" title="class in com.mxgraph.util">mxEventSource</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Base class for objects that dispatch named events.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxHtmlColor.html" title="class in com.mxgraph.util">mxHtmlColor</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Contains various helper methods for use with mxGraph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxImage.html" title="class in com.mxgraph.util">mxImage</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Implements a 2-dimensional point with double precision coordinates.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxImageBundle.html" title="class in com.mxgraph.util">mxImageBundle</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Maps from keys to base64 encoded images or file locations.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxLightweightLabel.html" title="class in com.mxgraph.util">mxLightweightLabel</a></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxLine.html" title="class in com.mxgraph.util">mxLine</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Implements a line with double precision coordinates.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxPoint.html" title="class in com.mxgraph.util">mxPoint</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Implements a 2-dimensional point with double precision coordinates.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Implements a 2-dimensional rectangle with double precision coordinates.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxResources.html" title="class in com.mxgraph.util">mxResources</a></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxSpline.html" title="class in com.mxgraph.util">mxSpline</a></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxSpline1D.html" title="class in com.mxgraph.util">mxSpline1D</a></th>
|
|
<td class="colLast">
|
|
<div class="block">One dimension of a spline curve</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxStyleUtils.html" title="class in com.mxgraph.util">mxStyleUtils</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Contains various style helper methods for use with mxGraph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxUndoableEdit.html" title="class in com.mxgraph.util">mxUndoableEdit</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Implements a 2-dimensional rectangle with double precision coordinates.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxUndoManager.html" title="class in com.mxgraph.util">mxUndoManager</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Implements an undo history.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><a href="mxUtils.html" title="class in com.mxgraph.util">mxUtils</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Contains various helper methods for use with mxGraph.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><a href="mxXmlUtils.html" title="class in com.mxgraph.util">mxXmlUtils</a></th>
|
|
<td class="colLast">
|
|
<div class="block">Contains various XML helper methods for use with mxGraph.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</main>
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../index.html">Overview</a></li>
|
|
<li class="navBarCell1Rev">Package</li>
|
|
<li>Class</li>
|
|
<li><a href="package-use.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><p><b>mxGraph 4.0.2</b></p></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
|
|
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
|
|
</footer>
|
|
</body>
|
|
</html>
|