Class TextChangedListener

  • All Implemented Interfaces:
    EventListener, DocumentListener

    public class TextChangedListener
    extends Object
    implements 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.