// 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 AdvancedTempChangeListener interface
package BeansBook.Simulator;
public interface AdvancedTempChangeListener
extends TempChangeListener
{
// this method is called if the temperature drops below the freezing
// point of water
void tempBelowFreezing(TempChangedEvent evt);
// this method is called if the temperature rises above the boiling
// point of water
void tempAboveBoiling(TempChangedEvent evt);
}
|