Class AutoSpellCheckHandler
java.lang.Object
java.awt.event.MouseAdapter
com.swabunga.spell.swing.autospell.AutoSpellCheckHandler
- All Implemented Interfaces:
AutoSpellConstants,MouseListener,MouseMotionListener,MouseWheelListener,EventListener,DocumentListener
public class AutoSpellCheckHandler
extends MouseAdapter
implements DocumentListener, AutoSpellConstants
This class handles the actual autospelling by implementing some listeners
on the spellchecked JEditorPane and Document.
- Author:
- Robert Gustavsson (robert@lindesign.se)
-
Field Summary
Fields inherited from interface com.swabunga.spell.swing.autospell.AutoSpellConstants
wordMisspelled, wordMisspelledTrue -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJEditorPane(JEditorPane pane) voidvoidvoidmouseReleased(MouseEvent evt) voidremoveJEditorPane(JEditorPane pane) voidMethods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseWheelMoved
-
Constructor Details
-
AutoSpellCheckHandler
-
AutoSpellCheckHandler
-
-
Method Details
-
addJEditorPane
-
removeJEditorPane
-
changedUpdate
- Specified by:
changedUpdatein interfaceDocumentListener
-
insertUpdate
- Specified by:
insertUpdatein interfaceDocumentListener
-
removeUpdate
- Specified by:
removeUpdatein interfaceDocumentListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classMouseAdapter
-