File: classWt_1_1WTable.html

package info (click to toggle)
witty 3.2.1-2%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 70,436 kB
  • sloc: cpp: 117,095; ansic: 77,999; xml: 7,564; sh: 1,037; perl: 208; makefile: 144; java: 86; sql: 14
file content (471 lines) | stat: -rw-r--r-- 31,795 bytes parent folder | download
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
<!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::WTable 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.1</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_1WTable.html">WTable</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::WTable Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WTable" --><!-- doxytag: inherits="Wt::WInteractWidget" -->
<p>A container widget which provides layout of children in a table grid.  
 <a href="classWt_1_1WTable.html#details">More...</a></p>

<p><code>#include &lt;Wt/WTable&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::WTable:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WTable__inherit__graph.png" border="0" usemap="#Wt_1_1WTable_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WTable_inherit__map" id="Wt_1_1WTable_inherit__map">
<area shape="rect" href="classWt_1_1WInteractWidget.html" title="An abstract widget that can receive user&#45;interface interaction." alt="" coords="5,229,149,256"/><area shape="rect" href="classWt_1_1WWebWidget.html" title="A base class for widgets with an HTML counterpart." alt="" coords="13,155,141,181"/><area shape="rect" href="classWt_1_1WWidget.html" title="The abstract base class for a user&#45;interface component." alt="" coords="28,80,127,107"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="29,5,125,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1WTable-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"><a class="anchor" id="aa5c23e5c08d11315063e7714c85a8364"></a><!-- doxytag: member="Wt::WTable::WTable" ref="aa5c23e5c08d11315063e7714c85a8364" args="(WContainerWidget *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#aa5c23e5c08d11315063e7714c85a8364">WTable</a> (<a class="el" href="classWt_1_1WContainerWidget.html">WContainerWidget</a> *parent=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an empty table. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a342361febd4e025a71d4ccf3990b9c7c"></a><!-- doxytag: member="Wt::WTable::~WTable" ref="a342361febd4e025a71d4ccf3990b9c7c" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#a342361febd4e025a71d4ccf3990b9c7c">~WTable</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes the table and its entire contents. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WTableCell.html">WTableCell</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a> (int row, int column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Accesses the table element at the given row and column.  <a href="#ac4b59af9a44e185edb14e7f1f439d6c4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WTableRow.html">WTableRow</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#aff46a40881a7d0967d7435d8d479bedb">rowAt</a> (int row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the row object for the given row.  <a href="#aff46a40881a7d0967d7435d8d479bedb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WTableColumn.html">WTableColumn</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#a37dc3995a309d32a0e4bf857596df00e">columnAt</a> (int column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the column object for the given column.  <a href="#a37dc3995a309d32a0e4bf857596df00e"></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_1WTable.html#a5c45c882a0b3af6d0c0ed13b6217c078">removeCell</a> (<a class="el" href="classWt_1_1WTableCell.html">WTableCell</a> *item)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes a table cell and its contents.  <a href="#a5c45c882a0b3af6d0c0ed13b6217c078"></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_1WTable.html#a46b216d395d19f3f9a71d1f168ca4f16">removeCell</a> (int row, int column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes the table cell at the given position.  <a href="#a46b216d395d19f3f9a71d1f168ca4f16"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a53a8121130504141346ec8f355f6d691"></a><!-- doxytag: member="Wt::WTable::insertRow" ref="a53a8121130504141346ec8f355f6d691" args="(int row)" -->
<a class="el" href="classWt_1_1WTableRow.html">WTableRow</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#a53a8121130504141346ec8f355f6d691">insertRow</a> (int row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts an empty row. <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_1WTable.html#a1e0910054f11ebdc8ae3a5cd7b03975c">deleteRow</a> (int row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes a row and all its contents.  <a href="#a1e0910054f11ebdc8ae3a5cd7b03975c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfc99f211e1bbf2ad5c5898347a412a4"></a><!-- doxytag: member="Wt::WTable::insertColumn" ref="acfc99f211e1bbf2ad5c5898347a412a4" args="(int column)" -->
<a class="el" href="classWt_1_1WTableColumn.html">WTableColumn</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#acfc99f211e1bbf2ad5c5898347a412a4">insertColumn</a> (int column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts an empty column. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5cb1b9e4cc08ff62f203eab0894e0756"></a><!-- doxytag: member="Wt::WTable::deleteColumn" ref="a5cb1b9e4cc08ff62f203eab0894e0756" args="(int column)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#a5cb1b9e4cc08ff62f203eab0894e0756">deleteColumn</a> (int column)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete a column and all its contents. <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_1WTable.html#a431d6a3da63ab9696e084ad7c2438afb">clear</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the entire table.  <a href="#a431d6a3da63ab9696e084ad7c2438afb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79d5dfe40ee5e67c5007ee370e8cd2f3"></a><!-- doxytag: member="Wt::WTable::rowCount" ref="a79d5dfe40ee5e67c5007ee370e8cd2f3" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#a79d5dfe40ee5e67c5007ee370e8cd2f3">rowCount</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of rows in the table. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d062330d1c9b3f202985b92dcb59d4f"></a><!-- doxytag: member="Wt::WTable::columnCount" ref="a4d062330d1c9b3f202985b92dcb59d4f" args="() const " -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WTable.html#a4d062330d1c9b3f202985b92dcb59d4f">columnCount</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of columns in the table. <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_1WTable.html#ae5e4e17ae51492b26e1930332d2f5bae">setHeaderCount</a> (int count, <a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation=Horizontal)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the number of header rows or columns.  <a href="#ae5e4e17ae51492b26e1930332d2f5bae"></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_1WTable.html#ab742cd4fbda9d0692aad3165c34e0e84">headerCount</a> (<a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a> orientation=Horizontal)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of header rows or columns.  <a href="#ab742cd4fbda9d0692aad3165c34e0e84"></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_1WTable.html#a239d85781509ff321eb964af042bcf57">moveRow</a> (int from, int to)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Move a table row from its original position to a new position.  <a href="#a239d85781509ff321eb964af042bcf57"></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_1WTable.html#a0670b90a05a6c0176c773bf8766a5bf2">moveColumn</a> (int from, int to)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Move a table column from its original position to a new position.  <a href="#a0670b90a05a6c0176c773bf8766a5bf2"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A container widget which provides layout of children in a table grid. </p>
<p>A WTable arranges its children in a table.</p>
<p>To insert or access contents, use <a class="el" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt(int row, int column)</a> to access the <a class="el" href="classWt_1_1WTableCell.html">cell</a> at a particular location in the table. The WTable expands automatically to create the indexed (row, column) as necessary.</p>
<p>It is possible to insert and delete entire rows or columns from the table using the <a class="el" href="classWt_1_1WTable.html#acfc99f211e1bbf2ad5c5898347a412a4" title="Inserts an empty column.">insertColumn(int column)</a>, <a class="el" href="classWt_1_1WTable.html#a53a8121130504141346ec8f355f6d691" title="Inserts an empty row.">insertRow(int row)</a>, <a class="el" href="classWt_1_1WTable.html#a5cb1b9e4cc08ff62f203eab0894e0756" title="Delete a column and all its contents.">deleteColumn(int column)</a>, or <a class="el" href="classWt_1_1WTable.html#a1e0910054f11ebdc8ae3a5cd7b03975c" title="Deletes a row and all its contents.">deleteRow(int row)</a> methods.</p>
<p>You may indicate a number of rows and columns that act as headers using <a class="el" href="classWt_1_1WTable.html#ae5e4e17ae51492b26e1930332d2f5bae" title="Sets the number of header rows or columns.">setHeaderCount()</a>. Header cells are rendered as <code>&lt;th&gt;</code> instead of <code>&lt;td&gt;</code> elements. By default, no rows or columns are configured as headers.</p>
<p>WTable is displayed as a <a class="el" href="classWt_1_1WWidget.html#ac78e3af143883334c82031790c87416e">block</a>.</p>
<p>Usage example: </p>
<div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WTable.html" title="A container widget which provides layout of children in a table grid.">Wt::WTable</a> *table = <span class="keyword">new</span> <a class="code" href="classWt_1_1WTable.html#aa5c23e5c08d11315063e7714c85a8364" title="Creates an empty table.">Wt::WTable</a>(<span class="keyword">this</span>);
 table-&gt;<a class="code" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt</a>(0, 0)-&gt;addWidget(<span class="keyword">new</span> <a class="code" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text.">Wt::WText</a>(<span class="stringliteral">&quot;Item @ row 0, column 0&quot;</span>));
 table-&gt;<a class="code" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt</a>(0, 1)-&gt;addWidget(<span class="keyword">new</span> <a class="code" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text.">Wt::WText</a>(<span class="stringliteral">&quot;Item @ row 0, column 1&quot;</span>));
 table-&gt;<a class="code" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt</a>(1, 0)-&gt;addWidget(<span class="keyword">new</span> <a class="code" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text.">Wt::WText</a>(<span class="stringliteral">&quot;Item @ row 1, column 0&quot;</span>));
 table-&gt;<a class="code" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt</a>(1, 1)-&gt;addWidget(<span class="keyword">new</span> <a class="code" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text.">Wt::WText</a>(<span class="stringliteral">&quot;Item @ row 1, column 1&quot;</span>));

 <a class="code" href="classWt_1_1WTableCell.html" title="A container widget that represents a cell in a table.">Wt::WTableCell</a> *cell = table-&gt;<a class="code" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt</a>(2, 0);
 cell-&gt;<a class="code" href="classWt_1_1WContainerWidget.html#a2cfe66d9b62940f889e99538a9f478d2" title="Adds a child widget to this container.">addWidget</a>(<span class="keyword">new</span> <a class="code" href="classWt_1_1WText.html" title="A widget that renders (XHTML) text.">Wt::WText</a>(<span class="stringliteral">&quot;Item @ row 2&quot;</span>));
 cell-&gt;<a class="code" href="classWt_1_1WTableCell.html#a0f4912b4c023b78e6de41561e2e0a62a" title="Sets the column span.">setColumnSpan</a>(2);
</pre></div><h3>CSS</h3>
<p>The widget corresponds to the HTML <code>&lt;table&gt;</code> tag and does not provide styling. It 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_1WTableCell.html" title="A container widget that represents a cell in a table.">WTableCell</a>, <a class="el" href="classWt_1_1WTableRow.html" title="A table row.">WTableRow</a>, <a class="el" href="classWt_1_1WTableColumn.html" title="A table column.">WTableColumn</a> </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a431d6a3da63ab9696e084ad7c2438afb"></a><!-- doxytag: member="Wt::WTable::clear" ref="a431d6a3da63ab9696e084ad7c2438afb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTable::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears the entire table. </p>
<p>This method clears the entire table: all cells and their contents are deleted. </p>

</div>
</div>
<a class="anchor" id="a37dc3995a309d32a0e4bf857596df00e"></a><!-- doxytag: member="Wt::WTable::columnAt" ref="a37dc3995a309d32a0e4bf857596df00e" args="(int column)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WTableColumn.html">WTableColumn</a> * Wt::WTable::columnAt </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the column object for the given column. </p>
<p>Like with <a class="el" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt()</a>, the table expands automatically when the column is beyond the current table dimensions.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt(int, int)</a>, <a class="el" href="classWt_1_1WTable.html#aff46a40881a7d0967d7435d8d479bedb" title="Returns the row object for the given row.">rowAt(int)</a> </dd></dl>

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

<p>Deletes a row and all its contents. </p>
<p>Rows below the given row are shifted up. </p>

</div>
</div>
<a class="anchor" id="ac4b59af9a44e185edb14e7f1f439d6c4"></a><!-- doxytag: member="Wt::WTable::elementAt" ref="ac4b59af9a44e185edb14e7f1f439d6c4" args="(int row, int column)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WTableCell.html">WTableCell</a> * Wt::WTable::elementAt </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Accesses the table element at the given row and column. </p>
<p>If the row/column is beyond the current table dimensions, then the table is expanded automatically. </p>

</div>
</div>
<a class="anchor" id="ab742cd4fbda9d0692aad3165c34e0e84"></a><!-- doxytag: member="Wt::WTable::headerCount" ref="ab742cd4fbda9d0692aad3165c34e0e84" args="(Orientation orientation=Horizontal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::WTable::headerCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>&#160;</td>
          <td class="paramname"><em>orientation</em> = <code>Horizontal</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the number of header rows or columns. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTable.html#ae5e4e17ae51492b26e1930332d2f5bae" title="Sets the number of header rows or columns.">setHeaderCount()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0670b90a05a6c0176c773bf8766a5bf2"></a><!-- doxytag: member="Wt::WTable::moveColumn" ref="a0670b90a05a6c0176c773bf8766a5bf2" args="(int from, int to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTable::moveColumn </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Move a table column from its original position to a new position. </p>
<p>The table expands automatically when the <code>to</code> column is beyond the current table dimensions.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTable.html#a239d85781509ff321eb964af042bcf57" title="Move a table row from its original position to a new position.">moveRow()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a239d85781509ff321eb964af042bcf57"></a><!-- doxytag: member="Wt::WTable::moveRow" ref="a239d85781509ff321eb964af042bcf57" args="(int from, int to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTable::moveRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>to</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Move a table row from its original position to a new position. </p>
<p>The table expands automatically when the <code>to</code> row is beyond the current table dimensions.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTable.html#a0670b90a05a6c0176c773bf8766a5bf2" title="Move a table column from its original position to a new position.">moveColumn()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5c45c882a0b3af6d0c0ed13b6217c078"></a><!-- doxytag: member="Wt::WTable::removeCell" ref="a5c45c882a0b3af6d0c0ed13b6217c078" args="(WTableCell *item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTable::removeCell </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WTableCell.html">WTableCell</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Deletes a table cell and its contents. </p>
<p>The table cell at that position is recreated. </p>

</div>
</div>
<a class="anchor" id="a46b216d395d19f3f9a71d1f168ca4f16"></a><!-- doxytag: member="Wt::WTable::removeCell" ref="a46b216d395d19f3f9a71d1f168ca4f16" args="(int row, int column)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTable::removeCell </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Deletes the table cell at the given position. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTable.html#a5c45c882a0b3af6d0c0ed13b6217c078" title="Deletes a table cell and its contents.">removeCell(WTableCell *)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aff46a40881a7d0967d7435d8d479bedb"></a><!-- doxytag: member="Wt::WTable::rowAt" ref="aff46a40881a7d0967d7435d8d479bedb" args="(int row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WTableRow.html">WTableRow</a> * Wt::WTable::rowAt </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the row object for the given row. </p>
<p>Like with <a class="el" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt()</a>, the table expands automatically when the row is beyond the current table dimensions.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4" title="Accesses the table element at the given row and column.">elementAt(int, int)</a>, <a class="el" href="classWt_1_1WTable.html#a37dc3995a309d32a0e4bf857596df00e" title="Returns the column object for the given column.">columnAt(int)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae5e4e17ae51492b26e1930332d2f5bae"></a><!-- doxytag: member="Wt::WTable::setHeaderCount" ref="ae5e4e17ae51492b26e1930332d2f5bae" args="(int count, Orientation orientation=Horizontal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WTable::setHeaderCount </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a2a8d45559e16a0185bf61bfad0a67912">Orientation</a>&#160;</td>
          <td class="paramname"><em>orientation</em> = <code>Horizontal</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the number of header rows or columns. </p>
<p>The default values are 0.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This must be set before the initial rendering and cannot be changed later. </dd></dl>

</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 Fri Mar 30 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>