KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwt > awt > TextArea


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: TextArea.java,v $
11    Revision 1.6 2004/01/27 09:04:26 bobintetley
12    ListModel and List Selection implemented. ScrollPane fix so all components
13       scrollable
14
15    Revision 1.5 2004/01/20 07:38:05 bobintetley
16    Bug fixes and compatibility methods
17
18    Revision 1.4 2004/01/15 10:11:14 bobintetley
19    Fixed AWT constructors/hierarchy
20
21    Revision 1.3 2003/12/14 09:13:38 bobintetley
22    Added CVS log to source headers
23
24 */

25
26 package swingwt.awt;
27
28 public class TextArea extends swingwtx.swing.JTextArea {
29     
30     public final static int SCROLLBARS_NONE = 0;
31     public final static int SCROLLBARS_VERTICAL_ONLY = 1;
32     public final static int SCROLLBARS_HORIZONTAL_ONLY = 2;
33     public final static int SCROLLBARS_BOTH = 3;
34     
35     public TextArea() { super(); }
36     public TextArea(String JavaDoc text) { super(text); }
37     public TextArea(int rows, int columns) { super(rows, columns); }
38     public TextArea(String JavaDoc text, int rows, int columns) { super(text, rows, columns); }
39     public TextArea(String JavaDoc text, int rows, int columns, int scrollbars) { super(text, rows, columns); }
40     
41     public void setScrollPane(swingwtx.swing.JScrollPane container) {
42     }
43     
44 }
45
Popular Tags