Sophie

Sophie

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

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::WFormWidget 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_1WFormWidget.html">WFormWidget</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::WFormWidget Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WFormWidget" --><!-- doxytag: inherits="Wt::WInteractWidget" -->
<p>An abstract widget that corresponds to an HTML form element.  
 <a href="classWt_1_1WFormWidget.html#details">More...</a></p>

<p><code>#include &lt;Wt/WFormWidget&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::WFormWidget:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WFormWidget__inherit__graph.png" border="0" usemap="#Wt_1_1WFormWidget_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WFormWidget_inherit__map" id="Wt_1_1WFormWidget_inherit__map">
<area shape="rect" href="classWt_1_1WAbstractToggleButton.html" title="An abstract base class for radio buttons and check boxes." alt="" coords="848,56,1032,83"/><area shape="rect" href="classWt_1_1WComboBox.html" title="A widget that provides a drop&#45;down combo&#45;box control." alt="" coords="879,107,1001,133"/><area shape="rect" href="classWt_1_1WLineEdit.html" title="A widget that provides a single line edit." alt="" coords="887,157,993,184"/><area shape="rect" href="classWt_1_1WPushButton.html" title="A widget that represents a push button." alt="" coords="876,208,1004,235"/><area shape="rect" href="classWt_1_1WSlider.html" title="A horizontal or vertical slider control." alt="" coords="895,259,985,285"/><area shape="rect" href="classWt_1_1WTextArea.html" title="A widget that provides a multi&#45;line edit." alt="" coords="885,309,995,336"/><area shape="rect" href="classWt_1_1WInteractWidget.html" title="An abstract widget that can receive user&#45;interface interaction." alt="" coords="477,183,621,209"/><area shape="rect" href="classWt_1_1WWebWidget.html" title="A base class for widgets with an HTML counterpart." alt="" coords="301,183,429,209"/><area shape="rect" href="classWt_1_1WWidget.html" title="The abstract base class for a user&#45;interface component." alt="" coords="153,183,252,209"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="7,183,103,209"/><area shape="rect" href="classWt_1_1WCheckBox.html" title="A user control that represents a check box." alt="" coords="1099,5,1219,32"/><area shape="rect" href="classWt_1_1WRadioButton.html" title="A user control that represents a radio button." alt="" coords="1093,56,1224,83"/><area shape="rect" href="classWt_1_1WSelectionBox.html" title="A selection box allows selection from a list of options." alt="" coords="1091,107,1227,133"/><area shape="rect" href="classWt_1_1WAbstractSpinBox.html" title="An abstract spin box." alt="" coords="1080,157,1237,184"/><area shape="rect" href="classWt_1_1WDoubleSpinBox.html" title="An input control for fixed point numbers." alt="" coords="1287,132,1433,159"/><area shape="rect" href="classWt_1_1WSpinBox.html" title="An input control for integer numbers." alt="" coords="1307,183,1413,209"/><area shape="rect" href="classWt_1_1WTextEdit.html" title="A rich&#45;text XHTML editor." alt="" coords="1105,309,1212,336"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1WFormWidget-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="a63194da5d63a46188b38bbda2936cf61"></a><!-- doxytag: member="Wt::WFormWidget::WFormWidget" ref="a63194da5d63a46188b38bbda2936cf61" args="(WContainerWidget *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a63194da5d63a46188b38bbda2936cf61">WFormWidget</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 a WFormWidget with an optional parent. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#af9027662449d08a70e361611f6fcf4c7">~WFormWidget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#af9027662449d08a70e361611f6fcf4c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1WLabel.html">WLabel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a82f0eaf7fb35132644b429e2b3b8930f">label</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the label associated with this widget.  <a href="#a82f0eaf7fb35132644b429e2b3b8930f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a5dc109a9dce086ac204887947d85bd29">setHidden</a> (bool hidden, const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &amp;animation=<a class="el" href="classWt_1_1WAnimation.html">WAnimation</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the hidden state of this widget.  <a href="#a5dc109a9dce086ac204887947d85bd29"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WString.html">WString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a9e1ffd440abc07ce883d0a7b1a3883f6">valueText</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current value.  <a href="#a9e1ffd440abc07ce883d0a7b1a3883f6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a129d31b145f2614f608a852ca4e91731">setValueText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;value)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value text.  <a href="#a129d31b145f2614f608a852ca4e91731"></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_1WFormWidget.html#aa773d16013d6959149ce5081e84b259c">setValidator</a> (<a class="el" href="classWt_1_1WValidator.html">WValidator</a> *validator)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a validator for this field.  <a href="#aa773d16013d6959149ce5081e84b259c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4643be79e2c92bc448ce46e7d314335b"></a><!-- doxytag: member="Wt::WFormWidget::validator" ref="a4643be79e2c92bc448ce46e7d314335b" args="() const " -->
<a class="el" href="classWt_1_1WValidator.html">WValidator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a4643be79e2c92bc448ce46e7d314335b">validator</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the validator. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classWt_1_1WValidator.html#a638a1feefca259ea2f806a8add2d18a3">WValidator::State</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a7960606393d6158abb4a2d8c9d8fd2ef">validate</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Validates the field.  <a href="#a7960606393d6158abb4a2d8c9d8fd2ef"></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_1WFormWidget.html#ad26d15f452d47832a4467608977f03f5">setEnabled</a> (bool enabled)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether the widget is enabled.  <a href="#ad26d15f452d47832a4467608977f03f5"></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_1WFormWidget.html#afe33f5c3658ddbd08fec9f6c203c578b">setFocus</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gives focus.  <a href="#afe33f5c3658ddbd08fec9f6c203c578b"></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_1WFormWidget.html#ac424175d810c406d25efa64774d184c9">setFocus</a> (bool focus)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes focus.  <a href="#ac424175d810c406d25efa64774d184c9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a2234b9417267c7a932571654e58679"></a><!-- doxytag: member="Wt::WFormWidget::hasFocus" ref="a5a2234b9417267c7a932571654e58679" args="() const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a5a2234b9417267c7a932571654e58679">hasFocus</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this widget has focus. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#abfd96a78d98db8572c51c9b18ab3ec88">setTabIndex</a> (int index)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tab index.  <a href="#abfd96a78d98db8572c51c9b18ab3ec88"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#ad7d39967608f2ef1582a313eb9d08a07">tabIndex</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tab index.  <a href="#ad7d39967608f2ef1582a313eb9d08a07"></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_1WFormWidget.html#a353ae79a10748c870f1fa2ce1f174eaa">setReadOnly</a> (bool readOnly)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the element read-only.  <a href="#a353ae79a10748c870f1fa2ce1f174eaa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a06ffc301c0cfb7f9da4c74deb469282a">isReadOnly</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the form element is read-only.  <a href="#a06ffc301c0cfb7f9da4c74deb469282a"></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_1WFormWidget.html#a92de7a4d9ca6796607dc9fd26f608436">setEmptyText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;emptyText)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the empty text to be shown when the field is empty.  <a href="#a92de7a4d9ca6796607dc9fd26f608436"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a0f9f7ac3c423521f9ab0df855704eb71">emptyText</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the empty text to be shown when the field is empty.  <a href="#a0f9f7ac3c423521f9ab0df855704eb71"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5216ba1594b5dc525cc47cad593c7ba8"></a><!-- doxytag: member="Wt::WFormWidget::changed" ref="a5216ba1594b5dc525cc47cad593c7ba8" args="()" -->
<a class="el" href="classWt_1_1EventSignal.html">EventSignal</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a5216ba1594b5dc525cc47cad593c7ba8">changed</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when the value was changed. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f7fcabf3e2f51b884230c179ee52137"></a><!-- doxytag: member="Wt::WFormWidget::selected" ref="a4f7fcabf3e2f51b884230c179ee52137" args="()" -->
<a class="el" href="classWt_1_1EventSignal.html">EventSignal</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a4f7fcabf3e2f51b884230c179ee52137">selected</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when ?? <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5158413489fa4721d4689cc4639c914e"></a><!-- doxytag: member="Wt::WFormWidget::blurred" ref="a5158413489fa4721d4689cc4639c914e" args="()" -->
<a class="el" href="classWt_1_1EventSignal.html">EventSignal</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a5158413489fa4721d4689cc4639c914e">blurred</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when the widget lost focus. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe56345bd7225852e2f8ef92bc048f6a"></a><!-- doxytag: member="Wt::WFormWidget::focussed" ref="afe56345bd7225852e2f8ef92bc048f6a" args="()" -->
<a class="el" href="classWt_1_1EventSignal.html">EventSignal</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#afe56345bd7225852e2f8ef92bc048f6a">focussed</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when the widget recieved focus. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classWt_1_1Signal.html">Signal</a>&lt; <a class="el" href="classWt_1_1WValidator_1_1Result.html">WValidator::Result</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#af4c1e4155ed71cf5f147b77d4869dd2b">validated</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal emitted when the widget is being validated.  <a href="#af4c1e4155ed71cf5f147b77d4869dd2b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a0d96e013a6d123df4d5ae90457287cec">refresh</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Refresh the widget.  <a href="#a0d96e013a6d123df4d5ae90457287cec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a3f543add9b915be258e0152db3ebf992">setToolTip</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;text, <a class="el" href="namespaceWt.html#a140dea437d52d3d7c438ea3bd16a1480">TextFormat</a> textFormat=PlainText)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a tooltip.  <a href="#a3f543add9b915be258e0152db3ebf992"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#a503448cefdd06c5fe18bf13e911e8bb8">enableAjax</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Progresses to an Ajax-enabled widget.  <a href="#a503448cefdd06c5fe18bf13e911e8bb8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual WStatelessSlot *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#ae6f44795e053299e31a3ab3e433c7deb">getStateless</a> (<a class="el" href="classWt_1_1WObject.html#a6ef714d6ef0060b78c039e729b913aa9">Method</a> method)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">On-demand stateless slot implementation.  <a href="#ae6f44795e053299e31a3ab3e433c7deb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WFormWidget.html#aff5d72ac52040b97a77c21b0b38d44c8">propagateSetEnabled</a> (bool enabled)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Propagates that a widget was enabled or disabled through children.  <a href="#aff5d72ac52040b97a77c21b0b38d44c8"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An abstract widget that corresponds to an HTML form element. </p>
<p>A WFormWidget may receive focus, can be disabled, and can have a label that acts as proxy for getting focus. It provides signals which reflect changes to its value, or changes to its focus.</p>
<p>Form widgets also have built-in support for validation, using <a class="el" href="classWt_1_1WFormWidget.html#aa773d16013d6959149ce5081e84b259c" title="Sets a validator for this field.">setValidator(WValidator *)</a>. If the validator provide client-side validation, then an invalid validation state is reflected using the style class <code>"Wt-invalid"</code>. All validators provided by Wt implement client-side validation.</p>
<p>On the server-side, use <a class="el" href="classWt_1_1WFormWidget.html#a7960606393d6158abb4a2d8c9d8fd2ef" title="Validates the field.">validate()</a> method to validate the content using a validator previously set. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af9027662449d08a70e361611f6fcf4c7"></a><!-- doxytag: member="Wt::WFormWidget::~WFormWidget" ref="af9027662449d08a70e361611f6fcf4c7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Wt::WFormWidget::~WFormWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>
<p>If a label was associated with the widget, its buddy is reset to <code>0</code>. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0f9f7ac3c423521f9ab0df855704eb71"></a><!-- doxytag: member="Wt::WFormWidget::emptyText" ref="a0f9f7ac3c423521f9ab0df855704eb71" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classWt_1_1WString.html">WString</a>&amp; Wt::WFormWidget::emptyText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the empty text to be shown when the field is empty. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WFormWidget.html#a92de7a4d9ca6796607dc9fd26f608436" title="Sets the empty text to be shown when the field is empty.">setEmptyText()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a503448cefdd06c5fe18bf13e911e8bb8"></a><!-- doxytag: member="Wt::WFormWidget::enableAjax" ref="a503448cefdd06c5fe18bf13e911e8bb8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::enableAjax </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Progresses to an Ajax-enabled widget. </p>
<p>This method is called when the progressive bootstrap method is used, and support for AJAX has been detected. The default behavior will upgrade the widget's event handling to use AJAX instead of full page reloads, and propagate the call to its children.</p>
<p>You may want to reimplement this method if you want to make changes to widget when AJAX is enabled. You should always call the base implementation.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WApplication.html#a78016406c4746c56b2c2ffce7c5e181f" title="Progresses to an Ajax-enabled user interface.">WApplication::enableAjax()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classWt_1_1WWebWidget.html#a8e1d7c93f533be68e3d4ee34f65486fd">Wt::WWebWidget</a>.</p>

</div>
</div>
<a class="anchor" id="ae6f44795e053299e31a3ab3e433c7deb"></a><!-- doxytag: member="Wt::WFormWidget::getStateless" ref="ae6f44795e053299e31a3ab3e433c7deb" args="(Method method)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WStatelessSlot * Wt::WFormWidget::getStateless </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WObject.html#a6ef714d6ef0060b78c039e729b913aa9">Method</a>&#160;</td>
          <td class="paramname"><em>method</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>On-demand stateless slot implementation. </p>
<p>This method returns a stateless slot implementation for the given <code>method</code>. To avoid the cost of declaring methods to be stateless when they are not used, you may reimplement this method to provide a stateless implementation for a method only when the method is involved in a slot connection.</p>
<p>Use <a class="el" href="classWt_1_1WObject.html#adaa163b9e92933f3b2ff4ec58e2734c6" title="Declares a slot to be stateless and learn client-side behaviour on first invocation.">implementStateless()</a> to provide a stateless implementation of the given <code>method</code>, or return the base class implementation otherwise. </p>

<p>Reimplemented from <a class="el" href="classWt_1_1WWidget.html#ac7b367f664ab2b12ef79003123a17a0e">Wt::WWidget</a>.</p>

<p>Reimplemented in <a class="el" href="classWt_1_1WAbstractToggleButton.html#a7f686a8fc96dbecac79b58271c7dbb00">Wt::WAbstractToggleButton</a>.</p>

</div>
</div>
<a class="anchor" id="a06ffc301c0cfb7f9da4c74deb469282a"></a><!-- doxytag: member="Wt::WFormWidget::isReadOnly" ref="a06ffc301c0cfb7f9da4c74deb469282a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Wt::WFormWidget::isReadOnly </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the form element is read-only. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WFormWidget.html#a353ae79a10748c870f1fa2ce1f174eaa" title="Sets the element read-only.">setReadOnly()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a82f0eaf7fb35132644b429e2b3b8930f"></a><!-- doxytag: member="Wt::WFormWidget::label" ref="a82f0eaf7fb35132644b429e2b3b8930f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WLabel.html">WLabel</a>* Wt::WFormWidget::label </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the label associated with this widget. </p>
<p>Returns the label (if there is one) that acts as a proxy for this widget.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WLabel.html#af468c613eab7d184c68fd6ae20978de5" title="Sets the buddy of this label.">WLabel::setBuddy(WFormWidget *)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aff5d72ac52040b97a77c21b0b38d44c8"></a><!-- doxytag: member="Wt::WFormWidget::propagateSetEnabled" ref="aff5d72ac52040b97a77c21b0b38d44c8" args="(bool enabled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::propagateSetEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Propagates that a widget was enabled or disabled through children. </p>
<p>When enabling or disabling a widget, you usually also want to disable contained children. This method is called by <a class="el" href="classWt_1_1WWebWidget.html#aa3be5434e20cd0bd428eeb6f89fc89bc" title="Sets whether the widget is disabled.">setDisabled()</a> to propagate its state to all children.</p>
<p>You may want to reimplement this method if they wish to render differently when a widget is disabled. The default implementation will propagate the signal to all children. </p>

<p>Reimplemented from <a class="el" href="classWt_1_1WInteractWidget.html#ac331a4996af95f7a60264f67d51a74d2">Wt::WInteractWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a0d96e013a6d123df4d5ae90457287cec"></a><!-- doxytag: member="Wt::WFormWidget::refresh" ref="a0d96e013a6d123df4d5ae90457287cec" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::refresh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Refresh the widget. </p>
<p>The refresh method is invoked when the locale is changed using <a class="el" href="classWt_1_1WApplication.html#a5c9cc1350019d69f154a2b44cdaf2596" title="Changes the locale.">WApplication::setLocale()</a> or when the user hit the refresh button.</p>
<p>The widget must actualize its contents in response. </p>

<p>Reimplemented from <a class="el" href="classWt_1_1WWebWidget.html#a48f8c17376bd04d1359481c5441f072a">Wt::WWebWidget</a>.</p>

<p>Reimplemented in <a class="el" href="classWt_1_1WComboBox.html#aea94ab9c31cd5030906d73a8134e6e00">Wt::WComboBox</a>, and <a class="el" href="classWt_1_1WPushButton.html#a57084964c8ecf099bcf3e4767a5cca68">Wt::WPushButton</a>.</p>

</div>
</div>
<a class="anchor" id="a92de7a4d9ca6796607dc9fd26f608436"></a><!-- doxytag: member="Wt::WFormWidget::setEmptyText" ref="a92de7a4d9ca6796607dc9fd26f608436" args="(const WString &amp;emptyText)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::setEmptyText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>emptyText</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the empty text to be shown when the field is empty. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WFormWidget.html#a0f9f7ac3c423521f9ab0df855704eb71" title="Returns the empty text to be shown when the field is empty.">emptyText()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad26d15f452d47832a4467608977f03f5"></a><!-- doxytag: member="Wt::WFormWidget::setEnabled" ref="ad26d15f452d47832a4467608977f03f5" args="(bool enabled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::setEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether the widget is enabled. </p>
<p>A widget that is disabled cannot receive focus or user interaction.</p>
<p>This is the opposite of <a class="el" href="classWt_1_1WWebWidget.html#aa3be5434e20cd0bd428eeb6f89fc89bc" title="Sets whether the widget is disabled.">setDisabled()</a>. </p>

</div>
</div>
<a class="anchor" id="afe33f5c3658ddbd08fec9f6c203c578b"></a><!-- doxytag: member="Wt::WFormWidget::setFocus" ref="afe33f5c3658ddbd08fec9f6c203c578b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::setFocus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gives focus. </p>
<p>Giving focus to an input element only works when JavaScript is enabled. </p>

</div>
</div>
<a class="anchor" id="ac424175d810c406d25efa64774d184c9"></a><!-- doxytag: member="Wt::WFormWidget::setFocus" ref="ac424175d810c406d25efa64774d184c9" args="(bool focus)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::setFocus </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>focus</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes focus. </p>
<p>When using <code>focus</code> = <code>false</code>, you can undo a previous <a class="el" href="classWt_1_1WFormWidget.html#afe33f5c3658ddbd08fec9f6c203c578b" title="Gives focus.">setFocus()</a> call. </p>

</div>
</div>
<a class="anchor" id="a5dc109a9dce086ac204887947d85bd29"></a><!-- doxytag: member="Wt::WFormWidget::setHidden" ref="a5dc109a9dce086ac204887947d85bd29" args="(bool hidden, const WAnimation &amp;animation=WAnimation())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::setHidden </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>hidden</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WAnimation.html">WAnimation</a> &amp;&#160;</td>
          <td class="paramname"><em>animation</em> = <code><a class="el" href="classWt_1_1WAnimation.html">WAnimation</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the hidden state of this widget. </p>
<p>If the widget has a label, it is hidden and shown together with this widget. </p>

<p>Reimplemented from <a class="el" href="classWt_1_1WWebWidget.html#a8130c7caf29b2bcb2d347a69e13b17eb">Wt::WWebWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a353ae79a10748c870f1fa2ce1f174eaa"></a><!-- doxytag: member="Wt::WFormWidget::setReadOnly" ref="a353ae79a10748c870f1fa2ce1f174eaa" args="(bool readOnly)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::setReadOnly </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>readOnly</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the element read-only. </p>
<p>A read-only form element cannot be edited, but the contents can still be selected.</p>
<p>By default, a form element area is not read-only.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WFormWidget.html#ad26d15f452d47832a4467608977f03f5" title="Sets whether the widget is enabled.">setEnabled()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abfd96a78d98db8572c51c9b18ab3ec88"></a><!-- doxytag: member="Wt::WFormWidget::setTabIndex" ref="abfd96a78d98db8572c51c9b18ab3ec88" args="(int index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::setTabIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the tab index. </p>
<p>For widgets that receive focus, focus is passed on to the next widget in the <em>tabbing chain</em> based on their tab index. When the user navigates through form widgets using the keyboard, widgets receive focus starting from the element with the lowest tab index to elements with the highest tab index.</p>
<p>A tab index only applies to widgets than can receive focus (which are <a class="el" href="classWt_1_1WFormWidget.html" title="An abstract widget that corresponds to an HTML form element.">WFormWidget</a>, <a class="el" href="classWt_1_1WAnchor.html" title="A widget that represents an HTML anchor (to link to other documents).">WAnchor</a>, <a class="el" href="classWt_1_1WPushButton.html" title="A widget that represents a push button.">WPushButton</a>), but setting a tab index on any other type of widget will propagate to its contained form widgets.</p>
<p>Widgets with a same tab index will receive focus in the same order as they are inserted in the widget tree.</p>
<p>The default tab index is 0.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>setTabOrder() </dd></dl>

<p>Reimplemented from <a class="el" href="classWt_1_1WWebWidget.html#adcd712a20a14b659d09af34fd762fdca">Wt::WWebWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a3f543add9b915be258e0152db3ebf992"></a><!-- doxytag: member="Wt::WFormWidget::setToolTip" ref="a3f543add9b915be258e0152db3ebf992" args="(const WString &amp;text, TextFormat textFormat=PlainText)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::setToolTip </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceWt.html#a140dea437d52d3d7c438ea3bd16a1480">TextFormat</a>&#160;</td>
          <td class="paramname"><em>textFormat</em> = <code>PlainText</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a tooltip. </p>
<p>The tooltip is displayed when the cursor hovers over the widget.</p>
<p>When <code>textFormat</code> is XHTMLText, the tooltip may contain any valid XHTML snippet. The tooltip will then be rendered using JavaScript. </p>

<p>Reimplemented from <a class="el" href="classWt_1_1WWebWidget.html#ab03e9249523c5a8b9c696f5f378a2082">Wt::WWebWidget</a>.</p>

</div>
</div>
<a class="anchor" id="aa773d16013d6959149ce5081e84b259c"></a><!-- doxytag: member="Wt::WFormWidget::setValidator" ref="aa773d16013d6959149ce5081e84b259c" args="(WValidator *validator)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WFormWidget::setValidator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WValidator.html">WValidator</a> *&#160;</td>
          <td class="paramname"><em>validator</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a validator for this field. </p>
<p>The validator is used to validate the current input.</p>
<p>If the validator has no parent yet, then ownership is transferred to the form field, and thus the validator will be deleted together with the form field.</p>
<p>The default value is <code>0</code>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WFormWidget.html#a7960606393d6158abb4a2d8c9d8fd2ef" title="Validates the field.">validate()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a129d31b145f2614f608a852ca4e91731"></a><!-- doxytag: member="Wt::WFormWidget::setValueText" ref="a129d31b145f2614f608a852ca4e91731" args="(const WString &amp;value)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Wt::WFormWidget::setValueText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the value text. </p>
<p>This sets the current value from a string value. </p>

<p>Implemented in <a class="el" href="classWt_1_1WSlider.html#a889cbf391b3f7609c3f69aad326c4460">Wt::WSlider</a>, <a class="el" href="classWt_1_1WComboBox.html#ab6cb87ce4b20eca33f8e70cf2b71973c">Wt::WComboBox</a>, <a class="el" href="classWt_1_1WLineEdit.html#a7e1c637181cc280810d51e3af45c4642">Wt::WLineEdit</a>, <a class="el" href="classWt_1_1WPushButton.html#a700ac25ef6b2c3f51a4e9ccb8654bd98">Wt::WPushButton</a>, <a class="el" href="classWt_1_1WTextArea.html#aad1a86ffe8e18eed8a2ef6cf6b9300ba">Wt::WTextArea</a>, and <a class="el" href="classWt_1_1WAbstractToggleButton.html#aef6a9456cf5b295a32e01702e00e333f">Wt::WAbstractToggleButton</a>.</p>

</div>
</div>
<a class="anchor" id="ad7d39967608f2ef1582a313eb9d08a07"></a><!-- doxytag: member="Wt::WFormWidget::tabIndex" ref="ad7d39967608f2ef1582a313eb9d08a07" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::WFormWidget::tabIndex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the tab index. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WFormWidget.html#abfd96a78d98db8572c51c9b18ab3ec88" title="Sets the tab index.">setTabIndex()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classWt_1_1WWebWidget.html#a1b1ab73cbe01ff5a8c0df11d11a84c1d">Wt::WWebWidget</a>.</p>

</div>
</div>
<a class="anchor" id="a7960606393d6158abb4a2d8c9d8fd2ef"></a><!-- doxytag: member="Wt::WFormWidget::validate" ref="a7960606393d6158abb4a2d8c9d8fd2ef" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WValidator.html#a638a1feefca259ea2f806a8add2d18a3">WValidator::State</a> Wt::WFormWidget::validate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Validates the field. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WFormWidget.html#af4c1e4155ed71cf5f147b77d4869dd2b" title="Signal emitted when the widget is being validated.">validated()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af4c1e4155ed71cf5f147b77d4869dd2b"></a><!-- doxytag: member="Wt::WFormWidget::validated" ref="af4c1e4155ed71cf5f147b77d4869dd2b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1Signal.html">Signal</a>&lt;<a class="el" href="classWt_1_1WValidator_1_1Result.html">WValidator::Result</a>&gt;&amp; Wt::WFormWidget::validated </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal emitted when the widget is being validated. </p>
<p>This signal may be useful to react to a changed validation state.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WFormWidget.html#a7960606393d6158abb4a2d8c9d8fd2ef" title="Validates the field.">validate()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9e1ffd440abc07ce883d0a7b1a3883f6"></a><!-- doxytag: member="Wt::WFormWidget::valueText" ref="a9e1ffd440abc07ce883d0a7b1a3883f6" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classWt_1_1WString.html">WString</a> Wt::WFormWidget::valueText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the current value. </p>
<p>This returns the current value as a string. </p>

<p>Implemented in <a class="el" href="classWt_1_1WSlider.html#a495935bcdd481b1ba1bb1f306b514313">Wt::WSlider</a>, <a class="el" href="classWt_1_1WComboBox.html#aab8a2c3f1dda8809f8ba43b7590fca93">Wt::WComboBox</a>, <a class="el" href="classWt_1_1WLineEdit.html#aa4214d114b118083522ffa60fffc21ed">Wt::WLineEdit</a>, <a class="el" href="classWt_1_1WPushButton.html#a517e542bbfd98369b8d22e206379fb6f">Wt::WPushButton</a>, <a class="el" href="classWt_1_1WTextArea.html#a7a2951a0835099cffda19f217c009e20">Wt::WTextArea</a>, and <a class="el" href="classWt_1_1WAbstractToggleButton.html#a8b5b93e0a780b7d4e12ddf16231a8e91">Wt::WAbstractToggleButton</a>.</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>