Package io.github.jonestimd.swing
Class DocumentChangeHandler
- java.lang.Object
-
- io.github.jonestimd.swing.DocumentChangeHandler
-
- All Implemented Interfaces:
java.util.EventListener
,javax.swing.event.DocumentListener
public class DocumentChangeHandler extends java.lang.Object implements javax.swing.event.DocumentListener
Invokes aRunnable
whenever aDocument
changes.
-
-
Constructor Summary
Constructors Constructor Description DocumentChangeHandler(java.lang.Runnable handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changedUpdate(javax.swing.event.DocumentEvent e)
void
insertUpdate(javax.swing.event.DocumentEvent e)
void
removeUpdate(javax.swing.event.DocumentEvent e)
-
-
-
Method Detail
-
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate
in interfacejavax.swing.event.DocumentListener
-
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate
in interfacejavax.swing.event.DocumentListener
-
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate
in interfacejavax.swing.event.DocumentListener
-
-