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

242 lines
13 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::mxStylesheetCodec 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&nbsp;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&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>com</b>::<b>mxgraph</b>::<a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html">mxStylesheetCodec</a>
</div>
</div>
<div class="contents">
<h1>com::mxgraph::mxStylesheetCodec Class Reference</h1><!-- doxytag: class="com::mxgraph::mxStylesheetCodec" --><!-- doxytag: inherits="com::mxgraph::mxObjectCodec" -->
<p>Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via <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...">mxCodec</a> and the <a class="el" href="classcom_1_1mxgraph_1_1mxCodecRegistry.html" title="Static class that acts as a global registry for codecs. See mxCodec for an example...">mxCodecRegistry</a>.
<a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for com::mxgraph::mxStylesheetCodec:</div>
<div class="dynsection">
<div class="center">
<img src="classcom_1_1mxgraph_1_1mxStylesheetCodec.png" usemap="#com::mxgraph::mxStylesheetCodec_map" alt=""/>
<map id="com::mxgraph::mxStylesheetCodec_map" name="com::mxgraph::mxStylesheetCodec_map">
<area href="classcom_1_1mxgraph_1_1mxObjectCodec.html" alt="com::mxgraph::mxObjectCodec" shape="rect" coords="0,0,205,24"/>
</map>
</div>
</div>
<p><a href="classcom_1_1mxgraph_1_1mxStylesheetCodec-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a29a81ab0d165d2f64fa092aed45bad7d">mxStylesheetCodec</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a new stylesheet codec. <a href="#a29a81ab0d165d2f64fa092aed45bad7d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#af5089ec0b65370bcf7cfea5be3aa6976">mxStylesheetCodec</a> (Object <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#a24bdd53b1c6af9edab63a37cbd52533e">template</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a new stylesheet codec for the given template. <a href="#af5089ec0b65370bcf7cfea5be3aa6976"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a1598c7b839bebda4f18dcc6ad55ae61c">mxStylesheetCodec</a> (Object <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#a24bdd53b1c6af9edab63a37cbd52533e">template</a>, String[] <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#ae4e8b08be01d379f6a84cfe28235b94e">exclude</a>, String[] <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#abef71a12c34e290072c9a9daeea34429">idrefs</a>, Dictionary&lt; string, string &gt; <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#a8cf9b1b0429e7340911953750d361cf1">mapping</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a new stylesheet codec for the given arguments. <a href="#a1598c7b839bebda4f18dcc6ad55ae61c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">override XmlNode&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a4a7f48050d530e5b64e7bc98de0eab0b">Encode</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html">mxCodec</a> enc, Object obj)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Encode the given <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheet.html" title="Defines the appearance of the cells in a graph.">mxStylesheet</a>. <a href="#a4a7f48050d530e5b64e7bc98de0eab0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">override Object&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a79090b06efe74f3805ec252138012431">Decode</a> (<a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html">mxCodec</a> dec, XmlNode node, Object into)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decodes the given <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheet.html" title="Defines the appearance of the cells in a graph.">mxStylesheet</a>. <a href="#a79090b06efe74f3805ec252138012431"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxStylesheetCodec.html#a0b34a45979b6f494498467509bf5ee39">getStringValue</a> (KeyValuePair&lt; string, Object &gt; entry)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the string for encoding the given value. <a href="#a0b34a45979b6f494498467509bf5ee39"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via <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...">mxCodec</a> and the <a class="el" href="classcom_1_1mxgraph_1_1mxCodecRegistry.html" title="Static class that acts as a global registry for codecs. See mxCodec for an example...">mxCodecRegistry</a>. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a29a81ab0d165d2f64fa092aed45bad7d"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::mxStylesheetCodec" ref="a29a81ab0d165d2f64fa092aed45bad7d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">com::mxgraph::mxStylesheetCodec::mxStylesheetCodec </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new stylesheet codec. </p>
</div>
</div>
<a class="anchor" id="af5089ec0b65370bcf7cfea5be3aa6976"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::mxStylesheetCodec" ref="af5089ec0b65370bcf7cfea5be3aa6976" args="(Object template)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">com::mxgraph::mxStylesheetCodec::mxStylesheetCodec </td>
<td>(</td>
<td class="paramtype">Object&nbsp;</td>
<td class="paramname"> <em>template</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a new stylesheet codec for the given template. </p>
</div>
</div>
<a class="anchor" id="a1598c7b839bebda4f18dcc6ad55ae61c"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::mxStylesheetCodec" ref="a1598c7b839bebda4f18dcc6ad55ae61c" args="(Object template, String[] exclude, String[] idrefs, Dictionary&lt; string, string &gt; mapping)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">com::mxgraph::mxStylesheetCodec::mxStylesheetCodec </td>
<td>(</td>
<td class="paramtype">Object&nbsp;</td>
<td class="paramname"> <em>template</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String[]&nbsp;</td>
<td class="paramname"> <em>exclude</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String[]&nbsp;</td>
<td class="paramname"> <em>idrefs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Dictionary&lt; string, string &gt;&nbsp;</td>
<td class="paramname"> <em>mapping</em></td><td>&nbsp;</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 stylesheet codec for the given arguments. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a79090b06efe74f3805ec252138012431"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::Decode" ref="a79090b06efe74f3805ec252138012431" args="(mxCodec dec, XmlNode node, Object into)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override Object com::mxgraph::mxStylesheetCodec::Decode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html">mxCodec</a>&nbsp;</td>
<td class="paramname"> <em>dec</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XmlNode&nbsp;</td>
<td class="paramname"> <em>node</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Object&nbsp;</td>
<td class="paramname"> <em>into</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Decodes the given <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheet.html" title="Defines the appearance of the cells in a graph.">mxStylesheet</a>. </p>
<p>Reimplemented from <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#a121ba530f191fa675cef1199783d3b4c">com::mxgraph::mxObjectCodec</a>.</p>
</div>
</div>
<a class="anchor" id="a4a7f48050d530e5b64e7bc98de0eab0b"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::Encode" ref="a4a7f48050d530e5b64e7bc98de0eab0b" args="(mxCodec enc, Object obj)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override XmlNode com::mxgraph::mxStylesheetCodec::Encode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxCodec.html">mxCodec</a>&nbsp;</td>
<td class="paramname"> <em>enc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Object&nbsp;</td>
<td class="paramname"> <em>obj</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Encode the given <a class="el" href="classcom_1_1mxgraph_1_1mxStylesheet.html" title="Defines the appearance of the cells in a graph.">mxStylesheet</a>. </p>
<p>Reimplemented from <a class="el" href="classcom_1_1mxgraph_1_1mxObjectCodec.html#aa8e373e16bb59c00a573b1bebe1a3934">com::mxgraph::mxObjectCodec</a>.</p>
</div>
</div>
<a class="anchor" id="a0b34a45979b6f494498467509bf5ee39"></a><!-- doxytag: member="com::mxgraph::mxStylesheetCodec::getStringValue" ref="a0b34a45979b6f494498467509bf5ee39" args="(KeyValuePair&lt; string, Object &gt; entry)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">string com::mxgraph::mxStylesheetCodec::getStringValue </td>
<td>(</td>
<td class="paramtype">KeyValuePair&lt; string, Object &gt;&nbsp;</td>
<td class="paramname"> <em>entry</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the string for encoding the given value. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/io/mxStylesheetCodec.cs</li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Feb 21 15:48:42 2013 for mxGraph by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>