com.samskivert.swing.event
Class DocumentAdapter

java.lang.Object
  extended by com.samskivert.swing.event.DocumentAdapter
All Implemented Interfaces:
EventListener, DocumentListener

public class DocumentAdapter
extends Object
implements DocumentListener

A DocumentAdapter for focusing DocumentListener events into a pinpoint of easy wonderosity. Or you can override each of the DocumentListener methods as you wish.


Constructor Summary
DocumentAdapter()
           
 
Method Summary
 void changedUpdate(DocumentEvent e)
           
 void documentChanged()
          A handy-dandy method you can override to just do *something* whenever the document changes.
 void insertUpdate(DocumentEvent e)
           
 void removeUpdate(DocumentEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentAdapter

public DocumentAdapter()
Method Detail

documentChanged

public void documentChanged()
A handy-dandy method you can override to just do *something* whenever the document changes.


changedUpdate

public void changedUpdate(DocumentEvent e)
Specified by:
changedUpdate in interface DocumentListener

insertUpdate

public void insertUpdate(DocumentEvent e)
Specified by:
insertUpdate in interface DocumentListener

removeUpdate

public void removeUpdate(DocumentEvent e)
Specified by:
removeUpdate in interface DocumentListener


Copyright © 2000-2008 Michael Bayne. All Rights Reserved.