1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt: Wt::WCssRule Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</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"><a class="el" href="namespaceWt.html">Wt</a>::<a class="el" href="classWt_1_1WCssRule.html">WCssRule</a>
</div>
</div>
<div class="contents">
<h1>Wt::WCssRule Class Reference<br>
<small>
[<a class="el" href="group__style.html">Style classes</a>]</small>
</h1><!-- doxytag: class="Wt::WCssRule" -->Abstract rule in a CSS style sheet.
<a href="#_details">More...</a>
<p>
<code>#include <Wt/WCssStyleSheet></code>
<p>
<div class="dynheader">
Inheritance diagram for Wt::WCssRule:</div>
<div class="dynsection">
<p><center><img src="classWt_1_1WCssRule__inherit__graph.png" border="0" usemap="#Wt_1_1WCssRule__inherit__map" alt="Inheritance graph"></center>
<map name="Wt_1_1WCssRule__inherit__map">
<area shape="rect" href="classWt_1_1WCssTemplateRule.html" title="A CSS rule based on a template widget." alt="" coords="5,80,165,107"><area shape="rect" href="classWt_1_1WCssTextRule.html" title="A CSS rule specified directly using CSS declarations." alt="" coords="189,80,320,107"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classWt_1_1WCssRule-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fcb8249f4038c7185eb37fcecaca6675"></a><!-- doxytag: member="Wt::WCssRule::~WCssRule" ref="fcb8249f4038c7185eb37fcecaca6675" args="()" -->
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WCssRule.html#fcb8249f4038c7185eb37fcecaca6675">~WCssRule</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="10b8706772e9a7616db278a73fe82096"></a><!-- doxytag: member="Wt::WCssRule::selector" ref="10b8706772e9a7616db278a73fe82096" args="() const " -->
const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WCssRule.html#10b8706772e9a7616db278a73fe82096">selector</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the selector. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3740e3360c7185ff2a3838c606d34cd9"></a><!-- doxytag: member="Wt::WCssRule::sheet" ref="3740e3360c7185ff2a3838c606d34cd9" args="() const " -->
<a class="el" href="classWt_1_1WCssStyleSheet.html">WCssStyleSheet</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WCssRule.html#3740e3360c7185ff2a3838c606d34cd9">sheet</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the style sheet to which this rule belongs. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15ca55980b693ac64e70ca5f0d8cbf5d"></a><!-- doxytag: member="Wt::WCssRule::modified" ref="15ca55980b693ac64e70ca5f0d8cbf5d" args="()" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WCssRule.html#15ca55980b693ac64e70ca5f0d8cbf5d">modified</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates that the rule has changed and needs updating. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WCssRule.html#be99bca6582d1ec43b7135f3a28956b4">declarations</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the declarations. <a href="#be99bca6582d1ec43b7135f3a28956b4"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc9c4088ba70dae3f82175a370677ee9"></a><!-- doxytag: member="Wt::WCssRule::WCssRule" ref="dc9c4088ba70dae3f82175a370677ee9" args="(const std::string &selector)" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WCssRule.html#dc9c4088ba70dae3f82175a370677ee9">WCssRule</a> (const std::string &selector)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new CSS rule with given selector. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Abstract rule in a CSS style sheet.
<p>
A rule presents CSS style properties that are applied to a selected set of elements.<p>
Use <a class="el" href="classWt_1_1WCssTemplateRule.html" title="A CSS rule based on a template widget.">WCssTemplateRule</a> if you would like to use a widget as a template for specifying (<em>and</em> updating) a style rule, using the widgets style properties, or <a class="el" href="classWt_1_1WCssTextRule.html" title="A CSS rule specified directly using CSS declarations.">WCssTextRule</a> if you wish to directly specify the CSS declarations.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WCssStyleSheet.html" title="A CSS style sheet.">WCssStyleSheet</a> </dd></dl>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="be99bca6582d1ec43b7135f3a28956b4"></a><!-- doxytag: member="Wt::WCssRule::declarations" ref="be99bca6582d1ec43b7135f3a28956b4" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const std::string Wt::WCssRule::declarations </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the declarations.
<p>
This is a semi-colon separated list of CSS declarations.
<p>Implemented in <a class="el" href="classWt_1_1WCssTemplateRule.html#b10a2ebfc6f80cf3357c963716868598">Wt::WCssTemplateRule</a>, and <a class="el" href="classWt_1_1WCssTextRule.html#5950660406de9b1e3d17082116718649">Wt::WCssTextRule</a>.</p>
</div>
</div><p>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:06 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>
|