public class ErrorInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_SUGGESSTIONS |
| Modifier and Type | Method and Description |
|---|---|
static ErrorInfo |
getBadCaseErrorInfo(SpellCheckEvent event) |
Word |
getBadWord() |
String |
getDescription() |
SpellDictionary |
getDictionary() |
String |
getFirstSuggestion() |
static ErrorInfo |
getRepeatWordErrorInfo(SpellCheckEvent event) |
static ErrorInfo |
getSpellingErrorInfo(SpellCheckEvent event) |
String[] |
getSuggestions() |
boolean |
isBadCaseError() |
boolean |
isRepeatWordError() |
boolean |
isSpellingError() |
public Word getBadWord()
public SpellDictionary getDictionary()
public String getDescription()
public String getFirstSuggestion()
public String[] getSuggestions()
public boolean isBadCaseError()
public boolean isRepeatWordError()
public boolean isSpellingError()
public static ErrorInfo getBadCaseErrorInfo(SpellCheckEvent event)
public static ErrorInfo getRepeatWordErrorInfo(SpellCheckEvent event)
public static ErrorInfo getSpellingErrorInfo(SpellCheckEvent event)
Copyright © 2020. All rights reserved.