// This example is from the book Developing Java Beans by Robert Englander.
// Copyright (c) 1997 O'Reilly & Associates.
// You may study, use, modify, and distribute this example for any purpose.
// This example is provided WITHOUT WARRANTY either expressed or implied.
// Chapter 2 -- The TempChangeListener interface
package BeansBook.Simulator;
public interface TempChangeListener extends java.util.EventListener
{
// this method is called whenever the ambient temperature changes
void tempChanged(TempChangedEvent evt);
}
|