|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RichTextSpellChecker
RichTextSpellChecker is an interface used by a RichTextArea to
spell check the words in it.
| Nested Class Summary | |
|---|---|
static interface |
RichTextSpellChecker.SpellCheckerWord
SpellCheckerWord is used to indicate the words contained
within a block of text. |
| Method Summary | |
|---|---|
java.lang.String[] |
checkWord(java.lang.String word)
This method is called for every word in the RichTextArea. |
RichTextSpellChecker.SpellCheckerWord[] |
parseWords(java.lang.String textBuffer)
This method is called to break a text buffer into a series of words. |
| Method Detail |
|---|
RichTextSpellChecker.SpellCheckerWord[] parseWords(java.lang.String textBuffer)
This method may be called with all whitespace or punctuation. The implementor must take care to ensure its word parsing takes tis into account.
textBuffer - - the text buffer that may contain zero or more words.
java.lang.String[] checkWord(java.lang.String word)
RichTextArea. The implementor
is expected to return the following :
null.
word - - the word to check. Garunteed to be non null, and length > 0
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||