package uk.co.pentest.psychoPATH;

import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;

/**
 * A simplified version of DocumentListener that fires changedUpdate for all
 * events.
 */
public abstract class SimpleDocumentListener implements DocumentListener {
    @Override
    public void insertUpdate(DocumentEvent evt) {
        changedUpdate(evt);
    }

    @Override
    public void removeUpdate(DocumentEvent evt) {
        changedUpdate(evt);
    }    
}
