maxGraph/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSt...

189 lines
8.7 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.mxStyleRegistry Class 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="classcom_1_1mxgraph_1_1mxStyleRegistry.html">mxStyleRegistry</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-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">com.mxgraph.mxStyleRegistry Class 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::mxStyleRegistry" -->
<p>Static class that acts as a global registry for codecs. See <a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html" title="XML codec for .NET object graphs. In order to resolve forward references when reading files the XML d...">mxCodec</a> for an example of using this class.
<a href="classcom_1_1mxgraph_1_1mxStyleRegistry.html#details">More...</a></p>
2012-05-21 20:32:26 +00:00
<p><a href="classcom_1_1mxgraph_1_1mxStyleRegistry-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-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStyleRegistry.html#ac8815d772192e52f9be954bb84fe09e3">PutValue</a> (String name, Object value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Puts the given object into the registry under the given name. <a href="#ac8815d772192e52f9be954bb84fe09e3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static Object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStyleRegistry.html#a8778bcebb3c901baa27f7244cd42858c">GetValue</a> (String name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value associated with the given name. <a href="#a8778bcebb3c901baa27f7244cd42858c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStyleRegistry.html#aca863adeb33ca0d4eb3cf8b2e2df8551">GetName</a> (Object value)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value associated with the given name. <a href="#aca863adeb33ca0d4eb3cf8b2e2df8551"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static Dictionary&lt; string, Object &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStyleRegistry.html#a6ab6c6018486e6bf0a6bc3ae5dfa32a4">values</a> = new Dictionary&lt;string, Object&gt;()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maps from strings to objects. <a href="#a6ab6c6018486e6bf0a6bc3ae5dfa32a4"></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>Static class that acts as a global registry for codecs. See <a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html" title="XML codec for .NET object graphs. In order to resolve forward references when reading files the XML d...">mxCodec</a> for an example of using this class. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aca863adeb33ca0d4eb3cf8b2e2df8551"></a><!-- doxytag: member="com::mxgraph::mxStyleRegistry::GetName" ref="aca863adeb33ca0d4eb3cf8b2e2df8551" args="(Object value)" -->
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">static String <a class="el" href="classcom_1_1mxgraph_1_1mxStyleRegistry.html#aca863adeb33ca0d4eb3cf8b2e2df8551">com.mxgraph.mxStyleRegistry.GetName</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>value</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the value associated with the given name. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a8778bcebb3c901baa27f7244cd42858c"></a><!-- doxytag: member="com::mxgraph::mxStyleRegistry::GetValue" ref="a8778bcebb3c901baa27f7244cd42858c" args="(String name)" -->
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">static Object <a class="el" href="classcom_1_1mxgraph_1_1mxStyleRegistry.html#a8778bcebb3c901baa27f7244cd42858c">com.mxgraph.mxStyleRegistry.GetValue</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
2012-05-21 20:32:26 +00:00
<td><code> [inline, static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the value associated with the given name. </p>
</div>
</div>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="ac8815d772192e52f9be954bb84fe09e3"></a><!-- doxytag: member="com::mxgraph::mxStyleRegistry::PutValue" ref="ac8815d772192e52f9be954bb84fe09e3" args="(String name, Object value)" -->
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">static void <a class="el" href="classcom_1_1mxgraph_1_1mxStyleRegistry.html#ac8815d772192e52f9be954bb84fe09e3">com.mxgraph.mxStyleRegistry.PutValue</a> </td>
2012-05-21 20:32:26 +00:00
<td>(</td>
2013-04-04 11:51:15 +00:00
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>name</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">Object&#160;</td>
<td class="paramname"><em>value</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><code> [inline, static]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Puts the given object into the registry under the given name. </p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
2013-04-04 11:51:15 +00:00
<a class="anchor" id="a6ab6c6018486e6bf0a6bc3ae5dfa32a4"></a><!-- doxytag: member="com::mxgraph::mxStyleRegistry::values" ref="a6ab6c6018486e6bf0a6bc3ae5dfa32a4" args="" -->
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">Dictionary&lt;string, Object&gt; <a class="el" href="classcom_1_1mxgraph_1_1mxStyleRegistry.html#a6ab6c6018486e6bf0a6bc3ae5dfa32a4">com.mxgraph.mxStyleRegistry.values</a> = new Dictionary&lt;string, Object&gt;()<code> [static, protected]</code></td>
2012-05-21 20:32:26 +00:00
</tr>
</table>
</div>
<div class="memdoc">
<p>Maps from strings to objects. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/view/mxStyleRegistry.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>