diff options
author | Ronald Veldema <rveldema@cs.vu.nl> | 2002-03-11 15:48:06 +0000 |
---|---|---|
committer | Ronald Veldema <rveldema@cs.vu.nl> | 2002-03-11 15:48:06 +0000 |
commit | 5158e5cd020ca88753de8793a40dcda66f3ea8ae (patch) | |
tree | e8ff44926abd1e1fd9f058139dc1476c54d24f9c /javax/swing/text/EditorKit.java | |
parent | eed4707c499f072d7e36d8499638b859a370fc57 (diff) | |
download | classpath-5158e5cd020ca88753de8793a40dcda66f3ea8ae.tar.gz |
Added my embryonic javax.swing implementation,
since there are no makefiles for it yet nobody should
notice its addition (it shouldn't break anything by adding it this early)
R.
Diffstat (limited to 'javax/swing/text/EditorKit.java')
-rw-r--r-- | javax/swing/text/EditorKit.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/javax/swing/text/EditorKit.java b/javax/swing/text/EditorKit.java new file mode 100644 index 000000000..feed4fae1 --- /dev/null +++ b/javax/swing/text/EditorKit.java @@ -0,0 +1,34 @@ +package javax.swing.text; + +import javax.swing.*; +import java.io.*; + +public abstract class EditorKit implements Cloneable +{ + EditorKit() + { + } + + EditorKit(EditorKit kit) + { + } + + void deinstall(JEditorPane c) + { + // Called when the kit is being removed from the JEditorPane. + } + void install(JEditorPane c) + { + } + + abstract Caret createCaret(); + abstract Document createDefaultDocument(); + abstract Action[] getActions(); + abstract String getContentType(); + abstract ViewFactory getViewFactory(); + abstract void read(InputStream in, Document doc, int pos); + abstract void read(Reader in, Document doc, int pos); + abstract void write(OutputStream out, Document doc, int pos, int len); + abstract void write(Writer out, Document doc, int pos, int len); +} + |