KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > userinterface > StringTextField


1 package com.calipso.reportgenerator.userinterface;
2
3 import javax.swing.*;
4 import javax.swing.text.Document JavaDoc;
5
6 /**
7  *
8  * User: soliveri
9  * Date: Dec 10, 2003
10  * Time: 1:16:39 PM
11  *
12  */

13
14 public class StringTextField extends UserParameterTextField {
15
16   public StringTextField() {
17   }
18
19   public StringTextField(String JavaDoc text) {
20     super(text);
21   }
22
23   public StringTextField(int columns) {
24     super(columns);
25   }
26
27   public StringTextField(String JavaDoc text, int columns) {
28     super(text, columns);
29   }
30
31   public StringTextField(Document JavaDoc doc, String JavaDoc text, int columns) {
32     super(doc, text, columns);
33   }
34
35   public Object JavaDoc getFieldText() {
36     return super.getText();
37   }
38 }
39
Popular Tags