Class JSpellForm

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ListSelectionListener

public class JSpellForm extends JPanel implements ActionListener, ListSelectionListener
Implementation of a spell check form.

This needs to layed out correctly but for the most part it works.

Author:
Jason Height (jheight@chariot.net.au)
See Also:
  • Field Details

  • Constructor Details

    • JSpellForm

      public JSpellForm()
      Panel constructor
  • Method Details

    • makeEastPanel

      protected JPanel makeEastPanel()
      Creates the buttons on the left hand side of the panel
    • makeCentrePanel

      protected JPanel makeCentrePanel()
    • initialiseGUI

      protected void initialiseGUI()
      Called by the constructor to initialise the GUI
    • addActionListener

      public void addActionListener(ActionListener l)
      Register an action listener
    • removeActionListener

      public void removeActionListener(ActionListener l)
      Deregister an action listener
    • fireActionEvent

      protected void fireActionEvent(ActionEvent e)
    • setSpellEvent

      public void setSpellEvent(SpellCheckEvent event)
      Sets the current spell check event that is being shown to the user
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      Fired when a value in the list is selected
      Specified by:
      valueChanged in interface ListSelectionListener
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Fired when a button is selected
      Specified by:
      actionPerformed in interface ActionListener
    • main

      public static void main(String[] args)