maxGraph/java/docs/com/mxgraph/view/class-use/mxGraphView.html

329 lines
16 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2019-03-11 12:35:15 +00:00
<!-- Generated by javadoc (10.0.2) on Mon Mar 11 12:29:23 UTC 2019 -->
<title>Uses of Class com.mxgraph.view.mxGraphView (mxGraph 4.0.0 API Specification)</title>
2018-11-06 11:46:01 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2019-03-11 12:35:15 +00:00
<meta name="date" content="2019-03-11">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
2018-11-06 11:46:01 +00:00
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
2016-06-02 09:57:18 +00:00
<script type="text/javascript" src="../../../../script.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
2014-04-01 11:30:48 +00:00
</head>
<body>
<script type="text/javascript"><!--
2016-06-02 09:57:18 +00:00
try {
if (location.href.indexOf('is-external=true') == -1) {
2019-03-11 12:35:15 +00:00
parent.document.title="Uses of Class com.mxgraph.view.mxGraphView (mxGraph 4.0.0 API Specification)";
2016-06-02 09:57:18 +00:00
}
}
catch(err) {
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
2018-11-06 11:46:01 +00:00
var pathtoroot = "../../../../";loadScripts(document, 'script');</script>
2014-04-01 11:30:48 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2018-11-06 11:46:01 +00:00
<div class="fixedNav">
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2016-06-02 09:57:18 +00:00
<div class="topNav"><a name="navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">Class</a></li>
<li class="navBarCell1Rev">Use</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>
2019-03-11 12:35:15 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.0.0</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/mxgraph/view/class-use/mxGraphView.html" target="_top">Frames</a></li>
2016-06-02 09:57:18 +00:00
<li><a href="mxGraphView.html" target="_top">No&nbsp;Frames</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="navList" id="allclasses_navbar_top">
2016-06-02 09:57:18 +00:00
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
2018-11-06 11:46:01 +00:00
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
2014-04-01 11:30:48 +00:00
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
2016-06-02 09:57:18 +00:00
<a name="skip.navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
2018-11-06 11:46:01 +00:00
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
2014-04-01 11:30:48 +00:00
<div class="header">
<h2 title="Uses of Class com.mxgraph.view.mxGraphView" class="title">Uses of Class<br>com.mxgraph.view.mxGraphView</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
2018-11-06 11:46:01 +00:00
<table class="useSummary" summary="Use table, listing packages, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Packages that use <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
2018-11-06 11:46:01 +00:00
<th class="colFirst" scope="row"><a href="#com.mxgraph.view">com.mxgraph.view</a></th>
2014-04-01 11:30:48 +00:00
<td class="colLast">
<div class="block">This package implements the graph component, represented by the mxGraph
class.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.mxgraph.view">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a> in <a href="../../../../com/mxgraph/view/package-summary.html">com.mxgraph.view</a></h3>
2018-11-06 11:46:01 +00:00
<table class="useSummary" summary="Use table, listing fields, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Fields in <a href="../../../../com/mxgraph/view/package-summary.html">com.mxgraph.view</a> declared as <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxCellState.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxCellState.html#view">view</a></span></code></th>
<td class="colLast">
<div class="block">Reference to the enclosing graph view.</div>
</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGraph.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxGraph.html#view">view</a></span></code></th>
<td class="colLast">
2017-06-27 11:43:19 +00:00
<div class="block">Holds the view that caches the cell states.</div>
</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGraphView.mxCurrentRootChange.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxGraphView.mxCurrentRootChange.html#view">view</a></span></code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxTemporaryCellStates.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxTemporaryCellStates.html#view">view</a></span></code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
</tbody>
</table>
2018-11-06 11:46:01 +00:00
<table class="useSummary" summary="Use table, listing methods, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Methods in <a href="../../../../com/mxgraph/view/package-summary.html">com.mxgraph.view</a> that return <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></span><span class="tabEnd">&nbsp;</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">Method</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGraph.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxGraph.html#createGraphView--">createGraphView</a></span>()</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new view to be used in this graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxCellState.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxCellState.html#getView--">getView</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the enclosing graph view.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGraph.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxGraph.html#getView--">getView</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the view that contains the cell states.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGraphView.mxCurrentRootChange.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxGraphView.mxCurrentRootChange.html#getView--">getView</a></span>()</code></th>
<td class="colLast">
2017-06-27 11:43:19 +00:00
<div class="block">Returns the graph view where the change happened.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
</tbody>
</table>
2018-11-06 11:46:01 +00:00
<table class="useSummary" summary="Use table, listing methods, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Methods in <a href="../../../../com/mxgraph/view/package-summary.html">com.mxgraph.view</a> with parameters of type <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></span><span class="tabEnd">&nbsp;</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">Method</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxCellState.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxCellState.html#setView-com.mxgraph.view.mxGraphView-">setView</a></span>&#8203;(<a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view)</code></th>
<td class="colLast">
<div class="block">Sets the enclosing graph view.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGraph.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxGraph.html#setView-com.mxgraph.view.mxGraphView-">setView</a></span>&#8203;(<a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Sets the view that contains the cell states.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
</tbody>
</table>
2018-11-06 11:46:01 +00:00
<table class="useSummary" summary="Use table, listing constructors, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Constructors in <a href="../../../../com/mxgraph/view/package-summary.html">com.mxgraph.view</a> with parameters of type <a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a></span><span class="tabEnd">&nbsp;</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>
<tbody>
<tr class="altColor">
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxCellState.html#mxCellState-com.mxgraph.view.mxGraphView-java.lang.Object-java.util.Map-">mxCellState</a></span>&#8203;(<a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;cell,
2018-11-06 11:46:01 +00:00
java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;style)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new object that represents the current state of the given
cell in the specified view.</div>
</td>
</tr>
<tr class="rowColor">
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxGraphView.mxCurrentRootChange.html#mxCurrentRootChange-com.mxgraph.view.mxGraphView-java.lang.Object-">mxCurrentRootChange</a></span>&#8203;(<a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view,
java.lang.Object&nbsp;root)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a change of the current root in the given view.</div>
</td>
</tr>
<tr class="altColor">
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxTemporaryCellStates.html#mxTemporaryCellStates-com.mxgraph.view.mxGraphView-">mxTemporaryCellStates</a></span>&#8203;(<a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new temporary cell states instance.</div>
</td>
</tr>
<tr class="rowColor">
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxTemporaryCellStates.html#mxTemporaryCellStates-com.mxgraph.view.mxGraphView-double-">mxTemporaryCellStates</a></span>&#8203;(<a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view,
double&nbsp;scale)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new temporary cell states instance.</div>
</td>
</tr>
<tr class="altColor">
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../com/mxgraph/view/mxTemporaryCellStates.html#mxTemporaryCellStates-com.mxgraph.view.mxGraphView-double-java.lang.Object:A-">mxTemporaryCellStates</a></span>&#8203;(<a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">mxGraphView</a>&nbsp;view,
2014-04-01 11:30:48 +00:00
double&nbsp;scale,
2018-11-06 11:46:01 +00:00
java.lang.Object[]&nbsp;cells)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new temporary cell states instance.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
2012-05-21 20:32:26 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2016-06-02 09:57:18 +00:00
<div class="bottomNav"><a name="navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../com/mxgraph/view/mxGraphView.html" title="class in com.mxgraph.view">Class</a></li>
<li class="navBarCell1Rev">Use</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>
2019-03-11 12:35:15 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.0.0</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/mxgraph/view/class-use/mxGraphView.html" target="_top">Frames</a></li>
2016-06-02 09:57:18 +00:00
<li><a href="mxGraphView.html" target="_top">No&nbsp;Frames</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
2016-06-02 09:57:18 +00:00
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
2016-06-02 09:57:18 +00:00
<a name="skip.navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2017-06-27 11:43:19 +00:00
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
2014-04-01 11:30:48 +00:00
</body>
</html>