File: classWt_1_1WDoubleValidator.html

package info (click to toggle)
witty 3.1.2-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 45,512 kB
  • ctags: 35,832
  • sloc: cpp: 69,469; ansic: 66,945; xml: 4,383; sh: 594; perl: 108; makefile: 106
file content (341 lines) | stat: -rw-r--r-- 22,614 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt: Wt::WDoubleValidator Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceWt.html">Wt</a>::<a class="el" href="classWt_1_1WDoubleValidator.html">WDoubleValidator</a>
  </div>
</div>
<div class="contents">
<h1>Wt::WDoubleValidator Class Reference</h1><!-- doxytag: class="Wt::WDoubleValidator" --><!-- doxytag: inherits="Wt::WValidator" -->A validator for validating floating point user input.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;Wt/WDoubleValidator&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Wt::WDoubleValidator:</div>
<div class="dynsection">
<p><center><img src="classWt_1_1WDoubleValidator__inherit__graph.png" border="0" usemap="#Wt_1_1WDoubleValidator__inherit__map" alt="Inheritance graph"></center>
<map name="Wt_1_1WDoubleValidator__inherit__map">
<area shape="rect" href="classWt_1_1WValidator.html" title="A validator is used to validate user input according to pre&#45;defined rules." alt="" coords="25,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="31,5,127,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classWt_1_1WDoubleValidator-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="60ac6a9c4da70a17daa84a41d04b87dd"></a><!-- doxytag: member="Wt::WDoubleValidator::WDoubleValidator" ref="60ac6a9c4da70a17daa84a41d04b87dd" args="(WObject *parent=0)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#60ac6a9c4da70a17daa84a41d04b87dd">WDoubleValidator</a> (<a class="el" href="classWt_1_1WObject.html">WObject</a> *parent=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new double validator that accepts any double. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3a7b569012485ce6a217c47ffb26af24"></a><!-- doxytag: member="Wt::WDoubleValidator::WDoubleValidator" ref="3a7b569012485ce6a217c47ffb26af24" args="(double minimum, double maximum, WObject *parent=0)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#3a7b569012485ce6a217c47ffb26af24">WDoubleValidator</a> (double minimum, double maximum, <a class="el" href="classWt_1_1WObject.html">WObject</a> *parent=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new double validator that accepts double within the given range. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1f6b0952651e5503e6ff6657bd09180"></a><!-- doxytag: member="Wt::WDoubleValidator::bottom" ref="a1f6b0952651e5503e6ff6657bd09180" args="() const " -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a1f6b0952651e5503e6ff6657bd09180">bottom</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the bottom of the valid double range. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#520fe2f7859670b0c30144dbc4990e98">setBottom</a> (double bottom)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the bottom of the valid double range.  <a href="#520fe2f7859670b0c30144dbc4990e98"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="708124404d7088f51f458bee1641288d"></a><!-- doxytag: member="Wt::WDoubleValidator::top" ref="708124404d7088f51f458bee1641288d" args="() const " -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#708124404d7088f51f458bee1641288d">top</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the top of the valid double range. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#931cc4c5d0409093f4a6fd8ab023ee73">setTop</a> (double top)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the top of the valid double range.  <a href="#931cc4c5d0409093f4a6fd8ab023ee73"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="160f579d7884d02786a1cc36ec3ecca1"></a><!-- doxytag: member="Wt::WDoubleValidator::setRange" ref="160f579d7884d02786a1cc36ec3ecca1" args="(double bottom, double top)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#160f579d7884d02786a1cc36ec3ecca1">setRange</a> (double bottom, double top)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the range of valid doubles. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classWt_1_1WValidator.html#638a1feefca259ea2f806a8add2d18a3">State</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#66e68bb1d7f9698f3d515b1de884a33a">validate</a> (<a class="el" href="classWt_1_1WString.html">WString</a> &amp;input) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Validates the given input.  <a href="#66e68bb1d7f9698f3d515b1de884a33a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="497f1ef7ea1b403665b9f1b7685954d4"></a><!-- doxytag: member="Wt::WDoubleValidator::createExtConfig" ref="497f1ef7ea1b403665b9f1b7685954d4" args="(std::ostream &amp;config) const " -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#497f1ef7ea1b403665b9f1b7685954d4">createExtConfig</a> (std::ostream &amp;config) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides Ext-compatible config options for client-side validation. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#86e8f0e07b6c861af2e656575a329d47">setInvalidNotANumberText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;text)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the message to display when the input is not a number.  <a href="#86e8f0e07b6c861af2e656575a329d47"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WString.html">WString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#474314e509e47d2a577a26841fe4a752">invalidNotANumberText</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the message displayed when the input is not a number.  <a href="#474314e509e47d2a577a26841fe4a752"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#119b5f1c2396f8d595c2607e76d27b1a">setInvalidTooSmallText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;text)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the message to display when the number is too small.  <a href="#119b5f1c2396f8d595c2607e76d27b1a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WString.html">WString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#13fb51475bab73ea71405f6fa9158c6d">invalidTooSmallText</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the message displayed when the number is too small.  <a href="#13fb51475bab73ea71405f6fa9158c6d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#6c3fa94752583d7e2de640cf6b91cef7">setInvalidTooLargeText</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;text)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the message to display when the number is too large.  <a href="#6c3fa94752583d7e2de640cf6b91cef7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WString.html">WString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#a0cf3c02568e85e24105c073d8ee319b">invalidTooLargeText</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the message displayed when the number is too large.  <a href="#a0cf3c02568e85e24105c073d8ee319b"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WDoubleValidator.html#590267f8600a399b07133da5cec299b4">javaScriptValidate</a> (const std::string &amp;jsRef) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a Javascript expression that validates the input.  <a href="#590267f8600a399b07133da5cec299b4"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A validator for validating floating point user input. 
<p>
This validator checks whether user input is a double in the pre-defined range.<p>
Usage example: <div class="fragment"><pre class="fragment"> <a class="code" href="classWt_1_1WLineEdit.html" title="A widget that provides a single line edit.">Wt::WLineEdit</a> *lineEdit = <span class="keyword">new</span> <a class="code" href="classWt_1_1WLineEdit.html" title="A widget that provides a single line edit.">Wt::WLineEdit</a>(<span class="keyword">this</span>);
 <a class="code" href="classWt_1_1WDoubleValidator.html" title="A validator for validating floating point user input.">Wt::WDoubleValidator</a> *validator = <span class="keyword">new</span> <a class="code" href="classWt_1_1WDoubleValidator.html" title="A validator for validating floating point user input.">Wt::WDoubleValidator</a>();
 lineEdit-&gt;<a class="code" href="classWt_1_1WFormWidget.html#a773d16013d6959149ce5081e84b259c" title="Sets a validator for this field.">setValidator</a>(validator);
 lineEdit-&gt;<a class="code" href="classWt_1_1WLineEdit.html#ddb99c6ab5483836adf44a2706a410af" title="Sets the content of the line edit.">setText</a>(<span class="stringliteral">"13.42"</span>);
</pre></div> <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="520fe2f7859670b0c30144dbc4990e98"></a><!-- doxytag: member="Wt::WDoubleValidator::setBottom" ref="520fe2f7859670b0c30144dbc4990e98" args="(double bottom)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WDoubleValidator::setBottom           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>bottom</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the bottom of the valid double range. 
<p>
The default value is the minimum double value. 
</div>
</div><p>
<a class="anchor" name="931cc4c5d0409093f4a6fd8ab023ee73"></a><!-- doxytag: member="Wt::WDoubleValidator::setTop" ref="931cc4c5d0409093f4a6fd8ab023ee73" args="(double top)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WDoubleValidator::setTop           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>top</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the top of the valid double range. 
<p>
The default value is the maximum double value. 
</div>
</div><p>
<a class="anchor" name="66e68bb1d7f9698f3d515b1de884a33a"></a><!-- doxytag: member="Wt::WDoubleValidator::validate" ref="66e68bb1d7f9698f3d515b1de884a33a" args="(WString &amp;input) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WValidator.html#638a1feefca259ea2f806a8add2d18a3">WValidator::State</a> Wt::WDoubleValidator::validate           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WString.html">WString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>input</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Validates the given input. 
<p>
The input is considered valid only when it is blank for a non-mandatory field, or represents a double within the valid range. 
<p>Reimplemented from <a class="el" href="classWt_1_1WValidator.html#fce53cf7c8fa1692234df0538163b4e0">Wt::WValidator</a>.</p>

</div>
</div><p>
<a class="anchor" name="86e8f0e07b6c861af2e656575a329d47"></a><!-- doxytag: member="Wt::WDoubleValidator::setInvalidNotANumberText" ref="86e8f0e07b6c861af2e656575a329d47" args="(const WString &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WDoubleValidator::setInvalidNotANumberText           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the message to display when the input is not a number. 
<p>
The default value is "Must be a number." 
</div>
</div><p>
<a class="anchor" name="474314e509e47d2a577a26841fe4a752"></a><!-- doxytag: member="Wt::WDoubleValidator::invalidNotANumberText" ref="474314e509e47d2a577a26841fe4a752" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WString.html">WString</a> Wt::WDoubleValidator::invalidNotANumberText           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the message displayed when the input is not a number. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WDoubleValidator.html#86e8f0e07b6c861af2e656575a329d47" title="Sets the message to display when the input is not a number.">setInvalidNotANumberText(const WString&amp;)</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="119b5f1c2396f8d595c2607e76d27b1a"></a><!-- doxytag: member="Wt::WDoubleValidator::setInvalidTooSmallText" ref="119b5f1c2396f8d595c2607e76d27b1a" args="(const WString &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WDoubleValidator::setInvalidTooSmallText           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the message to display when the number is too small. 
<p>
Depending on whether <a class="el" href="classWt_1_1WDoubleValidator.html#a1f6b0952651e5503e6ff6657bd09180" title="Returns the bottom of the valid double range.">bottom()</a> and <a class="el" href="classWt_1_1WDoubleValidator.html#708124404d7088f51f458bee1641288d" title="Returns the top of the valid double range.">top()</a> are real bounds, the default message is "The number must be between {1} and {2}" or "The number must be larger than {1}". 
</div>
</div><p>
<a class="anchor" name="13fb51475bab73ea71405f6fa9158c6d"></a><!-- doxytag: member="Wt::WDoubleValidator::invalidTooSmallText" ref="13fb51475bab73ea71405f6fa9158c6d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WString.html">WString</a> Wt::WDoubleValidator::invalidTooSmallText           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the message displayed when the number is too small. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WDoubleValidator.html#119b5f1c2396f8d595c2607e76d27b1a" title="Sets the message to display when the number is too small.">setInvalidTooSmallText(const WString&amp;)</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="6c3fa94752583d7e2de640cf6b91cef7"></a><!-- doxytag: member="Wt::WDoubleValidator::setInvalidTooLargeText" ref="6c3fa94752583d7e2de640cf6b91cef7" args="(const WString &amp;text)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WDoubleValidator::setInvalidTooLargeText           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the message to display when the number is too large. 
<p>
Depending on whether <a class="el" href="classWt_1_1WDoubleValidator.html#a1f6b0952651e5503e6ff6657bd09180" title="Returns the bottom of the valid double range.">bottom()</a> and <a class="el" href="classWt_1_1WDoubleValidator.html#708124404d7088f51f458bee1641288d" title="Returns the top of the valid double range.">top()</a> are real bounds, the default message is "The number must be between {1} and {2}" or "The number must be smaller than {2}". 
</div>
</div><p>
<a class="anchor" name="a0cf3c02568e85e24105c073d8ee319b"></a><!-- doxytag: member="Wt::WDoubleValidator::invalidTooLargeText" ref="a0cf3c02568e85e24105c073d8ee319b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1WString.html">WString</a> Wt::WDoubleValidator::invalidTooLargeText           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the message displayed when the number is too large. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WDoubleValidator.html#6c3fa94752583d7e2de640cf6b91cef7" title="Sets the message to display when the number is too large.">setInvalidTooLargeText(const WString&amp;)</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="590267f8600a399b07133da5cec299b4"></a><!-- doxytag: member="Wt::WDoubleValidator::javaScriptValidate" ref="590267f8600a399b07133da5cec299b4" args="(const std::string &amp;jsRef) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Wt::WDoubleValidator::javaScriptValidate           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>jsRef</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a Javascript expression that validates the input. 
<p>
The JavaScript expression should evaluate to an object with two fields: a boolean <em>valid</em>, and a <code>message</code> that indicates the problem if not valid.<p>
Return an empty string if you are not provide the client-side validation.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WValidator.html#1ca29b7eaabf4c1655200ec382a84554" title="Returns a regular expression that filters input.">inputFilter()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classWt_1_1WValidator.html#5141a6c178329e6d26faad71e7bf26aa">Wt::WValidator</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:06 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>