javax.swing.text

Class EditorKit

public abstract class EditorKit extends Object implements Cloneable, Serializable

Constructor Summary
EditorKit()
Method Summary
Objectclone()
abstract CaretcreateCaret()
abstract DocumentcreateDefaultDocument()
voiddeinstall(JEditorPane c)
Called when the kit is being removed from the JEditorPane.
abstract Action[]getActions()
abstract StringgetContentType()
abstract ViewFactorygetViewFactory()
voidinstall(JEditorPane c)
abstract voidread(InputStream in, Document doc, int pos)
abstract voidread(Reader in, Document doc, int pos)
abstract voidwrite(OutputStream out, Document doc, int pos, int len)
abstract voidwrite(Writer out, Document doc, int pos, int len)

Constructor Detail

EditorKit

public EditorKit()

Method Detail

clone

public Object clone()

createCaret

public abstract Caret createCaret()

createDefaultDocument

public abstract Document createDefaultDocument()

deinstall

public void deinstall(JEditorPane c)
Called when the kit is being removed from the JEditorPane.

getActions

public abstract Action[] getActions()

getContentType

public abstract String getContentType()

getViewFactory

public abstract ViewFactory getViewFactory()

install

public void install(JEditorPane c)

read

public abstract void read(InputStream in, Document doc, int pos)

read

public abstract void read(Reader in, Document doc, int pos)

write

public abstract void write(OutputStream out, Document doc, int pos, int len)

write

public abstract void write(Writer out, Document doc, int pos, int len)