maxGraph/dotnet/docs/html/interfacecom_1_1mxgraph_1_1...

180 lines
7.6 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!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"/>
2013-04-04 11:51:15 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>mxGraph: com.mxgraph.mxIGraphLayout Interface Reference</title>
2012-05-21 20:32:26 +00:00
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2013-04-04 11:51:15 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css" />
2012-05-21 20:32:26 +00:00
</head>
<body>
2013-04-04 11:51:15 +00:00
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">mxGraph
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
2012-05-21 20:32:26 +00:00
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
2013-04-04 11:51:15 +00:00
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
2012-05-21 20:32:26 +00:00
</ul>
</div>
2013-04-04 11:51:15 +00:00
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>com</b> </li>
<li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a> </li>
<li class="navelem"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphLayout.html">mxIGraphLayout</a> </li>
</ul>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxIGraphLayout Interface Reference</div> </div>
</div><!--header-->
2012-05-21 20:32:26 +00:00
<div class="contents">
2013-04-04 11:51:15 +00:00
<!-- doxytag: class="com::mxgraph::mxIGraphLayout" -->
2012-05-21 20:32:26 +00:00
<p>Defines the requirements for an object that implements a graph layout.
2013-04-04 11:51:15 +00:00
<a href="interfacecom_1_1mxgraph_1_1mxIGraphLayout.html#details">More...</a></p>
2012-05-21 20:32:26 +00:00
<div class="dynheader">
2013-04-04 11:51:15 +00:00
Inheritance diagram for com.mxgraph.mxIGraphLayout:</div>
<div class="dyncontent">
2012-05-21 20:32:26 +00:00
<div class="center">
2013-04-04 11:51:15 +00:00
<img src="interfacecom_1_1mxgraph_1_1mxIGraphLayout.png" usemap="#com.mxgraph.mxIGraphLayout_map" alt=""/>
<map id="com.mxgraph.mxIGraphLayout_map" name="com.mxgraph.mxIGraphLayout_map">
<area href="classcom_1_1mxgraph_1_1mxFastOrganicLayout.html" title="Fast organic layout algorithm." alt="com.mxgraph.mxFastOrganicLayout" shape="rect" coords="0,56,214,80"/>
2012-05-21 20:32:26 +00:00
</map>
2013-04-04 11:51:15 +00:00
</div></div>
2012-05-21 20:32:26 +00:00
<p><a href="interfacecom_1_1mxgraph_1_1mxIGraphLayout-members.html">List of all members.</a></p>
2013-04-04 11:51:15 +00:00
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphLayout.html#a04c4054682cb948f8702f32407003315">execute</a> (Object parent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes the layout for the children of the specified parent. <a href="#a04c4054682cb948f8702f32407003315"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphLayout.html#a184ab972295eaeb37706387db4002665">move</a> (Object cell, double x, double y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible. <a href="#a184ab972295eaeb37706387db4002665"></a><br/></td></tr>
2012-05-21 20:32:26 +00:00
</table>
2013-04-04 11:51:15 +00:00
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Defines the requirements for an object that implements a graph layout. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a04c4054682cb948f8702f32407003315"></a><!-- doxytag: member="com::mxgraph::mxIGraphLayout::execute" ref="a04c4054682cb948f8702f32407003315" args="(Object parent)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphLayout.html#a04c4054682cb948f8702f32407003315">com.mxgraph.mxIGraphLayout.execute</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>parent</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Executes the layout for the children of the specified parent. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td>Parent cell that contains the children to be layed out.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
2013-04-04 11:51:15 +00:00
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxFastOrganicLayout.html#abd510ac69d71dc3125886a1933467424">com.mxgraph.mxFastOrganicLayout</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a184ab972295eaeb37706387db4002665"></a><!-- doxytag: member="com::mxgraph::mxIGraphLayout::move" ref="a184ab972295eaeb37706387db4002665" args="(Object cell, double x, double y)" -->
2012-05-21 20:32:26 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2013-04-04 11:51:15 +00:00
<td class="memname">void <a class="el" href="interfacecom_1_1mxgraph_1_1mxIGraphLayout.html#a184ab972295eaeb37706387db4002665">com.mxgraph.mxIGraphLayout.move</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">Object&#160;</td>
<td class="paramname"><em>cell</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>x</em>, </td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
2012-05-21 20:32:26 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
2013-04-04 11:51:15 +00:00
<td></td><td></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible. </p>
2013-04-04 11:51:15 +00:00
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cell</td><td>Cell which is being moved.</td></tr>
<tr><td class="paramname">x</td><td>X-coordinate of the new cell location.</td></tr>
<tr><td class="paramname">y</td><td>Y-coordinate of the new cell location.</td></tr>
2012-05-21 20:32:26 +00:00
</table>
</dd>
</dl>
2013-04-04 11:51:15 +00:00
<p>Implemented in <a class="el" href="classcom_1_1mxgraph_1_1mxFastOrganicLayout.html#af44216cdc7ce7463f82cc0cee2050d83">com.mxgraph.mxFastOrganicLayout</a>.</p>
2012-05-21 20:32:26 +00:00
</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>src/layout/mxIGraphLayout.cs</li>
</ul>
2013-04-04 11:51:15 +00:00
</div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
2013-07-26 16:59:11 +00:00
Generated on Fri Jul 26 2013 17:48:17 for mxGraph by &#160;<a href="http://www.doxygen.org/index.html">
2013-04-04 11:51:15 +00:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
2012-05-21 20:32:26 +00:00
</body>
</html>