com.swabunga.spell.swing.autospell
Class AutoSpellEditorKit
public
class
AutoSpellEditorKit
extends StyledEditorKit
implements AutoSpellConstants
This editorkit just forwards all method calls to the original EditorKit
for all method but getAction where it also adds a "MarkAsMisspelled" action
and getViewFactory where we return our own ViewFactory (Based on the original).
Author: Robert Gustavsson (robert@lindesign.se)
Method Summary |
Object | clone() |
Caret | createCaret() |
Document | createDefaultDocument() |
void | deinstall(JEditorPane c) |
Action[] | getActions() |
Element | getCharacterAttributeRun() |
String | getContentType() |
MutableAttributeSet | getInputAttributes() |
StyledEditorKit | getStyledEditorKit() |
ViewFactory | getViewFactory() |
void | install(JEditorPane c) |
void | read(InputStream in, Document doc, int pos) |
void | read(Reader in, Document doc, int pos) |
void | write(OutputStream out, Document doc, int pos, int len) |
void | write(Writer out, Document doc, int pos, int len) |
public AutoSpellEditorKit(StyledEditorKit editorKit)
public Object clone()
public Caret createCaret()
public Document createDefaultDocument()
public void deinstall(JEditorPane c)
public Action[] getActions()
public Element getCharacterAttributeRun()
public String getContentType()
public MutableAttributeSet getInputAttributes()
public StyledEditorKit getStyledEditorKit()
public ViewFactory getViewFactory()
public void install(JEditorPane c)
public void read(InputStream in, Document doc, int pos)
public void read(Reader in, Document doc, int pos)
public void write(OutputStream out, Document doc, int pos, int len)
public void write(Writer out, Document doc, int pos, int len)