KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > text > DefaultEditorKit


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: DefaultEditorKit.java,v $
11    Revision 1.1 2004/01/27 09:39:30 bobintetley
12    Text/Document support
13
14
15 */

16
17 package swingwtx.swing.text;
18
19 public class DefaultEditorKit extends EditorKit {
20     
21     public Document createDefaultDocument() {
22         return null;
23     }
24     
25     public swingwtx.swing.Action[] getActions() {
26         return null;
27     }
28     
29     public String JavaDoc getContentType() {
30         return "text/plain";
31     }
32     
33     public void read(java.io.InputStream JavaDoc in, Document doc, int pos) throws java.io.IOException JavaDoc, BadLocationException {
34     }
35     
36     public void read(java.io.Reader JavaDoc in, Document doc, int pos) throws java.io.IOException JavaDoc, BadLocationException {
37     }
38     
39     public void write(java.io.Writer JavaDoc out, Document doc, int pos, int len) throws java.io.IOException JavaDoc, BadLocationException {
40     }
41     
42     public void write(java.io.OutputStream JavaDoc out, Document doc, int pos, int len) throws java.io.IOException JavaDoc, BadLocationException {
43     }
44     
45 }
46
Popular Tags