net.sourceforge.jsxe
Interface DocumentBufferListener


public interface DocumentBufferListener

Defines an interface for objects that are notified when DocumentBuffers have changed.

Version:
$Id: DocumentBufferListener.java,v 1.6 2005/04/15 20:00:50 ian_lewis Exp $
Author:
Ian Lewis (IanLewis@member.fsf.org)
See Also:
DocumentBuffer

Method Summary
 void bufferSaved(DocumentBuffer source)
          Called whenever the buffer is saved.
 void nameChanged(DocumentBuffer source, String newName)
          Called whenever the buffers name has changed
 void statusChanged(DocumentBuffer source, int statusType, boolean oldStatus)
           
 

Method Detail

nameChanged

public void nameChanged(DocumentBuffer source,
                        String newName)
Called whenever the buffers name has changed

Parameters:
source - the source DocumentBuffer whose name has changed
newName - the new name of the buffer

bufferSaved

public void bufferSaved(DocumentBuffer source)
Called whenever the buffer is saved.

Parameters:
source - source buffer that was saved

statusChanged

public void statusChanged(DocumentBuffer source,
                          int statusType,
                          boolean oldStatus)