com.swabunga.spell.swing
public class JSpellForm extends JPanel implements ActionListener, ListSelectionListener
This needs to layed out correctly but for the most part it works.
Field Summary | |
---|---|
static String | ADDWORD_1 Add word confirm |
static String | ADDWORD_2 |
static String | ADDWORD_3 |
static String | ADD_CMD The Add button click action command |
protected JTextField | checkText |
static String | CANCEL_CMD The Cancel button click action command |
static String | IGNOREALL_CMD The Ignore All button click action command |
static String | IGNORE_CMD The Ignore button click action command |
protected EventListenerList | listenerList The listener list (holds actionlisteners) |
protected ResourceBundle | messages |
static String | REPLACEALL_CMD The Replace All button click action command |
static String | REPLACE_CMD The Replace button click action command |
protected SpellCheckEvent | spellEvent |
protected JList | suggestList |
Constructor Summary | |
---|---|
JSpellForm() Panel constructor |
Method Summary | |
---|---|
void | actionPerformed(ActionEvent e) Fired when a button is selected |
void | addActionListener(ActionListener l) Register an action listener |
protected void | fireActionEvent(ActionEvent e) |
protected void | initialiseGUI() Called by the constructor to initialise the GUI |
static void | main(String[] args) |
protected JPanel | makeCentrePanel() |
protected JPanel | makeEastPanel() Creates the buttons on the left hand side of the panel |
void | removeActionListener(ActionListener l) Deregister an action listener |
void | setSpellEvent(SpellCheckEvent event) Sets the current spell check event that is being shown to the user |
void | valueChanged(ListSelectionEvent e) Fired when a value in the list is selected |