swingwtx.swing.text
Class DefaultEditorKit
java.lang.Object
swingwtx.swing.text.EditorKit
swingwtx.swing.text.DefaultEditorKit
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- StyledEditorKit
- public class DefaultEditorKit
- extends EditorKit
- See Also:
- Serialized Form
Method Summary |
Document |
createDefaultDocument()
|
Action[] |
getActions()
|
java.lang.String |
getContentType()
|
void |
read(java.io.InputStream in,
Document doc,
int pos)
|
void |
read(java.io.Reader in,
Document doc,
int pos)
|
void |
write(java.io.OutputStream out,
Document doc,
int pos,
int len)
|
void |
write(java.io.Writer out,
Document doc,
int pos,
int len)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forwardAction
public static final java.lang.String forwardAction
- See Also:
- Constant Field Values
backwardAction
public static final java.lang.String backwardAction
- See Also:
- Constant Field Values
beginAction
public static final java.lang.String beginAction
- See Also:
- Constant Field Values
endAction
public static final java.lang.String endAction
- See Also:
- Constant Field Values
DefaultEditorKit
public DefaultEditorKit()
createDefaultDocument
public Document createDefaultDocument()
- Specified by:
createDefaultDocument
in class EditorKit
getActions
public Action[] getActions()
- Specified by:
getActions
in class EditorKit
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in class EditorKit
read
public void read(java.io.InputStream in,
Document doc,
int pos)
throws java.io.IOException,
BadLocationException
- Specified by:
read
in class EditorKit
- Throws:
java.io.IOException
BadLocationException
read
public void read(java.io.Reader in,
Document doc,
int pos)
throws java.io.IOException,
BadLocationException
- Specified by:
read
in class EditorKit
- Throws:
java.io.IOException
BadLocationException
write
public void write(java.io.Writer out,
Document doc,
int pos,
int len)
throws java.io.IOException,
BadLocationException
- Specified by:
write
in class EditorKit
- Throws:
java.io.IOException
BadLocationException
write
public void write(java.io.OutputStream out,
Document doc,
int pos,
int len)
throws java.io.IOException,
BadLocationException
- Specified by:
write
in class EditorKit
- Throws:
java.io.IOException
BadLocationException