root / trunk / docs / gvSIG / gvSIG-api / com / iver / cit / gvsig / gui / ValidatingTextField.html @ 11445
History | View | Annotate | Download (40.9 KB)
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|---|
2 |
<!--NewPage-->
|
3 |
<HTML>
|
4 |
<HEAD>
|
5 |
<!-- Generated by javadoc (build 1.4.2_04) on Mon Feb 14 08:49:13 CET 2005 -->
|
6 |
<TITLE>
|
7 |
ValidatingTextField (gvSIG API) |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.gui.ValidatingTextField class"> |
11 |
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
13 |
|
14 |
<SCRIPT type="text/javascript"> |
15 |
function windowTitle() |
16 |
{ |
17 |
parent.document.title="ValidatingTextField (gvSIG API)"; |
18 |
} |
19 |
</SCRIPT>
|
20 |
|
21 |
</HEAD>
|
22 |
|
23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
24 |
|
25 |
|
26 |
<!-- ========= START OF TOP NAVBAR ======= -->
|
27 |
<A NAME="navbar_top"><!-- --></A> |
28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
30 |
<TR>
|
31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
34 |
<TR ALIGN="center" VALIGN="top"> |
35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
42 |
</TR>
|
43 |
</TABLE>
|
44 |
</TD>
|
45 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
46 |
</EM>
|
47 |
</TD>
|
48 |
</TR>
|
49 |
|
50 |
<TR>
|
51 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
52 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html" title="class in com.iver.cit.gvsig.gui"><B>PREV CLASS</B></A> |
53 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.BlankCleaner.html" title="class in com.iver.cit.gvsig.gui"><B>NEXT CLASS</B></A></FONT></TD> |
54 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
55 |
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> |
56 |
<A HREF="ValidatingTextField.html" target="_top"><B>NO FRAMES</B></A> |
57 |
<SCRIPT type="text/javascript"> |
58 |
<!--
|
59 |
if(window==top) {
|
60 |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
61 |
}
|
62 |
//-->
|
63 |
</SCRIPT>
|
64 |
<NOSCRIPT>
|
65 |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
66 |
</NOSCRIPT>
|
67 |
|
68 |
</FONT></TD> |
69 |
</TR>
|
70 |
<TR>
|
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
73 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
74 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
75 |
</TR>
|
76 |
</TABLE>
|
77 |
<A NAME="skip-navbar_top"></A> |
78 |
<!-- ========= END OF TOP NAVBAR ========= -->
|
79 |
|
80 |
<HR>
|
81 |
<!-- ======== START OF CLASS DATA ======== -->
|
82 |
<H2>
|
83 |
<FONT SIZE="-1"> |
84 |
com.iver.cit.gvsig.gui</FONT>
|
85 |
<BR>
|
86 |
Class ValidatingTextField</H2>
|
87 |
<PRE>
|
88 |
java.lang.Object |
89 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by">java.awt.Component |
90 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by">java.awt.Container |
91 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by">javax.swing.JComponent |
92 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by">javax.swing.text.JTextComponent |
93 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by">javax.swing.JTextField |
94 |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.gui.ValidatingTextField</B> |
95 |
</PRE>
|
96 |
<DL>
|
97 |
<DT><B>All Implemented Interfaces:</B> <DD>javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.Scrollable, java.io.Serializable, javax.swing.SwingConstants</DD> |
98 |
</DL>
|
99 |
<HR>
|
100 |
<DL>
|
101 |
<DT>public class <B>ValidatingTextField</B><DT>extends javax.swing.JTextField</DL> |
102 |
|
103 |
<P>
|
104 |
Prevents the user from entering invalid data. |
105 |
<P>
|
106 |
|
107 |
<P>
|
108 |
<DL>
|
109 |
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#com.iver.cit.gvsig.gui.ValidatingTextField">Serialized Form</A></DL> |
110 |
<HR>
|
111 |
|
112 |
<P>
|
113 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
114 |
|
115 |
<A NAME="nested_class_summary"><!-- --></A> |
116 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
117 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
118 |
<TD COLSPAN=2><FONT SIZE="+2"> |
119 |
<B>Nested Class Summary</B></FONT></TD> |
120 |
</TR>
|
121 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
122 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
123 |
<CODE>static class</CODE></FONT></TD> |
124 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.BlankCleaner.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.BlankCleaner</A></B></CODE> |
125 |
|
126 |
<BR>
|
127 |
Implements cleaner which cleans up blank strings.</TD> |
128 |
</TR>
|
129 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
130 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
131 |
<CODE>static class</CODE></FONT></TD> |
132 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.BoundedDoubleValidator.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.BoundedDoubleValidator</A></B></CODE> |
133 |
|
134 |
<BR>
|
135 |
</TD> |
136 |
</TR>
|
137 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
138 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
139 |
<CODE>static class</CODE></FONT></TD> |
140 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.BoundedIntValidator.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.BoundedIntValidator</A></B></CODE> |
141 |
|
142 |
<BR>
|
143 |
Extends CompositeValidator to validat that integers is within a set of boundary values.</TD> |
144 |
</TR>
|
145 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
146 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
147 |
<CODE>static interface</CODE></FONT></TD> |
148 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Cleaner.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Cleaner</A></B></CODE> |
149 |
|
150 |
<BR>
|
151 |
</TD> |
152 |
</TR>
|
153 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
154 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
155 |
<CODE>static class</CODE></FONT></TD> |
156 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.CompositeCleaner.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.CompositeCleaner</A></B></CODE> |
157 |
|
158 |
<BR>
|
159 |
</TD> |
160 |
</TR>
|
161 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
162 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
163 |
<CODE>static class</CODE></FONT></TD> |
164 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.CompositeValidator.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.CompositeValidator</A></B></CODE> |
165 |
|
166 |
<BR>
|
167 |
Implements validator to check for more than one condition.</TD> |
168 |
</TR>
|
169 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
170 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
171 |
<CODE>static class</CODE></FONT></TD> |
172 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.GreaterThanOrEqualValidator.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.GreaterThanOrEqualValidator</A></B></CODE> |
173 |
|
174 |
<BR>
|
175 |
Implements validator with a greater than or equal to threshold.</TD> |
176 |
</TR>
|
177 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
178 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
179 |
<CODE>static class</CODE></FONT></TD> |
180 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.GreaterThanValidator.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.GreaterThanValidator</A></B></CODE> |
181 |
|
182 |
<BR>
|
183 |
Implements validator with a greater than threshold.</TD> |
184 |
</TR>
|
185 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
186 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
187 |
<CODE>static class</CODE></FONT></TD> |
188 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.LessThanOrEqualValidator.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.LessThanOrEqualValidator</A></B></CODE> |
189 |
|
190 |
<BR>
|
191 |
Implements validator with a less than or equal to threshold.</TD> |
192 |
</TR>
|
193 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
194 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
195 |
<CODE>static class</CODE></FONT></TD> |
196 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.LessThanValidator.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.LessThanValidator</A></B></CODE> |
197 |
|
198 |
<BR>
|
199 |
Implements validator with a less than threshold.</TD> |
200 |
</TR>
|
201 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
202 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
203 |
<CODE>static class</CODE></FONT></TD> |
204 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.MaxIntCleaner.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.MaxIntCleaner</A></B></CODE> |
205 |
|
206 |
<BR>
|
207 |
</TD> |
208 |
</TR>
|
209 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
210 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
211 |
<CODE>static class</CODE></FONT></TD> |
212 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.MinIntCleaner.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.MinIntCleaner</A></B></CODE> |
213 |
|
214 |
<BR>
|
215 |
</TD> |
216 |
</TR>
|
217 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
218 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
219 |
<CODE>static class</CODE></FONT></TD> |
220 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.NumberCleaner.html" title="class in com.iver.cit.gvsig.gui">ValidatingTextField.NumberCleaner</A></B></CODE> |
221 |
|
222 |
<BR>
|
223 |
Allow the user to start typing a number with "-" or "."</TD> |
224 |
</TR>
|
225 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
226 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
227 |
<CODE>static interface</CODE></FONT></TD> |
228 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A></B></CODE> |
229 |
|
230 |
<BR>
|
231 |
</TD> |
232 |
</TR>
|
233 |
</TABLE>
|
234 |
<A NAME="nested_classes_inherited_from_class_javax.swing.JTextField"><!-- --></A> |
235 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
236 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
237 |
<TD><B>Nested classes inherited from class javax.swing.JTextField</B></TD> |
238 |
</TR>
|
239 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
240 |
<TD><CODE>javax.swing.JTextField.AccessibleJTextField</CODE></TD> |
241 |
</TR>
|
242 |
</TABLE>
|
243 |
<A NAME="nested_classes_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></A> |
244 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
245 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
246 |
<TD><B>Nested classes inherited from class javax.swing.text.JTextComponent</B></TD> |
247 |
</TR>
|
248 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
249 |
<TD><CODE>javax.swing.text.JTextComponent.AccessibleJTextComponent, javax.swing.text.JTextComponent.KeyBinding</CODE></TD> |
250 |
</TR>
|
251 |
</TABLE>
|
252 |
<A NAME="nested_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A> |
253 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
254 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
255 |
<TD><B>Nested classes inherited from class javax.swing.JComponent</B></TD> |
256 |
</TR>
|
257 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
258 |
<TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD> |
259 |
</TR>
|
260 |
</TABLE>
|
261 |
<A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A> |
262 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
263 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
264 |
<TD><B>Nested classes inherited from class java.awt.Container</B></TD> |
265 |
</TR>
|
266 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
267 |
<TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD> |
268 |
</TR>
|
269 |
</TABLE>
|
270 |
<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A> |
271 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
272 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
273 |
<TD><B>Nested classes inherited from class java.awt.Component</B></TD> |
274 |
</TR>
|
275 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
276 |
<TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD> |
277 |
</TR>
|
278 |
</TABLE>
|
279 |
|
280 |
<!-- =========== FIELD SUMMARY =========== -->
|
281 |
|
282 |
<A NAME="field_summary"><!-- --></A> |
283 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
284 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
285 |
<TD COLSPAN=2><FONT SIZE="+2"> |
286 |
<B>Field Summary</B></FONT></TD> |
287 |
</TR>
|
288 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
289 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
290 |
<CODE>static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A></CODE></FONT></TD> |
291 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#DOUBLE_VALIDATOR">DOUBLE_VALIDATOR</A></B></CODE> |
292 |
|
293 |
<BR>
|
294 |
Prevents the user from entering invalid double.</TD> |
295 |
</TR>
|
296 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
297 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
298 |
<CODE>static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Cleaner.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Cleaner</A></CODE></FONT></TD> |
299 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#DUMMY_CLEANER">DUMMY_CLEANER</A></B></CODE> |
300 |
|
301 |
<BR>
|
302 |
Cleaner that does nothing.</TD> |
303 |
</TR>
|
304 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
305 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
306 |
<CODE>static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A></CODE></FONT></TD> |
307 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#DUMMY_VALIDATOR">DUMMY_VALIDATOR</A></B></CODE> |
308 |
|
309 |
<BR>
|
310 |
Validator that does nothing.</TD> |
311 |
</TR>
|
312 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
313 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
314 |
<CODE>static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A></CODE></FONT></TD> |
315 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#INTEGER_VALIDATOR">INTEGER_VALIDATOR</A></B></CODE> |
316 |
|
317 |
<BR>
|
318 |
Prevents the user from entering invalid integer.</TD> |
319 |
</TR>
|
320 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
321 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
322 |
<CODE>static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A></CODE></FONT></TD> |
323 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#LONG_VALIDATOR">LONG_VALIDATOR</A></B></CODE> |
324 |
|
325 |
<BR>
|
326 |
</TD> |
327 |
</TR>
|
328 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
329 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
330 |
<CODE>static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Cleaner.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Cleaner</A></CODE></FONT></TD> |
331 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#NUMBER_CLEANER">NUMBER_CLEANER</A></B></CODE> |
332 |
|
333 |
<BR>
|
334 |
The validators allow the user to simply enter "+", "-", or ".". </TD> |
335 |
</TR>
|
336 |
</TABLE>
|
337 |
<A NAME="fields_inherited_from_class_javax.swing.JTextField"><!-- --></A> |
338 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
339 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
340 |
<TD><B>Fields inherited from class javax.swing.JTextField</B></TD> |
341 |
</TR>
|
342 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
343 |
<TD><CODE>notifyAction</CODE></TD> |
344 |
</TR>
|
345 |
</TABLE>
|
346 |
<A NAME="fields_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></A> |
347 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
348 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
349 |
<TD><B>Fields inherited from class javax.swing.text.JTextComponent</B></TD> |
350 |
</TR>
|
351 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
352 |
<TD><CODE>DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY</CODE></TD> |
353 |
</TR>
|
354 |
</TABLE>
|
355 |
<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A> |
356 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
357 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
358 |
<TD><B>Fields inherited from class javax.swing.JComponent</B></TD> |
359 |
</TR>
|
360 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
361 |
<TD><CODE>accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</CODE></TD> |
362 |
</TR>
|
363 |
</TABLE>
|
364 |
<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A> |
365 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
366 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
367 |
<TD><B>Fields inherited from class java.awt.Component</B></TD> |
368 |
</TR>
|
369 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
370 |
<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD> |
371 |
</TR>
|
372 |
</TABLE>
|
373 |
<A NAME="fields_inherited_from_class_javax.swing.SwingConstants"><!-- --></A> |
374 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
375 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
376 |
<TD><B>Fields inherited from interface javax.swing.SwingConstants</B></TD> |
377 |
</TR>
|
378 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
379 |
<TD><CODE>BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST</CODE></TD> |
380 |
</TR>
|
381 |
</TABLE>
|
382 |
<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A> |
383 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
384 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
385 |
<TD><B>Fields inherited from interface java.awt.image.ImageObserver</B></TD> |
386 |
</TR>
|
387 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
388 |
<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD> |
389 |
</TR>
|
390 |
</TABLE>
|
391 |
|
392 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
393 |
|
394 |
<A NAME="constructor_summary"><!-- --></A> |
395 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
396 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
397 |
<TD COLSPAN=2><FONT SIZE="+2"> |
398 |
<B>Constructor Summary</B></FONT></TD> |
399 |
</TR>
|
400 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
401 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#ValidatingTextField(java.lang.String, int, int, com.iver.cit.gvsig.gui.ValidatingTextField.Validator, com.iver.cit.gvsig.gui.ValidatingTextField.Cleaner)">ValidatingTextField</A></B>(java.lang.String text, |
402 |
int columns,
|
403 |
int horizontalAlignment,
|
404 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> validator, |
405 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Cleaner.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Cleaner</A> cleaner)</CODE> |
406 |
|
407 |
<BR>
|
408 |
Validator for text fields.</TD> |
409 |
</TR>
|
410 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
411 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#ValidatingTextField(java.lang.String, int, com.iver.cit.gvsig.gui.ValidatingTextField.Validator)">ValidatingTextField</A></B>(java.lang.String text, |
412 |
int columns,
|
413 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> validator)</CODE> |
414 |
|
415 |
<BR>
|
416 |
Validator that uses dummy cleaner.</TD> |
417 |
</TR>
|
418 |
</TABLE>
|
419 |
|
420 |
<!-- ========== METHOD SUMMARY =========== -->
|
421 |
|
422 |
<A NAME="method_summary"><!-- --></A> |
423 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
424 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
425 |
<TD COLSPAN=2><FONT SIZE="+2"> |
426 |
<B>Method Summary</B></FONT></TD> |
427 |
</TR>
|
428 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
429 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
430 |
<CODE> double</CODE></FONT></TD> |
431 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#getDouble()">getDouble</A></B>()</CODE> |
432 |
|
433 |
<BR>
|
434 |
</TD> |
435 |
</TR>
|
436 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
437 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
438 |
<CODE> int</CODE></FONT></TD> |
439 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#getInteger()">getInteger</A></B>()</CODE> |
440 |
|
441 |
<BR>
|
442 |
</TD> |
443 |
</TR>
|
444 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
445 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
446 |
<CODE> java.lang.String</CODE></FONT></TD> |
447 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#getText()">getText</A></B>()</CODE> |
448 |
|
449 |
<BR>
|
450 |
</TD> |
451 |
</TR>
|
452 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
453 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
454 |
<CODE>static void</CODE></FONT></TD> |
455 |
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.html#installValidationBehavior(javax.swing.JTextField, com.iver.cit.gvsig.gui.ValidatingTextField.Validator, com.iver.cit.gvsig.gui.ValidatingTextField.Cleaner)">installValidationBehavior</A></B>(javax.swing.JTextField textField, |
456 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> validator, |
457 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Cleaner.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Cleaner</A> cleaner)</CODE> |
458 |
|
459 |
<BR>
|
460 |
</TD> |
461 |
</TR>
|
462 |
</TABLE>
|
463 |
<A NAME="methods_inherited_from_class_javax.swing.JTextField"><!-- --></A> |
464 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
465 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
466 |
<TD><B>Methods inherited from class javax.swing.JTextField</B></TD> |
467 |
</TR>
|
468 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
469 |
<TD><CODE>addActionListener, configurePropertiesFromAction, createActionPropertyChangeListener, createDefaultModel, fireActionPerformed, getAccessibleContext, getAction, getActionListeners, getActions, getColumns, getColumnWidth, getHorizontalAlignment, getHorizontalVisibility, getPreferredSize, getScrollOffset, getUIClassID, isValidateRoot, paramString, postActionEvent, removeActionListener, scrollRectToVisible, setAction, setActionCommand, setColumns, setDocument, setFont, setHorizontalAlignment, setScrollOffset</CODE></TD> |
470 |
</TR>
|
471 |
</TABLE>
|
472 |
<A NAME="methods_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></A> |
473 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
474 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
475 |
<TD><B>Methods inherited from class javax.swing.text.JTextComponent</B></TD> |
476 |
</TR>
|
477 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
478 |
<TD><CODE>addCaretListener, addInputMethodListener, addKeymap, copy, cut, fireCaretUpdate, getCaret, getCaretColor, getCaretListeners, getCaretPosition, getDisabledTextColor, getDocument, getDragEnabled, getFocusAccelerator, getHighlighter, getInputMethodRequests, getKeymap, getKeymap, getMargin, getNavigationFilter, getPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getToolTipText, getUI, isEditable, loadKeymap, modelToView, moveCaretPosition, paste, processInputMethodEvent, read, removeCaretListener, removeKeymap, removeNotify, replaceSelection, select, selectAll, setCaret, setCaretColor, setCaretPosition, setComponentOrientation, setDisabledTextColor, setDragEnabled, setEditable, setFocusAccelerator, setHighlighter, setKeymap, setMargin, setNavigationFilter, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setText, setUI, updateUI, viewToModel, write</CODE></TD> |
479 |
</TR>
|
480 |
</TABLE>
|
481 |
<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A> |
482 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
483 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
484 |
<TD><B>Methods inherited from class javax.swing.JComponent</B></TD> |
485 |
</TR>
|
486 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
487 |
<TD><CODE>addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD> |
488 |
</TR>
|
489 |
</TABLE>
|
490 |
<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A> |
491 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
492 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
493 |
<TD><B>Methods inherited from class java.awt.Container</B></TD> |
494 |
</TR>
|
495 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
496 |
<TD><CODE>add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD> |
497 |
</TR>
|
498 |
</TABLE>
|
499 |
<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A> |
500 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
501 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
502 |
<TD><B>Methods inherited from class java.awt.Component</B></TD> |
503 |
</TR>
|
504 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
505 |
<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD> |
506 |
</TR>
|
507 |
</TABLE>
|
508 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
509 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
510 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
511 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
512 |
</TR>
|
513 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
514 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> |
515 |
</TR>
|
516 |
</TABLE>
|
517 |
|
518 |
<P>
|
519 |
|
520 |
<!-- ============ FIELD DETAIL =========== -->
|
521 |
|
522 |
<A NAME="field_detail"><!-- --></A> |
523 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
524 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
525 |
<TD COLSPAN=1><FONT SIZE="+2"> |
526 |
<B>Field Detail</B></FONT></TD> |
527 |
</TR>
|
528 |
</TABLE>
|
529 |
|
530 |
<A NAME="LONG_VALIDATOR"><!-- --></A><H3> |
531 |
LONG_VALIDATOR</H3>
|
532 |
<PRE>
|
533 |
public static final <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> <B>LONG_VALIDATOR</B></PRE> |
534 |
<DL>
|
535 |
<DL>
|
536 |
</DL>
|
537 |
</DL>
|
538 |
<HR>
|
539 |
|
540 |
<A NAME="INTEGER_VALIDATOR"><!-- --></A><H3> |
541 |
INTEGER_VALIDATOR</H3>
|
542 |
<PRE>
|
543 |
public static final <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> <B>INTEGER_VALIDATOR</B></PRE> |
544 |
<DL>
|
545 |
<DD>Prevents the user from entering invalid integer.
|
546 |
<P>
|
547 |
<DL>
|
548 |
</DL>
|
549 |
</DL>
|
550 |
<HR>
|
551 |
|
552 |
<A NAME="DOUBLE_VALIDATOR"><!-- --></A><H3> |
553 |
DOUBLE_VALIDATOR</H3>
|
554 |
<PRE>
|
555 |
public static final <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> <B>DOUBLE_VALIDATOR</B></PRE> |
556 |
<DL>
|
557 |
<DD>Prevents the user from entering invalid double.
|
558 |
<P>
|
559 |
<DL>
|
560 |
</DL>
|
561 |
</DL>
|
562 |
<HR>
|
563 |
|
564 |
<A NAME="DUMMY_CLEANER"><!-- --></A><H3> |
565 |
DUMMY_CLEANER</H3>
|
566 |
<PRE>
|
567 |
public static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Cleaner.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Cleaner</A> <B>DUMMY_CLEANER</B></PRE> |
568 |
<DL>
|
569 |
<DD>Cleaner that does nothing.
|
570 |
<P>
|
571 |
<DL>
|
572 |
</DL>
|
573 |
</DL>
|
574 |
<HR>
|
575 |
|
576 |
<A NAME="NUMBER_CLEANER"><!-- --></A><H3> |
577 |
NUMBER_CLEANER</H3>
|
578 |
<PRE>
|
579 |
public static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Cleaner.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Cleaner</A> <B>NUMBER_CLEANER</B></PRE> |
580 |
<DL>
|
581 |
<DD>The validators allow the user to simply enter "+", "-", or ".". If the user
|
582 |
doesn't go any farther, this cleaner will set the text to 0, which is reasonable. |
583 |
<P>
|
584 |
<DL>
|
585 |
</DL>
|
586 |
</DL>
|
587 |
<HR>
|
588 |
|
589 |
<A NAME="DUMMY_VALIDATOR"><!-- --></A><H3> |
590 |
DUMMY_VALIDATOR</H3>
|
591 |
<PRE>
|
592 |
public static <A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> <B>DUMMY_VALIDATOR</B></PRE> |
593 |
<DL>
|
594 |
<DD>Validator that does nothing.
|
595 |
<P>
|
596 |
<DL>
|
597 |
</DL>
|
598 |
</DL>
|
599 |
|
600 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
601 |
|
602 |
<A NAME="constructor_detail"><!-- --></A> |
603 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
604 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
605 |
<TD COLSPAN=1><FONT SIZE="+2"> |
606 |
<B>Constructor Detail</B></FONT></TD> |
607 |
</TR>
|
608 |
</TABLE>
|
609 |
|
610 |
<A NAME="ValidatingTextField(java.lang.String, int, com.iver.cit.gvsig.gui.ValidatingTextField.Validator)"><!-- --></A><H3> |
611 |
ValidatingTextField</H3>
|
612 |
<PRE>
|
613 |
public <B>ValidatingTextField</B>(java.lang.String text, |
614 |
int columns,
|
615 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> validator)</PRE> |
616 |
<DL>
|
617 |
<DD>Validator that uses dummy cleaner.
|
618 |
<P>
|
619 |
</DL>
|
620 |
<HR>
|
621 |
|
622 |
<A NAME="ValidatingTextField(java.lang.String, int, int, com.iver.cit.gvsig.gui.ValidatingTextField.Validator, com.iver.cit.gvsig.gui.ValidatingTextField.Cleaner)"><!-- --></A><H3> |
623 |
ValidatingTextField</H3>
|
624 |
<PRE>
|
625 |
public <B>ValidatingTextField</B>(java.lang.String text, |
626 |
int columns,
|
627 |
int horizontalAlignment,
|
628 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> validator, |
629 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Cleaner.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Cleaner</A> cleaner)</PRE> |
630 |
<DL>
|
631 |
<DD>Validator for text fields.
|
632 |
<P>
|
633 |
</DL>
|
634 |
|
635 |
<!-- ============ METHOD DETAIL ========== -->
|
636 |
|
637 |
<A NAME="method_detail"><!-- --></A> |
638 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
639 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
640 |
<TD COLSPAN=1><FONT SIZE="+2"> |
641 |
<B>Method Detail</B></FONT></TD> |
642 |
</TR>
|
643 |
</TABLE>
|
644 |
|
645 |
<A NAME="installValidationBehavior(javax.swing.JTextField, com.iver.cit.gvsig.gui.ValidatingTextField.Validator, com.iver.cit.gvsig.gui.ValidatingTextField.Cleaner)"><!-- --></A><H3> |
646 |
installValidationBehavior</H3>
|
647 |
<PRE>
|
648 |
public static void <B>installValidationBehavior</B>(javax.swing.JTextField textField, |
649 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Validator.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Validator</A> validator, |
650 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.Cleaner.html" title="interface in com.iver.cit.gvsig.gui">ValidatingTextField.Cleaner</A> cleaner)</PRE> |
651 |
<DL>
|
652 |
<DD><DL> |
653 |
</DL>
|
654 |
</DD>
|
655 |
</DL>
|
656 |
<HR>
|
657 |
|
658 |
<A NAME="getText()"><!-- --></A><H3> |
659 |
getText</H3>
|
660 |
<PRE>
|
661 |
public java.lang.String <B>getText</B>()</PRE> |
662 |
<DL>
|
663 |
<DD><DL> |
664 |
</DL>
|
665 |
</DD>
|
666 |
</DL>
|
667 |
<HR>
|
668 |
|
669 |
<A NAME="getDouble()"><!-- --></A><H3> |
670 |
getDouble</H3>
|
671 |
<PRE>
|
672 |
public double <B>getDouble</B>()</PRE> |
673 |
<DL>
|
674 |
<DD><DL> |
675 |
</DL>
|
676 |
</DD>
|
677 |
</DL>
|
678 |
<HR>
|
679 |
|
680 |
<A NAME="getInteger()"><!-- --></A><H3> |
681 |
getInteger</H3>
|
682 |
<PRE>
|
683 |
public int <B>getInteger</B>()</PRE> |
684 |
<DL>
|
685 |
<DD><DL> |
686 |
</DL>
|
687 |
</DD>
|
688 |
</DL>
|
689 |
<!-- ========= END OF CLASS DATA ========= -->
|
690 |
<HR>
|
691 |
|
692 |
|
693 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
694 |
<A NAME="navbar_bottom"><!-- --></A> |
695 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
696 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
697 |
<TR>
|
698 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
699 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
700 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
701 |
<TR ALIGN="center" VALIGN="top"> |
702 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
703 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
704 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
705 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
706 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
707 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
708 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
709 |
</TR>
|
710 |
</TABLE>
|
711 |
</TD>
|
712 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
713 |
</EM>
|
714 |
</TD>
|
715 |
</TR>
|
716 |
|
717 |
<TR>
|
718 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
719 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/TableSorter.html" title="class in com.iver.cit.gvsig.gui"><B>PREV CLASS</B></A> |
720 |
<A HREF="../../../../../com/iver/cit/gvsig/gui/ValidatingTextField.BlankCleaner.html" title="class in com.iver.cit.gvsig.gui"><B>NEXT CLASS</B></A></FONT></TD> |
721 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
722 |
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> |
723 |
<A HREF="ValidatingTextField.html" target="_top"><B>NO FRAMES</B></A> |
724 |
<SCRIPT type="text/javascript"> |
725 |
<!--
|
726 |
if(window==top) {
|
727 |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
728 |
}
|
729 |
//-->
|
730 |
</SCRIPT>
|
731 |
<NOSCRIPT>
|
732 |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
733 |
</NOSCRIPT>
|
734 |
|
735 |
</FONT></TD> |
736 |
</TR>
|
737 |
<TR>
|
738 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
739 |
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
740 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
741 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
742 |
</TR>
|
743 |
</TABLE>
|
744 |
<A NAME="skip-navbar_bottom"></A> |
745 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
746 |
|
747 |
<HR>
|
748 |
|
749 |
</BODY>
|
750 |
</HTML>
|