com.sun.electric.database.change
Interface DatabaseChangeListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Attributes, AttributesTable, CellBrowser, EditWindow, ErrorLoggerTree.ErrorLoggerTreeNode, GetInfoArc, GetInfoExport, GetInfoMulti, GetInfoNode, GetInfoOutline, GetInfoText, Highlighter, LibraryPalette, SelectObject, StatusBar

public interface DatabaseChangeListener
extends java.util.EventListener

The database changes its state in transactional manner. When the state is changed, DatabaseChangeEvent occurs. Any class that implements the DatabaseChangeListener interface, and is added to the Undo class's listeners will receive DatabaseChangeEvent.

IMPORTANT: The listener should be a Swing object, and it is invoked in the java AWT Event thread.


Method Summary
 void databaseChanged(DatabaseChangeEvent e)
          Invoked in the java AWT Event thread when the database state changes.
 

Method Detail

databaseChanged

void databaseChanged(DatabaseChangeEvent e)
Invoked in the java AWT Event thread when the database state changes.

Parameters:
e - database change event.