com.swabunga.spell.jedit
Class JazzySpellCheck

java.lang.Object
  extended bycom.swabunga.spell.jedit.JazzySpellCheck
All Implemented Interfaces:
java.util.EventListener, SpellCheckListener

public class JazzySpellCheck
extends java.lang.Object
implements SpellCheckListener


Field Summary
static int LOAD_DICTIONARY
           
static int RESET_SPELLCHECKER
           
 
Constructor Summary
JazzySpellCheck(int flags)
          Creates a new JazzySpellCheck object.
 
Method Summary
 java.lang.String checkText(java.lang.String input, java.lang.String mode, int offset, int caret)
           
 boolean isLoaded()
           
 boolean loadDictionary()
           
 void resetSpellChecker()
          Resets list of ignored words.
 void spellingError(SpellCheckEvent event)
           
 void unloadDictionary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOAD_DICTIONARY

public static final int LOAD_DICTIONARY
See Also:
Constant Field Values

RESET_SPELLCHECKER

public static final int RESET_SPELLCHECKER
See Also:
Constant Field Values
Constructor Detail

JazzySpellCheck

public JazzySpellCheck(int flags)
Creates a new JazzySpellCheck object.

Parameters:
flags -
Method Detail

isLoaded

public boolean isLoaded()
Returns:

checkText

public java.lang.String checkText(java.lang.String input,
                                  java.lang.String mode,
                                  int offset,
                                  int caret)
Parameters:
input -
mode -
offset -
caret -
Returns:

loadDictionary

public boolean loadDictionary()
Returns:

resetSpellChecker

public void resetSpellChecker()
Resets list of ignored words.


spellingError

public void spellingError(SpellCheckEvent event)
Specified by:
spellingError in interface SpellCheckListener
Parameters:
event -

unloadDictionary

public void unloadDictionary()