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 TypeMethodDescriptionvoid
addJEditorPane
(JEditorPane pane) void
void
void
mouseReleased
(MouseEvent evt) void
removeJEditorPane
(JEditorPane pane) void
Methods 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:
changedUpdate
in interfaceDocumentListener
-
insertUpdate
- Specified by:
insertUpdate
in interfaceDocumentListener
-
removeUpdate
- Specified by:
removeUpdate
in interfaceDocumentListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
- Overrides:
mouseReleased
in classMouseAdapter
-