public class SpellCheckerOptions
extends java.lang.Object
SpellChecker.getOptions()
) or
for every JTextComponent individually on registering.Constructor and Description |
---|
SpellCheckerOptions()
Create SpellCheckerOptions with default values.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public SpellCheckerOptions()
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()
Copyright © 2005 - 2013 i-net software. All Rights Reserved.