|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.inet.jortho.SpellCheckerOptions
public class SpellCheckerOptions
This class contains some options for spell checking. You can change it globally(see (SpellChecker.getOptions()
) or
for every JTextComponent individually on registering.
Constructor Summary | |
---|---|
SpellCheckerOptions()
Create SpellCheckerOptions with default values. |
Method Summary | |
---|---|
boolean |
getIgnoreCapitalization()
Return whether capitalized words should be correct if the word is in the dictionary as lower-case. |
int |
getSuggestionsLimitDialog()
Get the maximun count of enties for the suggestion list in the spell checker dialog. |
int |
getSuggestionsLimitMenu()
Get the maximum count of entries for the suggestion menu. |
boolean |
isCaseSensitive()
Return whether the spell checker is case-sensitive. |
boolean |
isIgnoreAllCapsWords()
Whether words entirely in upper-case should be ignored for spell checking. |
boolean |
isIgnoreWordsWithNumbers()
Whether words that include a number in any position should be ignored for spell checking. |
boolean |
isLanguageDisableVisible()
If in the language menu the menu item disable visible. |
void |
setCaseSensitive(boolean caseSensitive)
Set whether the spell checker is case-sensitive. |
void |
setIgnoreAllCapsWords(boolean ignore)
Set if words that are entirely in uppercase should be ignored for spell checking. |
void |
setIgnoreCapitalization(boolean ignore)
Set whether capitalized words should be correct if the word is in the dictionary as lower-case. |
void |
setIgnoreWordsWithNumbers(boolean ignore)
Set if words that include a number in any position should be ignored for spell checking. |
void |
setLanguageDisableVisible(boolean visible)
Set if the disbale menu item visble in the language menu. |
void |
setSuggestionsLimitDialog(int count)
Set the maximun count of entries for the suggestion list in the spell checker dialog. |
void |
setSuggestionsLimitMenu(int count)
Set the maximun count of entries for the suggestion menu. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpellCheckerOptions()
Method Detail |
---|
public void setSuggestionsLimitMenu(int count)
count
- the suggestion limit for the suggestion menupublic int getSuggestionsLimitMenu()
public void setSuggestionsLimitDialog(int count)
count
- the suggestion limit for the spell checker dialogpublic int getSuggestionsLimitDialog()
public void setCaseSensitive(boolean caseSensitive)
caseSensitive
- whether the spell checker is to be case-sensitive for the first letter of each word.public boolean isCaseSensitive()
public void setIgnoreCapitalization(boolean ignore)
ignore
- the new valuepublic boolean getIgnoreCapitalization()
public void setIgnoreAllCapsWords(boolean ignore)
ignore
- the new valuepublic boolean isIgnoreAllCapsWords()
public void setIgnoreWordsWithNumbers(boolean ignore)
ignore
- the new valuepublic boolean isIgnoreWordsWithNumbers()
public void setLanguageDisableVisible(boolean visible)
visible
- the new valuepublic boolean isLanguageDisableVisible()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |