public class SynchronizedWordFinder extends DocumentWordFinder
| Constructor and Description |
|---|
SynchronizedWordFinder(DocumentWordFinder documentFinder) |
| Modifier and Type | Method and Description |
|---|---|
org.dts.spell.finder.Word |
current() |
CharSequence |
getCharSequence() |
Document |
getDocument() |
DocumentCharSequence |
getDocumentCharSequence() |
TextRange |
getTextRange() |
org.dts.spell.finder.Word |
getWordAt(int index) |
DocumentWordFinder |
getWrapDocumentFinder() |
boolean |
hasNext() |
org.dts.spell.finder.Word |
next() |
void |
quitDocument() |
void |
replace(String newWord) |
void |
setDocument(Document document) |
org.dts.spell.finder.Word |
setTextRange(TextRange textRange)
Set and adjust the textRange.
|
String |
toString() |
getNextWord, getPreviousWord, replace, updateCharSequencepublic SynchronizedWordFinder(DocumentWordFinder documentFinder)
public DocumentWordFinder getWrapDocumentFinder()
public org.dts.spell.finder.Word setTextRange(TextRange textRange)
public TextRange getTextRange()
public org.dts.spell.finder.Word current()
current in interface org.dts.spell.finder.WordFindercurrent in class org.dts.spell.finder.AbstractWordFinderpublic boolean hasNext()
hasNext in interface org.dts.spell.finder.WordFinderhasNext in class org.dts.spell.finder.AbstractWordFinderpublic org.dts.spell.finder.Word next()
next in interface org.dts.spell.finder.WordFindernext in class org.dts.spell.finder.AbstractWordFinderpublic void replace(String newWord)
replace in interface org.dts.spell.finder.WordFinderreplace in class org.dts.spell.finder.AbstractWordFinderpublic CharSequence getCharSequence()
getCharSequence in class org.dts.spell.finder.CharSequenceWordFinderpublic Document getDocument()
getDocument in class DocumentWordFinderpublic DocumentCharSequence getDocumentCharSequence()
getDocumentCharSequence in class DocumentWordFinderpublic org.dts.spell.finder.Word getWordAt(int index)
getWordAt in class DocumentWordFinderpublic void quitDocument()
quitDocument in class DocumentWordFinderpublic void setDocument(Document document)
setDocument in class DocumentWordFinderCopyright © 2020. All rights reserved.