org.crosswire.common.swing
Class BeanPanel.CustomDocumentListener
java.lang.Object
org.crosswire.common.swing.BeanPanel.CustomDocumentListener
- All Implemented Interfaces:
- EventListener, DocumentListener
- Enclosing class:
- BeanPanel
private final class BeanPanel.CustomDocumentListener
- extends Object
- implements DocumentListener
Document Listener that updates the original bean
Field Summary |
private JTextField |
text
The text field that we are monitoring |
private Method |
writer
The method of updating the original bean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
text
private final JTextField text
- The text field that we are monitoring
writer
private final Method writer
- The method of updating the original bean
BeanPanel.CustomDocumentListener
protected BeanPanel.CustomDocumentListener(JTextField text,
Method writer)
- Simple ctor
changedUpdate
public void changedUpdate(DocumentEvent ev)
- Specified by:
changedUpdate
in interface DocumentListener
insertUpdate
public void insertUpdate(DocumentEvent ev)
- Specified by:
insertUpdate
in interface DocumentListener
removeUpdate
public void removeUpdate(DocumentEvent ev)
- Specified by:
removeUpdate
in interface DocumentListener