Package snap.viewx

Class SpellCheckPanel

All Implemented Interfaces:
PropChange.DoChange

public abstract class SpellCheckPanel extends ViewOwner
This class uses the SpellCheck class to check spelling.
  • Constructor Details

    • SpellCheckPanel

      public SpellCheckPanel()
      Constructor.
  • Method Details

    • show

      public void show(View aView)
      Runs the spell check panel.
    • initUI

      protected void initUI()
      Initialize UI.
      Overrides:
      initUI in class ViewOwner
    • resetUI

      public void resetUI()
      Reset the UI.
      Overrides:
      resetUI in class ViewOwner
    • respondUI

      public void respondUI(ViewEvent anEvent)
      Handles okay button.
      Overrides:
      respondUI in class ViewOwner
    • findNextMisspelling

      public void findNextMisspelling()
      Find next misspelling.
    • doCorrection

      public void doCorrection()
      Do correction.
    • getTextString

      protected abstract String getTextString()
      Returns the text that this spell check panel should be checking.
    • getTextEditor

      protected TextEditor getTextEditor()
      Returns the TextEditor.
    • getTextLength

      protected int getTextLength()
    • getSelEnd

      protected int getSelEnd()
    • setSel

      protected void setSel(int aStart)
    • setSel

      protected void setSel(int aStart, int anEnd)
    • replaceChars

      protected void replaceChars(String aString)