org.apache.uima.tools.cvd.control
Class TextChangedListener
java.lang.Object
org.apache.uima.tools.cvd.control.TextChangedListener
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.DocumentListener
public class TextChangedListener
- extends java.lang.Object
- implements javax.swing.event.DocumentListener
Listener for changes in text frame. When the text is changed, the CAS is removed as the text from
the CAS does no longer correspond to the text that is displayed in the frame, hence annotation
offsets are no longer correct.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextChangedListener
public TextChangedListener(MainFrame frame)
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent arg0)
- Specified by:
changedUpdate
in interface javax.swing.event.DocumentListener
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent arg0)
- Specified by:
insertUpdate
in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent arg0)
- Specified by:
removeUpdate
in interface javax.swing.event.DocumentListener
Copyright © 2013. All Rights Reserved.