at.tuwien.ifs.commons.gui.util
Class DocumentAdapter
java.lang.Object
at.tuwien.ifs.commons.gui.util.DocumentAdapter
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.DocumentListener
public abstract class DocumentAdapter
- extends java.lang.Object
- implements javax.swing.event.DocumentListener
An abstract adapter class for receiving document events; this class exists as convenience for creating listener
objects that react in the same way to insert and remove updates.
Therefore, both insertUpdate(DocumentEvent)
and removeUpdate(DocumentEvent)
call
performAction(DocumentEvent)
, changedUpdate(DocumentEvent)
is empty.
- Version:
- $Id: $
- Author:
- Rudolf Mayer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentAdapter
public DocumentAdapter()
performAction
protected abstract void performAction(javax.swing.event.DocumentEvent e)
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate
in interface javax.swing.event.DocumentListener
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate
in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate
in interface javax.swing.event.DocumentListener