2019-07-02 06:45:58 +00:00
<!DOCTYPE HTML>
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
< html lang = "en" >
< head >
2020-10-28 16:11:03 +00:00
<!-- Generated by javadoc (11.0.9) on Wed Oct 28 16:08:27 UTC 2020 -->
< title > mxGraphView (mxGraph 4.2.2 API Specification)< / title >
2018-11-06 11:46:01 +00:00
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
2020-10-28 14:58:34 +00:00
< meta name = "dc.created" content = "2020-10-28" >
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]-->
2020-10-28 16:11:03 +00:00
< script type = "text/javascript" src = "../../../jquery/jquery-3.5.1.js" > < / script >
2018-11-06 11:46:01 +00:00
< 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) {
2020-10-28 16:11:03 +00:00
parent.document.title="mxGraphView (mxGraph 4.2.2 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
//-->
2019-07-02 06:45:58 +00:00
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10};
2016-06-02 09:57:18 +00:00
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
2019-07-02 06:45:58 +00:00
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');< / script >
2014-04-01 11:30:48 +00:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2019-07-02 06:45:58 +00:00
< header role = "banner" >
< nav role = "navigation" >
2018-11-06 11:46:01 +00:00
< div class = "fixedNav" >
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
< div class = "topNav" > < a id = "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 >
2019-07-02 06:45:58 +00:00
< a id = "navbar.top.firstrow" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
2019-07-02 06:45:58 +00:00
< li > < a href = "../../../index.html" > Overview< / a > < / li >
2014-04-01 11:30:48 +00:00
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxGraphView.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 >
2020-10-28 16:11:03 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 4.2.2< / b > < / p > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" id = "allclasses_navbar_top" >
2019-07-02 06:45:58 +00:00
< li > < a href = "../../../allclasses.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 >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#nested.class.summary" > Nested< / a > | < / li >
< li > < a href = "#field.summary" > Field< / a > | < / li >
< li > < a href = "#constructor.summary" > Constr< / a > | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#field.detail" > Field< / a > | < / li >
< li > < a href = "#constructor.detail" > Constr< / a > | < / li >
< li > < a href = "#method.detail" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / div >
2019-07-02 06:45:58 +00:00
< a id = "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 >
2019-07-02 06:45:58 +00:00
< / nav >
< / header >
2012-05-21 20:32:26 +00:00
<!-- ======== START OF CLASS DATA ======== -->
2019-07-02 06:45:58 +00:00
< main role = "main" >
2014-04-01 11:30:48 +00:00
< div class = "header" >
2019-07-02 06:45:58 +00:00
< div class = "subTitle" > < span class = "packageLabelInType" > Package< / span > < a href = "package-summary.html" > com.mxgraph.view< / a > < / div >
2014-04-01 11:30:48 +00:00
< h2 title = "Class mxGraphView" class = "title" > Class mxGraphView< / h2 >
< / div >
< div class = "contentContainer" >
< ul class = "inheritance" >
2017-11-24 16:16:54 +00:00
< li > java.lang.Object< / li >
2014-04-01 11:30:48 +00:00
< li >
< ul class = "inheritance" >
2019-07-02 06:45:58 +00:00
< li > < a href = "../util/mxEventSource.html" title = "class in com.mxgraph.util" > com.mxgraph.util.mxEventSource< / a > < / li >
2014-04-01 11:30:48 +00:00
< li >
< ul class = "inheritance" >
< li > com.mxgraph.view.mxGraphView< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< hr >
2016-06-02 09:57:18 +00:00
< pre > public class < span class = "typeNameLabel" > mxGraphView< / span >
2019-07-02 06:45:58 +00:00
extends < a href = "../util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / a > < / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Implements a view for the graph. This class is in charge of computing the
2012-05-21 20:32:26 +00:00
absolute coordinates for the relative child geometries, the points for
2014-10-03 12:49:36 +00:00
perimeters and edge styles and keeping them cached in cell states for faster
retrieval. The states are updated whenever the model or the view state
(translate, scale) changes. The scale and translate are honoured in the
bounds.
2012-05-21 20:32:26 +00:00
This class fires the following events:
mxEvent.UNDO fires after the root was changed in setCurrentRoot. The
< code > edit< / code > property contains the mxUndoableEdit which contains the
mxCurrentRootChange.
mxEvent.SCALE_AND_TRANSLATE fires after the scale and transle have been
2014-10-03 12:49:36 +00:00
changed in scaleAndTranslate. The < code > scale< / code > ,
< code > previousScale< / code > , < code > translate< / code > and
< code > previousTranslate< / code > properties contain the new and previous scale
and translate, respectively.
2012-05-21 20:32:26 +00:00
mxEvent.SCALE fires after the scale was changed in setScale. The
2014-10-03 12:49:36 +00:00
< code > scale< / code > and < code > previousScale< / code > properties contain the new
and previous scale.
2012-05-21 20:32:26 +00:00
mxEvent.TRANSLATE fires after the translate was changed in setTranslate. The
< code > translate< / code > and < code > previousTranslate< / code > properties contain
the new and previous value for translate.
mxEvent.UP and mxEvent.DOWN fire if the current root is changed by executing
2014-10-03 12:49:36 +00:00
a mxCurrentRootChange. The event name depends on the location of the root in
the cell hierarchy with respect to the current root. The < code > root< / code >
and < code > previous< / code > properties contain the new and previous root,
respectively.< / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ======== NESTED CLASS SUMMARY ======== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "nested.class.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Nested Class Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
2014-04-01 11:30:48 +00:00
< caption > < span > Nested Classes< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "col" > Class< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > static class < / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "mxGraphView.mxCurrentRootChange.html" title = "class in com.mxgraph.view" > mxGraphView.mxCurrentRootChange< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Action to change the current root in a view.< / div >
< / td >
< / tr >
< / table >
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "nested.classes.inherited.from.class.com.mxgraph.util.mxEventSource" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
2019-07-02 06:45:58 +00:00
< h3 > Nested classes/interfaces inherited from class com.mxgraph.util.< a href = "../util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / a > < / h3 >
< code > < a href = "../util/mxEventSource.mxIEventListener.html" title = "interface in com.mxgraph.util" > mxEventSource.mxIEventListener< / a > < / code > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +00:00
<!-- =========== FIELD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "field.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Field Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
2014-04-01 11:30:48 +00:00
< caption > < span > Fields< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "col" > Field< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.lang.Object< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#currentRoot" > currentRoot< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > mxCell that acts as the root of the displayed cell hierarchy.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#graph" > graph< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Reference to the enclosing graph.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#graphBounds" > graphBounds< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Caches the current bounds of the graph.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#scale" > scale< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Specifies the scale.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected java.util.Hashtable< java.lang.Object,​ < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#states" > states< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Maps from cells to cell states.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#translate" > translate< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Point that specifies the current translation.< / div >
< / td >
< / tr >
< / table >
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "fields.inherited.from.class.com.mxgraph.util.mxEventSource" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
2019-07-02 06:45:58 +00:00
< h3 > Fields inherited from class com.mxgraph.util.< a href = "../util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / a > < / h3 >
< code > < a href = "../util/mxEventSource.html#eventListeners" > eventListeners< / a > , < a href = "../util/mxEventSource.html#eventsEnabled" > eventsEnabled< / a > , < a href = "../util/mxEventSource.html#eventSource" > eventSource< / a > < / code > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "constructor.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Constructor Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
2014-04-01 11:30:48 +00:00
< caption > < span > Constructors< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "col" > Constructor< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "altColor" >
2019-07-02 06:45:58 +00:00
< th class = "colConstructorName" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#%3Cinit%3E(com.mxgraph.view.mxGraph)" > mxGraphView< / a > < / span > ​ (< a href = "mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > graph)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Constructs a new view for the given graph.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "method.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
2016-06-02 09:57:18 +00:00
< caption > < span id = "t0" class = "activeTableTab" > < span > All Methods< / span > < span class = "tabEnd" > < / span > < / span > < span id = "t2" class = "tableTab" > < span > < a href = "javascript:show(2);" > Instance Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < span id = "t4" class = "tableTab" > < span > < a href = "javascript:show(8);" > Concrete Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < / caption >
2014-04-01 11:30:48 +00:00
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "col" > Method< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i0" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#clear(java.lang.Object,boolean,boolean)" > clear< / a > < / span > ​ (java.lang.Object cell,
2014-04-01 11:30:48 +00:00
boolean force,
2018-11-06 11:46:01 +00:00
boolean recurse)< / code > < / th >
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Removes the state of the given cell and all descendants if the given cell
is not the current root.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i1" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#createState(java.lang.Object)" > createState< / a > < / span > ​ (java.lang.Object cell)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Creates and returns a cell state for the given cell.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i2" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getBoundingBox(com.mxgraph.view.mxCellState)" > getBoundingBox< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Shortcut to validateCell with visible set to true.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i3" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getBoundingBox(com.mxgraph.view.mxCellState,boolean)" > getBoundingBox< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
2018-11-06 11:46:01 +00:00
boolean recurse)< / code > < / th >
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the bounding box of the shape and the label for the given cell
state and its children if recurse is true.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i4" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getBoundingBox(java.lang.Object%5B%5D)" > getBoundingBox< / a > < / span > ​ (java.lang.Object[] cells)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the bounding box for an array of cells or null, if no cells are
specified.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i5" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getBounds(java.lang.Object%5B%5D)" > getBounds< / a > < / span > ​ (java.lang.Object[] cells)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the bounding box for an array of cells or null, if no cells are
specified.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i6" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getBounds(java.lang.Object%5B%5D,boolean)" > getBounds< / a > < / span > ​ (java.lang.Object[] cells,
2018-11-06 11:46:01 +00:00
boolean boundingBox)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the bounding box for an array of cells or null, if no cells are
specified.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i7" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > []< / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getCellStates(java.lang.Object%5B%5D)" > getCellStates< / a > < / span > ​ (java.lang.Object[] cells)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the states for the given array of cells.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i8" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > java.lang.Object< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getCurrentRoot()" > getCurrentRoot< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the current root.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i9" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxEdgeStyle.mxEdgeStyleFunction.html" title = "interface in com.mxgraph.view" > mxEdgeStyle.mxEdgeStyleFunction< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeStyle(com.mxgraph.view.mxCellState,java.util.List,java.lang.Object,java.lang.Object)" > getEdgeStyle< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
java.util.List< < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > points,
2017-11-24 16:16:54 +00:00
java.lang.Object source,
2018-11-06 11:46:01 +00:00
java.lang.Object target)< / code > < / th >
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the edge style function to be used to compute the absolute points
for the given state, control points and terminals.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i10" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getGraph()" > getGraph< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the enclosing graph.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i11" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getGraphBounds()" > getGraphBounds< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the cached diagram bounds.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i12" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getNextPoint(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,boolean)" > getNextPoint< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > opposite,
2018-11-06 11:46:01 +00:00
boolean source)< / code > < / th >
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the nearest point in the list of absolute points or the center of
the opposite terminal.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i13" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getPerimeterBounds(com.mxgraph.view.mxCellState,double)" > getPerimeterBounds< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
2018-11-06 11:46:01 +00:00
double border)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the perimeter bounds for the given terminal, edge pair.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i14" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxPerimeter.mxPerimeterFunction.html" title = "interface in com.mxgraph.view" > mxPerimeter.mxPerimeterFunction< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getPerimeterFunction(com.mxgraph.view.mxCellState)" > getPerimeterFunction< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the perimeter function for the given state.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i15" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getPerimeterPoint(com.mxgraph.view.mxCellState,com.mxgraph.util.mxPoint,boolean)" > getPerimeterPoint< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
< a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > next,
2018-11-06 11:46:01 +00:00
boolean orthogonal)< / code > < / th >
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns a point that defines the location of the intersection point
between the perimeter and the line between the center of the shape and
the given point.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i16" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getPerimeterPoint(com.mxgraph.view.mxCellState,com.mxgraph.util.mxPoint,boolean,double)" > getPerimeterPoint< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
< a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > next,
2014-04-01 11:30:48 +00:00
boolean orthogonal,
2018-11-06 11:46:01 +00:00
double border)< / code > < / th >
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns a point that defines the location of the intersection point
between the perimeter and the line between the center of the shape and
the given point.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i17" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getPoint(com.mxgraph.view.mxCellState)" > getPoint< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the absolute center point along the given edge.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i18" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getPoint(com.mxgraph.view.mxCellState,com.mxgraph.model.mxGeometry)" > getPoint< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../model/mxGeometry.html" title = "class in com.mxgraph.model" > mxGeometry< / a > geometry)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the absolute point on the edge for the given relative geometry as
a point.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i19" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getRelativePoint(com.mxgraph.view.mxCellState,double,double)" > getRelativePoint< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edgeState,
2014-04-01 11:30:48 +00:00
double x,
2018-11-06 11:46:01 +00:00
double y)< / code > < / th >
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Gets the relative point that describes the given, absolute label position
for the given edge state.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i20" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getRoutingCenterX(com.mxgraph.view.mxCellState)" > getRoutingCenterX< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the x-coordinate of the center point for automatic routing.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i21" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getRoutingCenterY(com.mxgraph.view.mxCellState)" > getRoutingCenterY< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the y-coordinate of the center point for automatic routing.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i22" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getScale()" > getScale< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the current scale.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i23" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getState(java.lang.Object)" > getState< / a > < / span > ​ (java.lang.Object cell)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the state for the given cell or null if no state is defined for
the cell.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i24" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getState(java.lang.Object,boolean)" > getState< / a > < / span > ​ (java.lang.Object cell,
2018-11-06 11:46:01 +00:00
boolean create)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the cell state for the given cell.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i25" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > java.util.Hashtable< java.lang.Object,​ < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getStates()" > getStates< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the dictionary that maps from cells to states.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i26" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getTerminalPort(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,boolean)" > getTerminalPort< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
2018-11-06 11:46:01 +00:00
boolean source)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns a cell state that represents the source or target terminal or
port for the given edge.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i27" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getTranslate()" > getTranslate< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the current translation.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i28" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > java.lang.Object< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getVisibleTerminal(java.lang.Object,boolean)" > getVisibleTerminal< / a > < / span > ​ (java.lang.Object edge,
2018-11-06 11:46:01 +00:00
boolean source)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the nearest ancestor terminal that is visible.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i29" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getWordWrapWidth(com.mxgraph.view.mxCellState)" > getWordWrapWidth< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the width for wrapping the label of the given state at scale 1.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i30" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#invalidate()" > invalidate< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Invalidates all cell states.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i31" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#invalidate(java.lang.Object)" > invalidate< / a > < / span > ​ (java.lang.Object cell)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Invalidates the state of the given cell, all its descendants and
connected edges.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i32" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#reload()" > reload< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Removes all existing cell states and invokes validate.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i33" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#removeState(java.lang.Object)" > removeState< / a > < / span > ​ (java.lang.Object cell)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Removes and returns the mxCellState for the given cell.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i34" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#revalidate()" > revalidate< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i35" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#scaleAndTranslate(double,double,double)" > scaleAndTranslate< / a > < / span > ​ (double scale,
2014-04-01 11:30:48 +00:00
double dx,
2018-11-06 11:46:01 +00:00
double dy)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the scale and translation.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i36" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > java.lang.Object< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#setCurrentRoot(java.lang.Object)" > setCurrentRoot< / a > < / span > ​ (java.lang.Object root)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets and returns the current root and fires an undo event.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i37" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#setGraphBounds(com.mxgraph.util.mxRectangle)" > setGraphBounds< / a > < / span > ​ (< a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > value)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the graph bounds.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i38" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#setScale(double)" > setScale< / a > < / span > ​ (double value)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the current scale and revalidates the view.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i39" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#setStates(java.util.Hashtable)" > setStates< / a > < / span > ​ (java.util.Hashtable< java.lang.Object,​ < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > > states)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the dictionary that maps from cells to states.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i40" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#setTranslate(com.mxgraph.util.mxPoint)" > setTranslate< / a > < / span > ​ (< a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > value)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the current translation and invalidates the view.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i41" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#toString()" > toString< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2017-11-24 16:16:54 +00:00
< / tr >
< tr id = "i42" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#transformControlPoint(com.mxgraph.view.mxCellState,com.mxgraph.util.mxPoint)" > transformControlPoint< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > pt)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Transforms the given control point to an absolute point.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i43" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateBoundingBox(com.mxgraph.view.mxCellState)" > updateBoundingBox< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the bounding box in the given cell state.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i44" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateCellState(com.mxgraph.view.mxCellState)" > updateCellState< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the given cell state.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i45" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateEdgeBounds(com.mxgraph.view.mxCellState)" > updateEdgeBounds< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the given state using the bounding box of the absolute points.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i46" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateEdgeState(com.mxgraph.view.mxCellState,com.mxgraph.model.mxGeometry)" > updateEdgeState< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../model/mxGeometry.html" title = "class in com.mxgraph.model" > mxGeometry< / a > geo)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Validates the given cell state.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i47" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateFixedTerminalPoint(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,boolean,com.mxgraph.view.mxConnectionConstraint)" > updateFixedTerminalPoint< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
2014-04-01 11:30:48 +00:00
boolean source,
2019-07-02 06:45:58 +00:00
< a href = "mxConnectionConstraint.html" title = "class in com.mxgraph.view" > mxConnectionConstraint< / a > constraint)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the fixed source or target terminal point on the given edge.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i48" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateFixedTerminalPoints(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState)" > updateFixedTerminalPoints< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > source,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > target)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Sets the initial absolute terminal points in the given state before the
edge style is computed.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i49" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateFloatingTerminalPoint(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,boolean)" > updateFloatingTerminalPoint< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > start,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > end,
2018-11-06 11:46:01 +00:00
boolean source)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the absolute terminal point in the given state for the given
start and end state, where start is the source if source is true.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i50" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateFloatingTerminalPoints(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState)" > updateFloatingTerminalPoints< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > source,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > target)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the terminal points in the given state after the edge style was
computed for the edge.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i51" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateLabel(com.mxgraph.view.mxCellState)" > updateLabel< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the label of the given state.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i52" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateLabelBounds(com.mxgraph.view.mxCellState)" > updateLabelBounds< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the label bounds in the given state.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i53" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updatePoints(com.mxgraph.view.mxCellState,java.util.List,com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState)" > updatePoints< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
java.util.List< < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > points,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > source,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > target)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the absolute points in the given state using the specified array
of points as the relative points.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i54" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateVertexLabelOffset(com.mxgraph.view.mxCellState)" > updateVertexLabelOffset< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the absoluteOffset of the given vertex cell state.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i55" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateVertexState(com.mxgraph.view.mxCellState,com.mxgraph.model.mxGeometry)" > updateVertexState< / a > < / span > ​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../model/mxGeometry.html" title = "class in com.mxgraph.model" > mxGeometry< / a > geo)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Validates the given cell state.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i56" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#validate()" > validate< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > First validates all bounds and then validates all points recursively on
all visible cells.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i57" class = "rowColor" >
< td class = "colFirst" > < code > java.lang.Object< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#validateCell(java.lang.Object)" > validateCell< / a > < / span > ​ (java.lang.Object cell)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Shortcut to validateCell with visible set to true.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i58" class = "altColor" >
< td class = "colFirst" > < code > java.lang.Object< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#validateCell(java.lang.Object,boolean)" > validateCell< / a > < / span > ​ (java.lang.Object cell,
2018-11-06 11:46:01 +00:00
boolean visible)< / code > < / th >
< td class = "colLast" >
2014-10-03 12:49:36 +00:00
< div class = "block" > Recursively creates the cell state for the given cell if visible is true
and the given cell is visible.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i59" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#validateCellState(java.lang.Object)" > validateCellState< / a > < / span > ​ (java.lang.Object cell)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Shortcut to validateCellState with recurse set to true.< / div >
< / td >
< / tr >
2017-11-24 16:16:54 +00:00
< tr id = "i60" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#validateCellState(java.lang.Object,boolean)" > validateCellState< / a > < / span > ​ (java.lang.Object cell,
2018-11-06 11:46:01 +00:00
boolean recurse)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Validates the cell state for the given cell.< / div >
< / td >
< / tr >
< / table >
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "methods.inherited.from.class.com.mxgraph.util.mxEventSource" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
2019-07-02 06:45:58 +00:00
< h3 > Methods inherited from class com.mxgraph.util.< a href = "../util/mxEventSource.html" title = "class in com.mxgraph.util" > mxEventSource< / a > < / h3 >
< code > < a href = "../util/mxEventSource.html#addListener(java.lang.String,com.mxgraph.util.mxEventSource.mxIEventListener)" > addListener< / a > , < a href = "../util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject)" > fireEvent< / a > , < a href = "../util/mxEventSource.html#fireEvent(com.mxgraph.util.mxEventObject,java.lang.Object)" > fireEvent< / a > , < a href = "../util/mxEventSource.html#getEventSource()" > getEventSource< / a > , < a href = "../util/mxEventSource.html#isEventsEnabled()" > isEventsEnabled< / a > , < a href = "../util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener)" > removeListener< / a > , < a href = "../util/mxEventSource.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener,java.lang.String)" > removeListener< / a > , < a href = "../util/mxEventSource.html#setEventsEnabled(boolean)" > setEventsEnabled< / a > , < a href = "../util/mxEventSource.html#setEventSource(java.lang.Object)" > setEventSource< / a > < / code > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "methods.inherited.from.class.java.lang.Object" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
2017-11-24 16:16:54 +00:00
< h3 > Methods inherited from class java.lang.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait< / code > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ============ FIELD DETAIL =========== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "field.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Field Detail< / h3 >
2019-07-02 06:45:58 +00:00
< a id = "graph" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > graph< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > graph< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Reference to the enclosing graph.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "currentRoot" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > currentRoot< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected java.lang.Object currentRoot< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > mxCell that acts as the root of the displayed cell hierarchy.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "graphBounds" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > graphBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > graphBounds< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Caches the current bounds of the graph.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "scale" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > scale< / h4 >
< pre > protected double scale< / pre >
< div class = "block" > Specifies the scale. Default is 1 (100%).< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "translate" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > translate< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > translate< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Point that specifies the current translation. Default is a new empty
point.< / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "states" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > states< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected java.util.Hashtable< java.lang.Object,​ < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > > states< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Maps from cells to cell states.< / div >
< / li >
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "constructor.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Constructor Detail< / h3 >
2019-07-02 06:45:58 +00:00
< a id = "<init>(com.mxgraph.view.mxGraph)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > mxGraphView< / h4 >
2019-07-02 06:45:58 +00:00
< pre > public mxGraphView​ (< a href = "mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > graph)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Constructs a new view for the given graph.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > graph< / code > - Reference to the enclosing graph.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "method.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
2019-07-02 06:45:58 +00:00
< a id = "getGraph()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getGraph< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > getGraph()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the enclosing graph.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the enclosing graph.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getStates()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getStates< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public java.util.Hashtable< java.lang.Object,​ < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > > getStates()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the dictionary that maps from cells to states.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setStates(java.util.Hashtable)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setStates< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setStates​ (java.util.Hashtable< java.lang.Object,​ < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > > states)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the dictionary that maps from cells to states.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getGraphBounds()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getGraphBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > getGraphBounds()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the cached diagram bounds.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the diagram bounds.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setGraphBounds(com.mxgraph.util.mxRectangle)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setGraphBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setGraphBounds​ (< a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > value)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the graph bounds.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getCurrentRoot()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCurrentRoot< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public java.lang.Object getCurrentRoot()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the current root.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setCurrentRoot(java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setCurrentRoot< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public java.lang.Object setCurrentRoot​ (java.lang.Object root)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets and returns the current root and fires an undo event.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > root< / code > - mxCell that specifies the root of the displayed cell
2014-10-03 12:49:36 +00:00
hierarchy.< / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the object that represents the current root.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "scaleAndTranslate(double,double,double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > scaleAndTranslate< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void scaleAndTranslate​ (double scale,
2016-06-02 09:57:18 +00:00
double dx,
double dy)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Sets the scale and translation. Fires a "scaleAndTranslate" event after
calling revalidate. Revalidate is only called if isEventsEnabled.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > scale< / code > - Decimal value that specifies the new scale (1 is 100%).< / dd >
< dd > < code > dx< / code > - X-coordinate of the translation.< / dd >
< dd > < code > dy< / code > - Y-coordinate of the translation.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getScale()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getScale< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getScale()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the current scale.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the scale.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setScale(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setScale< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setScale​ (double value)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Sets the current scale and revalidates the view. Fires a "scale" event
after calling revalidate. Revalidate is only called if isEventsEnabled.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - New scale to be used.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getTranslate()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getTranslate< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > getTranslate()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the current translation.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the translation.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setTranslate(com.mxgraph.util.mxPoint)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setTranslate< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setTranslate​ (< a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > value)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Sets the current translation and invalidates the view. Fires a property
change event for "translate" after calling revalidate. Revalidate is only
called if isEventsEnabled.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - New translation to be used.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getBounds(java.lang.Object[])" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > getBounds​ (java.lang.Object[] cells)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the bounding box for an array of cells or null, if no cells are
specified.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cells< / code > - < / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the bounding box for the given cells.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getBoundingBox(java.lang.Object[])" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBoundingBox< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > getBoundingBox​ (java.lang.Object[] cells)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the bounding box for an array of cells or null, if no cells are
specified.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cells< / code > - < / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the bounding box for the given cells.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getBounds(java.lang.Object[],boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > getBounds​ (java.lang.Object[] cells,
2016-06-02 09:57:18 +00:00
boolean boundingBox)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the bounding box for an array of cells or null, if no cells are
specified.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cells< / code > - < / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the bounding box for the given cells.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "reload()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > reload< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void reload()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Removes all existing cell states and invokes validate.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "revalidate()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > revalidate< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void revalidate()< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "invalidate()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > invalidate< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void invalidate()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Invalidates all cell states.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "clear(java.lang.Object,boolean,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > clear< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void clear​ (java.lang.Object cell,
2016-06-02 09:57:18 +00:00
boolean force,
boolean recurse)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Removes the state of the given cell and all descendants if the given cell
is not the current root.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cell< / code > - < / dd >
< dd > < code > force< / code > - < / dd >
< dd > < code > recurse< / code > - < / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "invalidate(java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > invalidate< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void invalidate​ (java.lang.Object cell)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Invalidates the state of the given cell, all its descendants and
connected edges.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "validate()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > validate< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void validate()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > First validates all bounds and then validates all points recursively on
all visible cells.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getBoundingBox(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBoundingBox< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > getBoundingBox​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Shortcut to validateCell with visible set to true.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getBoundingBox(com.mxgraph.view.mxCellState,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBoundingBox< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > getBoundingBox​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
2016-06-02 09:57:18 +00:00
boolean recurse)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the bounding box of the shape and the label for the given cell
state and its children if recurse is true.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - Cell state whose bounding box should be returned.< / dd >
< dd > < code > recurse< / code > - Boolean indicating if the children should be included.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "validateCell(java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > validateCell< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public java.lang.Object validateCell​ (java.lang.Object cell)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Shortcut to validateCell with visible set to true.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "validateCell(java.lang.Object,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > validateCell< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public java.lang.Object validateCell​ (java.lang.Object cell,
2017-11-24 16:16:54 +00:00
boolean visible)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Recursively creates the cell state for the given cell if visible is true
and the given cell is visible. If the cell is not visible but the state
exists then it is removed using removeState.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cell< / code > - Cell whose cell state should be created.< / dd >
< dd > < code > visible< / code > - Boolean indicating if the cell should be visible.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "validateCellState(java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > validateCellState< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > validateCellState​ (java.lang.Object cell)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Shortcut to validateCellState with recurse set to true.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "validateCellState(java.lang.Object,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > validateCellState< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > validateCellState​ (java.lang.Object cell,
2016-06-02 09:57:18 +00:00
boolean recurse)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Validates the cell state for the given cell.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cell< / code > - Cell whose cell state should be validated.< / dd >
< dd > < code > recurse< / code > - Boolean indicating if the children of the cell should be
validated.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateCellState(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateCellState< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateCellState​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the given cell state.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - Cell state to be updated.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateVertexState(com.mxgraph.view.mxCellState,com.mxgraph.model.mxGeometry)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateVertexState< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateVertexState​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../model/mxGeometry.html" title = "class in com.mxgraph.model" > mxGeometry< / a > geo)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Validates the given cell state.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateEdgeState(com.mxgraph.view.mxCellState,com.mxgraph.model.mxGeometry)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateEdgeState< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateEdgeState​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../model/mxGeometry.html" title = "class in com.mxgraph.model" > mxGeometry< / a > geo)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Validates the given cell state.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateVertexLabelOffset(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateVertexLabelOffset< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateVertexLabelOffset​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the absoluteOffset of the given vertex cell state. This takes
into account the label position styles.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - Cell state whose absolute offset should be updated.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateLabel(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateLabel< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateLabel​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the label of the given state.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getWordWrapWidth(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getWordWrapWidth< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getWordWrapWidth​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the width for wrapping the label of the given state at scale 1.< / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateLabelBounds(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateLabelBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateLabelBounds​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the label bounds in the given state.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateBoundingBox(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateBoundingBox< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > updateBoundingBox​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the bounding box in the given cell state.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - Cell state whose bounding box should be updated.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateFixedTerminalPoints(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateFixedTerminalPoints< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateFixedTerminalPoints​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > source,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > target)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Sets the initial absolute terminal points in the given state before the
edge style is computed.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > edge< / code > - Cell state whose initial terminal points should be updated.< / dd >
< dd > < code > source< / code > - Cell state which represents the source terminal.< / dd >
< dd > < code > target< / code > - Cell state which represents the target terminal.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateFixedTerminalPoint(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,boolean,com.mxgraph.view.mxConnectionConstraint)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateFixedTerminalPoint< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateFixedTerminalPoint​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
2016-06-02 09:57:18 +00:00
boolean source,
2019-07-02 06:45:58 +00:00
< a href = "mxConnectionConstraint.html" title = "class in com.mxgraph.view" > mxConnectionConstraint< / a > constraint)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the fixed source or target terminal point on the given edge.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > edge< / code > - Cell state whose initial terminal points should be updated.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updatePoints(com.mxgraph.view.mxCellState,java.util.List,com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updatePoints< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updatePoints​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
java.util.List< < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > points,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > source,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > target)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the absolute points in the given state using the specified array
of points as the relative points.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > edge< / code > - Cell state whose absolute points should be updated.< / dd >
< dd > < code > points< / code > - Array of points that constitute the relative points.< / dd >
< dd > < code > source< / code > - Cell state that represents the source terminal.< / dd >
< dd > < code > target< / code > - Cell state that represents the target terminal.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "transformControlPoint(com.mxgraph.view.mxCellState,com.mxgraph.util.mxPoint)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > transformControlPoint< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > transformControlPoint​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > pt)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Transforms the given control point to an absolute point.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeStyle(com.mxgraph.view.mxCellState,java.util.List,java.lang.Object,java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeStyle< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxEdgeStyle.mxEdgeStyleFunction.html" title = "interface in com.mxgraph.view" > mxEdgeStyle.mxEdgeStyleFunction< / a > getEdgeStyle​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
java.util.List< < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > points,
2017-11-24 16:16:54 +00:00
java.lang.Object source,
java.lang.Object target)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the edge style function to be used to compute the absolute points
for the given state, control points and terminals.< / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateFloatingTerminalPoints(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateFloatingTerminalPoints< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateFloatingTerminalPoints​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > source,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > target)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the terminal points in the given state after the edge style was
computed for the edge.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - Cell state whose terminal points should be updated.< / dd >
< dd > < code > source< / code > - Cell state that represents the source terminal.< / dd >
< dd > < code > target< / code > - Cell state that represents the target terminal.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateFloatingTerminalPoint(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateFloatingTerminalPoint< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateFloatingTerminalPoint​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > start,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > end,
2016-06-02 09:57:18 +00:00
boolean source)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the absolute terminal point in the given state for the given
start and end state, where start is the source if source is true.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > edge< / code > - Cell state whose terminal point should be updated.< / dd >
< dd > < code > start< / code > - Cell state for the terminal on "this" side of the edge.< / dd >
< dd > < code > end< / code > - Cell state for the terminal on the other side of the edge.< / dd >
< dd > < code > source< / code > - Boolean indicating if start is the source terminal state.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getTerminalPort(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getTerminalPort< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > getTerminalPort​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
2016-06-02 09:57:18 +00:00
boolean source)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns a cell state that represents the source or target terminal or
port for the given edge.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getPerimeterPoint(com.mxgraph.view.mxCellState,com.mxgraph.util.mxPoint,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPerimeterPoint< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > getPerimeterPoint​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
< a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > next,
2016-06-02 09:57:18 +00:00
boolean orthogonal)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns a point that defines the location of the intersection point
between the perimeter and the line between the center of the shape and
the given point.< / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getPerimeterPoint(com.mxgraph.view.mxCellState,com.mxgraph.util.mxPoint,boolean,double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPerimeterPoint< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > getPerimeterPoint​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
< a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > next,
2016-06-02 09:57:18 +00:00
boolean orthogonal,
double border)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns a point that defines the location of the intersection point
between the perimeter and the line between the center of the shape and
the given point.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > terminal< / code > - Cell state for the source or target terminal.< / dd >
< dd > < code > next< / code > - Point that lies outside of the given terminal.< / dd >
< dd > < code > orthogonal< / code > - Boolean that specifies if the orthogonal projection onto the
2014-10-03 12:49:36 +00:00
perimeter should be returned. If this is false then the
intersection of the perimeter and the line between the next
2016-06-02 09:57:18 +00:00
and the center point is returned.< / dd >
< dd > < code > border< / code > - Optional border between the perimeter and the shape.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getRoutingCenterX(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getRoutingCenterX< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getRoutingCenterX​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the x-coordinate of the center point for automatic routing.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the x-coordinate of the routing center point.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getRoutingCenterY(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getRoutingCenterY< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getRoutingCenterY​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the y-coordinate of the center point for automatic routing.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the y-coordinate of the routing center point.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getPerimeterBounds(com.mxgraph.view.mxCellState,double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPerimeterBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > getPerimeterBounds​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > terminal,
2016-06-02 09:57:18 +00:00
double border)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the perimeter bounds for the given terminal, edge pair.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getPerimeterFunction(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPerimeterFunction< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxPerimeter.mxPerimeterFunction.html" title = "interface in com.mxgraph.view" > mxPerimeter.mxPerimeterFunction< / a > getPerimeterFunction​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the perimeter function for the given state.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getNextPoint(com.mxgraph.view.mxCellState,com.mxgraph.view.mxCellState,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNextPoint< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > getNextPoint​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edge,
< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > opposite,
2016-06-02 09:57:18 +00:00
boolean source)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the nearest point in the list of absolute points or the center of
the opposite terminal.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > edge< / code > - Cell state that represents the edge.< / dd >
< dd > < code > opposite< / code > - Cell state that represents the opposite terminal.< / dd >
< dd > < code > source< / code > - Boolean indicating if the next point for the source or target
2014-10-03 12:49:36 +00:00
should be returned.< / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the nearest point of the opposite side.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getVisibleTerminal(java.lang.Object,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getVisibleTerminal< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public java.lang.Object getVisibleTerminal​ (java.lang.Object edge,
2017-11-24 16:16:54 +00:00
boolean source)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the nearest ancestor terminal that is visible. The edge appears
to be connected to this terminal on the display.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > edge< / code > - Cell whose visible terminal should be returned.< / dd >
< dd > < code > source< / code > - Boolean that specifies if the source or target terminal should
2014-10-03 12:49:36 +00:00
be returned.< / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the visible source or target terminal.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateEdgeBounds(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateEdgeBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void updateEdgeBounds​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the given state using the bounding box of the absolute points.
Also updates terminal distance, length and segments.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - Cell state whose bounds should be updated.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getPoint(com.mxgraph.view.mxCellState)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPoint< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > getPoint​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the absolute center point along the given edge.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getPoint(com.mxgraph.view.mxCellState,com.mxgraph.model.mxGeometry)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPoint< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > getPoint​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../model/mxGeometry.html" title = "class in com.mxgraph.model" > mxGeometry< / a > geometry)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the absolute point on the edge for the given relative geometry as
a point. The edge is represented by the given cell state.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - Represents the state of the parent edge.< / dd >
< dd > < code > geometry< / code > - Optional geometry that represents the relative location.< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the mxpoint that represents the absolute location of the
given relative geometry.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getRelativePoint(com.mxgraph.view.mxCellState,double,double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getRelativePoint< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > getRelativePoint​ (< a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > edgeState,
2016-06-02 09:57:18 +00:00
double x,
double y)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Gets the relative point that describes the given, absolute label position
for the given edge state.< / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getCellStates(java.lang.Object[])" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCellStates< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > [] getCellStates​ (java.lang.Object[] cells)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the states for the given array of cells. The array contains all
2012-05-21 20:32:26 +00:00
states that are not null, that is, the returned array may have less
2014-04-01 11:30:48 +00:00
elements than the given array.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getState(java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getState< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > getState​ (java.lang.Object cell)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the state for the given cell or null if no state is defined for
the cell.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cell< / code > - Cell whose state should be returned.< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the state for the given cell.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getState(java.lang.Object,boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getState< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > getState​ (java.lang.Object cell,
2016-06-02 09:57:18 +00:00
boolean create)< / pre >
2014-10-03 12:49:36 +00:00
< div class = "block" > Returns the cell state for the given cell. If create is true, then the
state is created if it does not yet exist.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cell< / code > - Cell for which a new state should be returned.< / dd >
< dd > < code > create< / code > - Boolean indicating if a new state should be created if it does
2014-10-03 12:49:36 +00:00
not yet exist.< / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the state for the given cell.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "removeState(java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > removeState< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > removeState​ (java.lang.Object cell)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Removes and returns the mxCellState for the given cell.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cell< / code > - mxCell for which the mxCellState should be removed.< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the mxCellState that has been removed.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "createState(java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
2017-11-24 16:16:54 +00:00
< ul class = "blockList" >
2014-04-01 11:30:48 +00:00
< li class = "blockList" >
< h4 > createState< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > createState​ (java.lang.Object cell)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Creates and returns a cell state for the given cell.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cell< / code > - Cell for which a new state should be created.< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns a new state for the given cell.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "toString()" >
2017-11-24 16:16:54 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > toString< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public java.lang.String toString()< / pre >
2017-11-24 16:16:54 +00:00
< dl >
< dt > < span class = "overrideSpecifyLabel" > Overrides:< / span > < / dt >
< dd > < code > toString< / code > in class < code > java.lang.Object< / code > < / dd >
< / dl >
< / li >
< / ul >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / div >
< / div >
2019-07-02 06:45:58 +00:00
< / main >
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
2019-07-02 06:45:58 +00:00
< footer role = "contentinfo" >
< nav role = "navigation" >
2012-05-21 20:32:26 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2019-07-02 06:45:58 +00:00
< div class = "bottomNav" > < a id = "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 >
2019-07-02 06:45:58 +00:00
< a id = "navbar.bottom.firstrow" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
2019-07-02 06:45:58 +00:00
< li > < a href = "../../../index.html" > Overview< / a > < / li >
2014-04-01 11:30:48 +00:00
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxGraphView.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 >
2020-10-28 16:11:03 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 4.2.2< / b > < / p > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" id = "allclasses_navbar_bottom" >
2019-07-02 06:45:58 +00:00
< li > < a href = "../../../allclasses.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 >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#nested.class.summary" > Nested< / a > | < / li >
< li > < a href = "#field.summary" > Field< / a > | < / li >
< li > < a href = "#constructor.summary" > Constr< / a > | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#field.detail" > Field< / a > | < / li >
< li > < a href = "#constructor.detail" > Constr< / a > | < / li >
< li > < a href = "#method.detail" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / div >
2019-07-02 06:45:58 +00:00
< a id = "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 ======= -->
2019-07-02 06:45:58 +00:00
< / nav >
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 >
2019-07-02 06:45:58 +00:00
< / footer >
2014-04-01 11:30:48 +00:00
< / body >
< / html >