1 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 getContentType() { 30 return "text/plain"; 31 } 32 33 public void read(java.io.InputStream in, Document doc, int pos) throws java.io.IOException , BadLocationException { 34 } 35 36 public void read(java.io.Reader in, Document doc, int pos) throws java.io.IOException , BadLocationException { 37 } 38 39 public void write(java.io.Writer out, Document doc, int pos, int len) throws java.io.IOException , BadLocationException { 40 } 41 42 public void write(java.io.OutputStream out, Document doc, int pos, int len) throws java.io.IOException , BadLocationException { 43 } 44 45 } 46 | Popular Tags |