public class RealTimeSpellChecker extends Object implements DocumentListener, Runnable
| Constructor and Description |
|---|
RealTimeSpellChecker(org.dts.spell.SpellChecker checker) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTextComponent(JTextComponent textComponent,
DocumentWordFinder finder) |
void |
addTextRange(Document document) |
void |
addTextRange(DocumentEvent e) |
void |
addTextRange(Document document,
int begin,
int length) |
void |
changedUpdate(DocumentEvent e) |
ErrorMarker |
getErrorMarker(JTextComponent textComponent) |
List<ErrorMarker> |
getErrorMarkers() |
DocumentWordFinder |
getWordFinder(JTextComponent textComponent) |
void |
insertUpdate(DocumentEvent e) |
boolean |
isEmpty() |
boolean |
isRealTimeSpellChecking(JTextComponent textComponent) |
void |
removeTextComponent(JTextComponent textComponent) |
void |
removeUpdate(DocumentEvent e) |
void |
run() |
void |
start() |
void |
stop() |
public RealTimeSpellChecker(org.dts.spell.SpellChecker checker)
public void addTextComponent(JTextComponent textComponent, DocumentWordFinder finder)
public void removeTextComponent(JTextComponent textComponent)
public List<ErrorMarker> getErrorMarkers()
public boolean isEmpty()
public ErrorMarker getErrorMarker(JTextComponent textComponent)
public DocumentWordFinder getWordFinder(JTextComponent textComponent)
public boolean isRealTimeSpellChecking(JTextComponent textComponent)
public void start()
public void stop()
public void addTextRange(Document document)
public void addTextRange(Document document, int begin, int length)
public void addTextRange(DocumentEvent e)
public void insertUpdate(DocumentEvent e)
insertUpdate in interface DocumentListenerpublic void removeUpdate(DocumentEvent e)
removeUpdate in interface DocumentListenerpublic void changedUpdate(DocumentEvent e)
changedUpdate in interface DocumentListenerCopyright © 2020. All rights reserved.