Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 2147

wt-doc-3.2.3-1.fc18.noarch.rpm

<!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>Wt: Wt::WTableCell Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<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">Wt
   &#160;<span id="projectnumber">3.2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a>      </li>
      <li class="navelem"><a class="el" href="classWt_1_1WTableCell.html">WTableCell</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::WTableCell Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WTableCell" --><!-- doxytag: inherits="Wt::WContainerWidget" -->
<p>A container widget that represents a cell in a table.  
 <a href="classWt_1_1WTableCell.html#details">More...</a></p>

<p><code>#include &lt;Wt/WTableCell&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::WTableCell:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WTableCell__inherit__graph.png" border="0" usemap="#Wt_1_1WTableCell_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WTableCell_inherit__map" id="Wt_1_1WTableCell_inherit__map">
<area shape="rect" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets." alt="" coords="5,304,160,331"/><area shape="rect" href="classWt_1_1WInteractWidget.html" title="An abstract widget that can receive user&#45;interface interaction." alt="" coords="11,229,155,256"/><area shape="rect" href="classWt_1_1WWebWidget.html" title="A base class for widgets with an HTML counterpart." alt="" coords="19,155,147,181"/><area shape="rect" href="classWt_1_1WWidget.html" title="The abstract base class for a user&#45;interface component." alt="" coords="33,80,132,107"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="35,5,131,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1WTableCell-members.html">List of all members.</a></p>
<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="classWt_1_1WTableCell.html#ae14b338d8395de33d93f7a28ef2b3edd">setRowSpan</a> (int rowSpan)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the row span.  <a href="#ae14b338d8395de33d93f7a28ef2b3edd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTableCell.html#ad2a5d47f9ae33fc3a0bcba6bd84ddd7b">rowSpan</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the row span.  <a href="#ad2a5d47f9ae33fc3a0bcba6bd84ddd7b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTableCell.html#a0f4912b4c023b78e6de41561e2e0a62a">setColumnSpan</a> (int colSpan)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the column span.  <a href="#a0f4912b4c023b78e6de41561e2e0a62a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTableCell.html#a885083e7e30a3d76f33c39847dc3a6bb">columnSpan</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the column span.  <a href="#a885083e7e30a3d76f33c39847dc3a6bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50e770e21680477b17057056cf94d10b"></a><!-- doxytag: member="Wt::WTableCell::row" ref="a50e770e21680477b17057056cf94d10b" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTableCell.html#a50e770e21680477b17057056cf94d10b">row</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the row index of this cell. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c1860eb33dbb70381eef117790862fa"></a><!-- doxytag: member="Wt::WTableCell::column" ref="a2c1860eb33dbb70381eef117790862fa" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTableCell.html#a2c1860eb33dbb70381eef117790862fa">column</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the column index of this cell. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee883c3bb465b97551f00947adb05a77"></a><!-- doxytag: member="Wt::WTableCell::table" ref="aee883c3bb465b97551f00947adb05a77" args="() const " -->
<a class="el" href="classWt_1_1WTable.html">WTable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTableCell.html#aee883c3bb465b97551f00947adb05a77">table</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the table containing this cell. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3289fcfd722d904ef79f27c84e9a3c9c"></a><!-- doxytag: member="Wt::WTableCell::tableRow" ref="a3289fcfd722d904ef79f27c84e9a3c9c" args="() const " -->
<a class="el" href="classWt_1_1WTableRow.html">WTableRow</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTableCell.html#a3289fcfd722d904ef79f27c84e9a3c9c">tableRow</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the table row containing this cell. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae9f23c22ffb5cc86bd936572caf4cd5e"></a><!-- doxytag: member="Wt::WTableCell::tableColumn" ref="ae9f23c22ffb5cc86bd936572caf4cd5e" args="() const " -->
<a class="el" href="classWt_1_1WTableColumn.html">WTableColumn</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTableCell.html#ae9f23c22ffb5cc86bd936572caf4cd5e">tableColumn</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the table column containing this cell. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A container widget that represents a cell in a table. </p>
<p>A <a class="el" href="classWt_1_1WTable.html" title="A container widget which provides layout of children in a table grid.">WTable</a> provides a table of WTableCell container widgets. A WTableCell may overspan more than one grid location in the table, by specifying a <a class="el" href="classWt_1_1WTableCell.html#ae14b338d8395de33d93f7a28ef2b3edd">rowSpan </a> and <a class="el" href="classWt_1_1WTableCell.html#a0f4912b4c023b78e6de41561e2e0a62a">columnSpan </a>. Table cells at overspanned positions are hidden. You cannot directly create a WTableCell, instead, they are created automatically by a table.</p>
<p>A WTableCell acts as any other <a class="el" href="classWt_1_1WContainerWidget.html" title="A widget that holds and manages child widgets.">WContainerWidget</a>, except that both the vertical and horizontal alignment of contents may be specified by <a class="el" href="classWt_1_1WContainerWidget.html#aba13c9e62c74bcba53519ee9cf41f40a" title="Specifies how child widgets must be aligned within the container.">setContentAlignment()</a>.</p>
<h3>CSS</h3>
<p>The widget corresponds to the HTML <code>&lt;td&gt;</code> or <code>&lt;th&gt;</code> tag, depending on whether the cell is a plain cell or a header cell. The widget does not provide styling, and can be styled using inline or external CSS as appropriate.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTable.html" title="A container widget which provides layout of children in a table grid.">WTable</a> </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a885083e7e30a3d76f33c39847dc3a6bb"></a><!-- doxytag: member="Wt::WTableCell::columnSpan" ref="a885083e7e30a3d76f33c39847dc3a6bb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::WTableCell::columnSpan </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the column span. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTableCell.html#a0f4912b4c023b78e6de41561e2e0a62a" title="Sets the column span.">setColumnSpan(int colSpan)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad2a5d47f9ae33fc3a0bcba6bd84ddd7b"></a><!-- doxytag: member="Wt::WTableCell::rowSpan" ref="ad2a5d47f9ae33fc3a0bcba6bd84ddd7b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::WTableCell::rowSpan </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the row span. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTableCell.html#ae14b338d8395de33d93f7a28ef2b3edd" title="Sets the row span.">setRowSpan(int rowSpan)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0f4912b4c023b78e6de41561e2e0a62a"></a><!-- doxytag: member="Wt::WTableCell::setColumnSpan" ref="a0f4912b4c023b78e6de41561e2e0a62a" args="(int colSpan)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTableCell::setColumnSpan </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>colSpan</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the column span. </p>
<p>The column span indicates how many table columns this <a class="el" href="classWt_1_1WTableCell.html" title="A container widget that represents a cell in a table.">WTableCell</a> overspans. By default, a <a class="el" href="classWt_1_1WTableCell.html" title="A container widget that represents a cell in a table.">WTableCell</a> has a column span of 1, only occupying its own grid cell. A column span greater than 1 indicates that table cells to the right of this one are overspanned. </p>

</div>
</div>
<a class="anchor" id="ae14b338d8395de33d93f7a28ef2b3edd"></a><!-- doxytag: member="Wt::WTableCell::setRowSpan" ref="ae14b338d8395de33d93f7a28ef2b3edd" args="(int rowSpan)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTableCell::setRowSpan </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rowSpan</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the row span. </p>
<p>The row span indicates how many table rows this <a class="el" href="classWt_1_1WTableCell.html" title="A container widget that represents a cell in a table.">WTableCell</a> overspans. By default, a <a class="el" href="classWt_1_1WTableCell.html" title="A container widget that represents a cell in a table.">WTableCell</a> has a row span of 1, only occupying its own grid cell. A row span greater than 1 indicates that table cells below this one are overspanned. </p>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>