|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.inet.editor.SpellCheckerProxy
public class SpellCheckerProxy
Proxy to use the JOrtho spellcheck, if it is available without hard references to the package
Constructor Summary | |
---|---|
SpellCheckerProxy()
|
Method Summary | |
---|---|
static javax.swing.JMenu |
createCheckerMenu()
Returns the spell checkers alternative selection menu |
static javax.swing.JMenu |
createLanguagesMenu()
Returns the spell checker language selection menu |
static void |
enableAutoSpell(javax.swing.text.JTextComponent text,
boolean autoCheck)
Enables or disables the auto spell checker, if available |
static void |
enableShortKey(javax.swing.text.JTextComponent editor,
boolean enable)
Enables or disables the short cut key of the spell checker |
static java.lang.String |
getApplicationName()
Returns the application name the spell checker is running on |
static java.util.Locale |
getCurrentLocale()
Returns the current locale of the spellchecker |
static boolean |
isSpellCheckerAvailable()
Checks whether the spell checker is available |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpellCheckerProxy()
Method Detail |
---|
public static boolean isSpellCheckerAvailable()
public static void enableAutoSpell(javax.swing.text.JTextComponent text, boolean autoCheck)
text
- the text component to install the spell checker onautoCheck
- true to enable, false to disablepublic static java.util.Locale getCurrentLocale()
public static java.lang.String getApplicationName()
public static javax.swing.JMenu createCheckerMenu()
public static javax.swing.JMenu createLanguagesMenu()
public static void enableShortKey(javax.swing.text.JTextComponent editor, boolean enable)
editor
- the editor to install or deinstall the short cut onenable
- true to enable, fals to disable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |