2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
< html lang = "en" >
< head >
2018-12-14 12:08:55 +00:00
<!-- Generated by javadoc (10.0.2) on Fri Dec 14 12:03:14 UTC 2018 -->
2018-12-14 11:54:12 +00:00
< title > com.mxgraph.util (mxGraph 3.9.12 API Specification)< / title >
2018-11-06 11:46:01 +00:00
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
2018-12-14 11:54:12 +00:00
< meta name = "date" content = "2018-12-14" >
2014-04-01 11:30:48 +00:00
< link rel = "stylesheet" type = "text/css" href = "../../../stylesheet.css" title = "Style" >
2018-11-06 11:46:01 +00:00
< link rel = "stylesheet" type = "text/css" href = "../../../jquery/jquery-ui.css" title = "Style" >
2016-06-02 09:57:18 +00:00
< script type = "text/javascript" src = "../../../script.js" > < / script >
2018-11-06 11:46:01 +00:00
< 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-1.10.2.js" > < / script >
< script type = "text/javascript" src = "../../../jquery/jquery-ui.js" > < / script >
2014-04-01 11:30:48 +00:00
< / head >
< body >
< script type = "text/javascript" > < ! - -
2016-06-02 09:57:18 +00:00
try {
if (location.href.indexOf('is-external=true') == -1) {
2018-12-14 11:54:12 +00:00
parent.document.title="com.mxgraph.util (mxGraph 3.9.12 API Specification)";
2016-06-02 09:57:18 +00:00
}
}
catch(err) {
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
2018-11-06 11:46:01 +00:00
var pathtoroot = "../../../";loadScripts(document, 'script');< / script >
2014-04-01 11:30:48 +00:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2018-11-06 11:46:01 +00:00
< div class = "fixedNav" >
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2016-06-02 09:57:18 +00:00
< div class = "topNav" > < a name = "navbar.top" >
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
< / a >
< div class = "skipNav" > < a href = "#skip.navbar.top" title = "Skip navigation links" > Skip navigation links< / a > < / div >
< a name = "navbar.top.firstrow" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../overview-summary.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 >
2018-12-14 11:54:12 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 3.9.12< / b > < / p > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" >
2016-06-02 09:57:18 +00:00
< li > < a href = "../../../com/mxgraph/swing/view/package-summary.html" > Prev Package< / a > < / li >
< li > < a href = "../../../com/mxgraph/util/png/package-summary.html" > Next Package< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" >
< li > < a href = "../../../index.html?com/mxgraph/util/package-summary.html" target = "_top" > Frames< / a > < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "package-summary.html" target = "_top" > No Frames< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" id = "allclasses_navbar_top" >
2016-06-02 09:57:18 +00:00
< li > < a href = "../../../allclasses-noframe.html" > All Classes< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
2018-11-06 11:46:01 +00:00
< 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 >
2014-04-01 11:30:48 +00:00
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
< / script >
2018-11-06 11:46:01 +00:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2014-04-01 11:30:48 +00:00
< / div >
2016-06-02 09:57:18 +00:00
< a name = "skip.navbar.top" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a > < / div >
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
2018-11-06 11:46:01 +00:00
< / div >
< div class = "navPadding" > < / div >
< script type = "text/javascript" > < ! - -
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
< / script >
2014-04-01 11:30:48 +00:00
< div class = "header" >
< h1 title = "Package" class = "title" > Package com.mxgraph.util< / h1 >
2018-11-06 11:46:01 +00:00
< / div >
< div class = "contentContainer" > < a name = "package.description" >
<!-- -->
< / a >
2014-04-01 11:30:48 +00:00
< div class = "block" > This package provides utility classes such as mxConstants, mxUtils, mxPoint
2012-05-21 20:32:26 +00:00
and mxRectangle as well as all classes for custom events and the undo
2014-04-01 11:30:48 +00:00
history.< / div >
< ul class = "blockList" >
< li class = "blockList" >
2018-11-06 11:46:01 +00:00
< table class = "typeSummary" summary = "Interface Summary table, listing interfaces, and an explanation" >
2014-04-01 11:30:48 +00:00
< 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" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxEventSource.mxIEventListener.html" title = "interface in com.mxgraph.util" > mxEventSource.mxIEventListener< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Defines the requirements for an object that listens to an event source.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html" title = "interface in com.mxgraph.util" > mxUndoableEdit.mxUndoableChange< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Defines the requirements for an undoable change.< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / li >
< li class = "blockList" >
2018-11-06 11:46:01 +00:00
< table class = "typeSummary" summary = "Class Summary table, listing classes, and an explanation" >
2014-04-01 11:30:48 +00:00
< 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" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxBase64.html" title = "class in com.mxgraph.util" > mxBase64< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > A very fast and memory efficient class to encode and decode to and from BASE64 in full accordance
2012-05-21 20:32:26 +00:00
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
2014-04-01 11:30:48 +00:00
about 50% faster for decoding large arrays.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxCellRenderer.html" title = "class in com.mxgraph.util" > mxCellRenderer< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxCellRenderer.CanvasFactory.html" title = "class in com.mxgraph.util" > mxCellRenderer.CanvasFactory< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxConstants.html" title = "class in com.mxgraph.util" > mxConstants< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Contains all global constants.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxDomUtils.html" title = "class in com.mxgraph.util" > mxDomUtils< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Contains various DOM API helper methods for use with mxGraph.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxEvent.html" title = "class in com.mxgraph.util" > mxEvent< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Contains all global constants.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxEventObject.html" title = "class in com.mxgraph.util" > mxEventObject< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Base class for objects that dispatch named events.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Base class for objects that dispatch named events.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxHtmlColor.html" title = "class in com.mxgraph.util" > mxHtmlColor< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Contains various helper methods for use with mxGraph.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxImage.html" title = "class in com.mxgraph.util" > mxImage< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Implements a 2-dimensional point with double precision coordinates.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxImageBundle.html" title = "class in com.mxgraph.util" > mxImageBundle< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Maps from keys to base64 encoded images or file locations.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxLightweightLabel.html" title = "class in com.mxgraph.util" > mxLightweightLabel< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxLine.html" title = "class in com.mxgraph.util" > mxLine< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Implements a line with double precision coordinates.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Implements a 2-dimensional point with double precision coordinates.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Implements a 2-dimensional rectangle with double precision coordinates.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxResources.html" title = "class in com.mxgraph.util" > mxResources< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxSpline.html" title = "class in com.mxgraph.util" > mxSpline< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxSpline1D.html" title = "class in com.mxgraph.util" > mxSpline1D< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > One dimension of a spline curve< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxStyleUtils.html" title = "class in com.mxgraph.util" > mxStyleUtils< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Contains various style helper methods for use with mxGraph.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxUndoableEdit.html" title = "class in com.mxgraph.util" > mxUndoableEdit< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Implements a 2-dimensional rectangle with double precision coordinates.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxUndoManager.html" title = "class in com.mxgraph.util" > mxUndoManager< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Implements an undo history.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxUtils.html" title = "class in com.mxgraph.util" > mxUtils< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Contains various helper methods for use with mxGraph.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/util/mxXmlUtils.html" title = "class in com.mxgraph.util" > mxXmlUtils< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Contains various XML helper methods for use with mxGraph.< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / li >
< / ul >
< / div >
2012-05-21 20:32:26 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2016-06-02 09:57:18 +00:00
< div class = "bottomNav" > < a name = "navbar.bottom" >
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
< / a >
< div class = "skipNav" > < a href = "#skip.navbar.bottom" title = "Skip navigation links" > Skip navigation links< / a > < / div >
< a name = "navbar.bottom.firstrow" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../overview-summary.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 >
2018-12-14 11:54:12 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 3.9.12< / b > < / p > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" >
2016-06-02 09:57:18 +00:00
< li > < a href = "../../../com/mxgraph/swing/view/package-summary.html" > Prev Package< / a > < / li >
< li > < a href = "../../../com/mxgraph/util/png/package-summary.html" > Next Package< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" >
< li > < a href = "../../../index.html?com/mxgraph/util/package-summary.html" target = "_top" > Frames< / a > < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "package-summary.html" target = "_top" > No Frames< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" id = "allclasses_navbar_bottom" >
2016-06-02 09:57:18 +00:00
< li > < a href = "../../../allclasses-noframe.html" > All Classes< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
< / script >
2018-11-06 11:46:01 +00:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2014-04-01 11:30:48 +00:00
< / div >
2016-06-02 09:57:18 +00:00
< a name = "skip.navbar.bottom" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a > < / div >
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2017-06-27 11:43:19 +00:00
< 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 >
2014-04-01 11:30:48 +00:00
< / body >
< / html >