View Javadoc

1   package com.ochafik.swing;
2   
3   import javax.swing.event.DocumentEvent;
4   import javax.swing.event.DocumentListener;
5   
6   public abstract class SimpleDocumentAdapter implements DocumentListener {
7   	public abstract void updated(DocumentEvent e);
8   	public void changedUpdate(DocumentEvent e) {
9   		updated(e);	
10  	}
11  
12  	public void insertUpdate(DocumentEvent e) {
13  		updated(e);				
14  	}
15  
16  	public void removeUpdate(DocumentEvent e) {
17  		updated(e);	
18  	}
19  }