FileDocCategorySizeDatePackage
TempChangedEvent.javaAPI DocExample859Tue Jun 03 21:57:24 BST 1997BeansBook.Simulator

TempChangedEvent

public class TempChangedEvent extends EventObject

Fields Summary
protected double
theTemperature
Constructors Summary
public TempChangedEvent(Object source, double temperature)

      // pass the source object to the superclass
      super(source);

      // save the new temperature
      theTemperature = temperature;
   
Methods Summary
public doublegetTemperature()

      return theTemperature;