edu.princeton.toy
Class TBaseConverterPane.Listener

java.lang.Object
  extended by edu.princeton.toy.TBaseConverterPane.Listener
All Implemented Interfaces:
EventListener, DocumentListener
Enclosing class:
TBaseConverterPane

protected class TBaseConverterPane.Listener
extends Object
implements DocumentListener

The Listener of a TBaseConverterPane pays attention to the changes in the PTextFields, and fires off changes to the other PTextFields.


Constructor Summary
protected TBaseConverterPane.Listener()
           
 
Method Summary
 void changedUpdate(DocumentEvent e)
          Implement DocumentListener to pass DocumentEvents to the documentChanged() method.
 void insertUpdate(DocumentEvent e)
          Implement DocumentListener to pass DocumentEvents to the documentChanged() method.
 void removeUpdate(DocumentEvent e)
          Implement DocumentListener to pass DocumentEvents to the documentChanged() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TBaseConverterPane.Listener

protected TBaseConverterPane.Listener()
Method Detail

changedUpdate

public void changedUpdate(DocumentEvent e)
Implement DocumentListener to pass DocumentEvents to the documentChanged() method.

Specified by:
changedUpdate in interface DocumentListener

insertUpdate

public void insertUpdate(DocumentEvent e)
Implement DocumentListener to pass DocumentEvents to the documentChanged() method.

Specified by:
insertUpdate in interface DocumentListener

removeUpdate

public void removeUpdate(DocumentEvent e)
Implement DocumentListener to pass DocumentEvents to the documentChanged() method.

Specified by:
removeUpdate in interface DocumentListener