com.swabunga.spell.swing.autospell
Class AutoSpellCheckHandler
java.lang.Object
java.awt.event.MouseAdapter
com.swabunga.spell.swing.autospell.AutoSpellCheckHandler
- All Implemented Interfaces:
- AutoSpellConstants, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener, javax.swing.event.DocumentListener
public class AutoSpellCheckHandler
- extends java.awt.event.MouseAdapter
- implements javax.swing.event.DocumentListener, AutoSpellConstants
This class handles the actual autospelling by implementing some listeners
on the spellchecked JEditorPane and Document.
- Author:
- Robert Gustavsson (robert@lindesign.se)
Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseWheelMoved |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoSpellCheckHandler
public AutoSpellCheckHandler(SpellChecker sc)
AutoSpellCheckHandler
public AutoSpellCheckHandler(SpellChecker sc,
java.util.ResourceBundle rs)
addJEditorPane
public void addJEditorPane(javax.swing.JEditorPane pane)
removeJEditorPane
public void removeJEditorPane(javax.swing.JEditorPane pane)
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent evt)
- Specified by:
changedUpdate
in interface javax.swing.event.DocumentListener
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent evt)
- Specified by:
insertUpdate
in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent evt)
- Specified by:
removeUpdate
in interface javax.swing.event.DocumentListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent evt)
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener
- Overrides:
mouseReleased
in class java.awt.event.MouseAdapter