641 lines
37 KiB
HTML
641 lines
37 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>mxGraph: com::mxgraph::mxCellState Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.6.3 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>com::mxgraph::mxCellState Class Reference</h1><!-- doxytag: class="com::mxgraph::mxCellState" --><!-- doxytag: inherits="com::mxgraph::mxRectangle" -->
|
|
<p>Represents the current state of a cell in a given graph view.
|
|
<a href="#_details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for com::mxgraph::mxCellState:</div>
|
|
<div class="dynsection">
|
|
<div class="center">
|
|
<img src="classcom_1_1mxgraph_1_1mxCellState.png" usemap="#com::mxgraph::mxCellState_map" alt=""/>
|
|
<map id="com::mxgraph::mxCellState_map" name="com::mxgraph::mxCellState_map">
|
|
<area href="classcom_1_1mxgraph_1_1mxRectangle.html" alt="com::mxgraph::mxRectangle" shape="rect" coords="0,56,166,80"/>
|
|
<area href="classcom_1_1mxgraph_1_1mxPoint.html" alt="com::mxgraph::mxPoint" shape="rect" coords="0,0,166,24"/>
|
|
</map>
|
|
</div>
|
|
</div>
|
|
|
|
<p><a href="classcom_1_1mxgraph_1_1mxCellState-members.html">List of all members.</a></p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#abe55dd3e49f689b212b76e3707fc5fee">mxCellState</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs an empty cell state. <a href="#abe55dd3e49f689b212b76e3707fc5fee"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#aeebc7a189b94771e4fda1052d039b84b">mxCellState</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html">mxGraphView</a> <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a756e72806b199dc1c15120b0fe3c2a19">view</a>, Object <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a0b0d02a595bcdb5afc69658d9a0c508e">cell</a>, Dictionary< string, Object > <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a8cd7abe7f737756a0453e70d8a59eeae">style</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new object that represents the current state of the given cell in the specified view. <a href="#aeebc7a189b94771e4fda1052d039b84b"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a81b27f5da2d725dd02a4c3cb3a9dad20">AbsolutePointCount</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of absolute points. <a href="#a81b27f5da2d725dd02a4c3cb3a9dad20"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a24bcc5b3b3db9c0a59a65cf425909d48">GetPerimeterBounds</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the rectangle that should be used as the perimeter of the cell. This implementation adds the perimeter spacing to the rectangle defined by this cell state. <a href="#a24bcc5b3b3db9c0a59a65cf425909d48"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a7855bb1127d2691a3a9ea4c30fee6d49">GetPerimeterBounds</a> (double border)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the rectangle that should be used as the perimeter of the cell. <a href="#a7855bb1127d2691a3a9ea4c30fee6d49"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#aa0ea29da7675e21e7ed7ca7dcc3abd04">SetAbsoluteTerminalPoint</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> point, bool source)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the first or last point in the list of points depending on source. <a href="#aa0ea29da7675e21e7ed7ca7dcc3abd04"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">new <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a7a357573a28f227b884eb6a798b1c2df">Clone</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a clone of this state where all members are deeply cloned except the view and cell references, which are copied with no cloning to the new instance. <a href="#a7a357573a28f227b884eb6a798b1c2df"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html">mxGraphView</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a756e72806b199dc1c15120b0fe3c2a19">view</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reference to the enclosing graph view. <a href="#a756e72806b199dc1c15120b0fe3c2a19"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a0b0d02a595bcdb5afc69658d9a0c508e">cell</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reference to the cell that is represented by this state. <a href="#a0b0d02a595bcdb5afc69658d9a0c508e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Dictionary< string, Object > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a8cd7abe7f737756a0453e70d8a59eeae">style</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Contains an array of key, value pairs that represent the style of the cell. <a href="#a8cd7abe7f737756a0453e70d8a59eeae"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#ad4cdb7a0d7074b16ceee123e4904da66">origin</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the origin for all child cells. <a href="#ad4cdb7a0d7074b16ceee123e4904da66"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">List< <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#aab5a826bcec2f7134cbc9e8b4142eb49">absolutePoints</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">List of mxPoints that represent the absolute points of an edge. <a href="#aab5a826bcec2f7134cbc9e8b4142eb49"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a8e67a5772b7ae9b43b1a587de61f79a6">absoluteOffset</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the absolute offset. For edges, this is the absolute coordinates of the label position. For vertices, this is the offset of the label relative to the top, left corner of the vertex. <a href="#a8e67a5772b7ae9b43b1a587de61f79a6"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#aee68fcb4facbe8a40f10fa2b1ab64311">terminalDistance</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Caches the distance between the end points of an edge. <a href="#aee68fcb4facbe8a40f10fa2b1ab64311"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#ad7cfcdd37247cdfb73ce22ef89519680">length</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Caches the length of an edge. <a href="#ad7cfcdd37247cdfb73ce22ef89519680"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">double[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a6feac0cf487505657aea93ce7553e31e">segments</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Array of numbers that represent the cached length of each segment of the edge. <a href="#a6feac0cf487505657aea93ce7553e31e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a3a4a13aa6990f4cb18d4581844e22465">labelBounds</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the rectangle which contains the label. <a href="#a3a4a13aa6990f4cb18d4581844e22465"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a88557f12649c9250415a6754f41ee6fd">boundingBox</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the largest rectangle which contains all rendering for this cell. <a href="#a88557f12649c9250415a6754f41ee6fd"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2>Properties</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html">mxGraphView</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a94f8ab737cef3c01e56cfd9242a7fc95">View</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the enclosing graph view. <a href="#a94f8ab737cef3c01e56cfd9242a7fc95"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Object </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a4e67168c04ec620edcabffc4506e51a3">Cell</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the cell that is represented by this state. <a href="#a4e67168c04ec620edcabffc4506e51a3"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">Dictionary< string, Object > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a306769e8a5e8517111a00226b11d79a5">Style</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the cell style as a map of key, value pairs. <a href="#a306769e8a5e8517111a00226b11d79a5"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#ac3734bb15dd9dbfd6b9f4d182e5c2df1">Origin</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the origin for the children. <a href="#ac3734bb15dd9dbfd6b9f4d182e5c2df1"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">List< <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a57f270c174f616ff5df3fc9614323f32">AbsolutePoints</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the absolute points. <a href="#a57f270c174f616ff5df3fc9614323f32"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a067cc7b395e53d99d755d37d3bfbc748">AbsoluteOffset</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the absolute offset. <a href="#a067cc7b395e53d99d755d37d3bfbc748"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a9fba495d01201cdd42ab878093e12cae">TerminalDistance</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the terminal distance. <a href="#a9fba495d01201cdd42ab878093e12cae"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a0a9fc2277de8539e5007e86a00e990c0">Length</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the length. <a href="#a0a9fc2277de8539e5007e86a00e990c0"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">double[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a05e1a6d791c19a8d963216f32723511c">Segments</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the length of the segments. <a href="#a05e1a6d791c19a8d963216f32723511c"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a40fceec936fe37fd869471c22d091e8e">LabelBounds</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the label bounds. <a href="#a40fceec936fe37fd869471c22d091e8e"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#aa05783514f4ba432ce3ca31bf81837df">BoundingBox</a><code> [get, set]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or returns the bounding box. <a href="#aa05783514f4ba432ce3ca31bf81837df"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>Represents the current state of a cell in a given graph view. </p>
|
|
<hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="abe55dd3e49f689b212b76e3707fc5fee"></a><!-- doxytag: member="com::mxgraph::mxCellState::mxCellState" ref="abe55dd3e49f689b212b76e3707fc5fee" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com::mxgraph::mxCellState::mxCellState </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Constructs an empty cell state. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeebc7a189b94771e4fda1052d039b84b"></a><!-- doxytag: member="com::mxgraph::mxCellState::mxCellState" ref="aeebc7a189b94771e4fda1052d039b84b" args="(mxGraphView view, Object cell, Dictionary< string, Object > style)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">com::mxgraph::mxCellState::mxCellState </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html">mxGraphView</a> </td>
|
|
<td class="paramname"> <em>view</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"> <em>cell</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Dictionary< string, Object > </td>
|
|
<td class="paramname"> <em>style</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Constructs a new object that represents the current state of the given cell in the specified view. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>view</em> </td><td>Graph view that contains the state.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>Cell that this state represents.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>style</em> </td><td>Array of key, value pairs that constitute the style.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a81b27f5da2d725dd02a4c3cb3a9dad20"></a><!-- doxytag: member="com::mxgraph::mxCellState::AbsolutePointCount" ref="a81b27f5da2d725dd02a4c3cb3a9dad20" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int com::mxgraph::mxCellState::AbsolutePointCount </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the number of absolute points. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7a357573a28f227b884eb6a798b1c2df"></a><!-- doxytag: member="com::mxgraph::mxCellState::Clone" ref="a7a357573a28f227b884eb6a798b1c2df" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">new <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html">mxCellState</a> com::mxgraph::mxCellState::Clone </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns a clone of this state where all members are deeply cloned except the view and cell references, which are copied with no cloning to the new instance. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html#aa9e9e649efa5ad7239db970ec735e846">com::mxgraph::mxRectangle</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7855bb1127d2691a3a9ea4c30fee6d49"></a><!-- doxytag: member="com::mxgraph::mxCellState::GetPerimeterBounds" ref="a7855bb1127d2691a3a9ea4c30fee6d49" args="(double border)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com::mxgraph::mxCellState::GetPerimeterBounds </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double </td>
|
|
<td class="paramname"> <em>border</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the rectangle that should be used as the perimeter of the cell. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>border</em> </td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the rectangle that defines the perimeter.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a24bcc5b3b3db9c0a59a65cf425909d48"></a><!-- doxytag: member="com::mxgraph::mxCellState::GetPerimeterBounds" ref="a24bcc5b3b3db9c0a59a65cf425909d48" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com::mxgraph::mxCellState::GetPerimeterBounds </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the rectangle that should be used as the perimeter of the cell. This implementation adds the perimeter spacing to the rectangle defined by this cell state. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the rectangle that defines the perimeter.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa0ea29da7675e21e7ed7ca7dcc3abd04"></a><!-- doxytag: member="com::mxgraph::mxCellState::SetAbsoluteTerminalPoint" ref="aa0ea29da7675e21e7ed7ca7dcc3abd04" args="(mxPoint point, bool source)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void com::mxgraph::mxCellState::SetAbsoluteTerminalPoint </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> </td>
|
|
<td class="paramname"> <em>point</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>source</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets the first or last point in the list of points depending on source. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>point</em> </td><td>Point that represents the terminal point.</td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>source</em> </td><td>Boolean that specifies if the first or last point should be assigned.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Data Documentation</h2>
|
|
<a class="anchor" id="a8e67a5772b7ae9b43b1a587de61f79a6"></a><!-- doxytag: member="com::mxgraph::mxCellState::absoluteOffset" ref="a8e67a5772b7ae9b43b1a587de61f79a6" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a8e67a5772b7ae9b43b1a587de61f79a6">com::mxgraph::mxCellState::absoluteOffset</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>()<code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the absolute offset. For edges, this is the absolute coordinates of the label position. For vertices, this is the offset of the label relative to the top, left corner of the vertex. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aab5a826bcec2f7134cbc9e8b4142eb49"></a><!-- doxytag: member="com::mxgraph::mxCellState::absolutePoints" ref="aab5a826bcec2f7134cbc9e8b4142eb49" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">List<<a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>> <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#aab5a826bcec2f7134cbc9e8b4142eb49">com::mxgraph::mxCellState::absolutePoints</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>List of mxPoints that represent the absolute points of an edge. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a88557f12649c9250415a6754f41ee6fd"></a><!-- doxytag: member="com::mxgraph::mxCellState::boundingBox" ref="a88557f12649c9250415a6754f41ee6fd" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a88557f12649c9250415a6754f41ee6fd">com::mxgraph::mxCellState::boundingBox</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the largest rectangle which contains all rendering for this cell. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0b0d02a595bcdb5afc69658d9a0c508e"></a><!-- doxytag: member="com::mxgraph::mxCellState::cell" ref="a0b0d02a595bcdb5afc69658d9a0c508e" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a0b0d02a595bcdb5afc69658d9a0c508e">com::mxgraph::mxCellState::cell</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reference to the cell that is represented by this state. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3a4a13aa6990f4cb18d4581844e22465"></a><!-- doxytag: member="com::mxgraph::mxCellState::labelBounds" ref="a3a4a13aa6990f4cb18d4581844e22465" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a3a4a13aa6990f4cb18d4581844e22465">com::mxgraph::mxCellState::labelBounds</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the rectangle which contains the label. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad7cfcdd37247cdfb73ce22ef89519680"></a><!-- doxytag: member="com::mxgraph::mxCellState::length" ref="ad7cfcdd37247cdfb73ce22ef89519680" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#ad7cfcdd37247cdfb73ce22ef89519680">com::mxgraph::mxCellState::length</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Caches the length of an edge. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad4cdb7a0d7074b16ceee123e4904da66"></a><!-- doxytag: member="com::mxgraph::mxCellState::origin" ref="ad4cdb7a0d7074b16ceee123e4904da66" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#ad4cdb7a0d7074b16ceee123e4904da66">com::mxgraph::mxCellState::origin</a> = new <a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>()<code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the origin for all child cells. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6feac0cf487505657aea93ce7553e31e"></a><!-- doxytag: member="com::mxgraph::mxCellState::segments" ref="a6feac0cf487505657aea93ce7553e31e" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double [] <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a6feac0cf487505657aea93ce7553e31e">com::mxgraph::mxCellState::segments</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Array of numbers that represent the cached length of each segment of the edge. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8cd7abe7f737756a0453e70d8a59eeae"></a><!-- doxytag: member="com::mxgraph::mxCellState::style" ref="a8cd7abe7f737756a0453e70d8a59eeae" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Dictionary<string, Object> <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a8cd7abe7f737756a0453e70d8a59eeae">com::mxgraph::mxCellState::style</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Contains an array of key, value pairs that represent the style of the cell. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aee68fcb4facbe8a40f10fa2b1ab64311"></a><!-- doxytag: member="com::mxgraph::mxCellState::terminalDistance" ref="aee68fcb4facbe8a40f10fa2b1ab64311" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#aee68fcb4facbe8a40f10fa2b1ab64311">com::mxgraph::mxCellState::terminalDistance</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Caches the distance between the end points of an edge. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a756e72806b199dc1c15120b0fe3c2a19"></a><!-- doxytag: member="com::mxgraph::mxCellState::view" ref="a756e72806b199dc1c15120b0fe3c2a19" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html">mxGraphView</a> <a class="el" href="classcom_1_1mxgraph_1_1mxCellState.html#a756e72806b199dc1c15120b0fe3c2a19">com::mxgraph::mxCellState::view</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reference to the enclosing graph view. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Property Documentation</h2>
|
|
<a class="anchor" id="a067cc7b395e53d99d755d37d3bfbc748"></a><!-- doxytag: member="com::mxgraph::mxCellState::AbsoluteOffset" ref="a067cc7b395e53d99d755d37d3bfbc748" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> com::mxgraph::mxCellState::AbsoluteOffset<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the absolute offset. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a57f270c174f616ff5df3fc9614323f32"></a><!-- doxytag: member="com::mxgraph::mxCellState::AbsolutePoints" ref="a57f270c174f616ff5df3fc9614323f32" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">List<<a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a>> com::mxgraph::mxCellState::AbsolutePoints<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the absolute points. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa05783514f4ba432ce3ca31bf81837df"></a><!-- doxytag: member="com::mxgraph::mxCellState::BoundingBox" ref="aa05783514f4ba432ce3ca31bf81837df" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com::mxgraph::mxCellState::BoundingBox<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the bounding box. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4e67168c04ec620edcabffc4506e51a3"></a><!-- doxytag: member="com::mxgraph::mxCellState::Cell" ref="a4e67168c04ec620edcabffc4506e51a3" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Object com::mxgraph::mxCellState::Cell<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the cell that is represented by this state. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a40fceec936fe37fd869471c22d091e8e"></a><!-- doxytag: member="com::mxgraph::mxCellState::LabelBounds" ref="a40fceec936fe37fd869471c22d091e8e" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxRectangle.html">mxRectangle</a> com::mxgraph::mxCellState::LabelBounds<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the label bounds. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0a9fc2277de8539e5007e86a00e990c0"></a><!-- doxytag: member="com::mxgraph::mxCellState::Length" ref="a0a9fc2277de8539e5007e86a00e990c0" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double com::mxgraph::mxCellState::Length<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the length. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac3734bb15dd9dbfd6b9f4d182e5c2df1"></a><!-- doxytag: member="com::mxgraph::mxCellState::Origin" ref="ac3734bb15dd9dbfd6b9f4d182e5c2df1" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxPoint.html">mxPoint</a> com::mxgraph::mxCellState::Origin<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the origin for the children. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a05e1a6d791c19a8d963216f32723511c"></a><!-- doxytag: member="com::mxgraph::mxCellState::Segments" ref="a05e1a6d791c19a8d963216f32723511c" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double [] com::mxgraph::mxCellState::Segments<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the length of the segments. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a306769e8a5e8517111a00226b11d79a5"></a><!-- doxytag: member="com::mxgraph::mxCellState::Style" ref="a306769e8a5e8517111a00226b11d79a5" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Dictionary<string, Object> com::mxgraph::mxCellState::Style<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the cell style as a map of key, value pairs. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9fba495d01201cdd42ab878093e12cae"></a><!-- doxytag: member="com::mxgraph::mxCellState::TerminalDistance" ref="a9fba495d01201cdd42ab878093e12cae" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double com::mxgraph::mxCellState::TerminalDistance<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the terminal distance. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a94f8ab737cef3c01e56cfd9242a7fc95"></a><!-- doxytag: member="com::mxgraph::mxCellState::View" ref="a94f8ab737cef3c01e56cfd9242a7fc95" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphView.html">mxGraphView</a> com::mxgraph::mxCellState::View<code> [get, set]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Sets or returns the enclosing graph view. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>src/view/mxCellState.cs</li>
|
|
</ul>
|
|
</div>
|
|
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Dec 18 13:18:35 2012 for mxGraph by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
|
|
</body>
|
|
</html>
|