FileDocCategorySizeDatePackage
RuntimeSpellPlugin.javaAPI DocExample871Sun Dec 08 00:46:52 GMT 2002com.wiverson.macosbook.spelling

RuntimeSpellPlugin

public class RuntimeSpellPlugin extends Object implements com.wiverson.macosbook.SimpleEditPlugin

Fields Summary
private boolean
runtimespell
com.apple.spell.ui.JTxtCmpontDrvr
mySpellchecker
Constructors Summary
public RuntimeSpellPlugin()

    
Methods Summary
public voiddoAction(com.wiverson.macosbook.SimpleEdit frame, java.awt.event.ActionEvent evt)

    
         
    
        if(!runtimespell)
        {
            mySpellchecker.startRealtimeChecking(frame.getJTextArea());
        } else
        {
            mySpellchecker.stopRealtimeChecking();
        }
        runtimespell = !runtimespell;
    
public java.lang.StringgetAction()

        return "Toggle Realtime Spelling";
    
public voidinit(com.wiverson.macosbook.SimpleEdit frame)