Trull

edu.luc.cs.trull.demo.microwave
Class Heater

java.lang.Object
  extended by edu.luc.cs.trull.EmptyComponent
      extended by edu.luc.cs.trull.demo.microwave.Heater
All Implemented Interfaces:
Component, EventLabels, PropertyChangeSource, Startable, Suspendable, Terminating, java.beans.PropertyChangeListener, java.util.EventListener

 class Heater
extends EmptyComponent
implements EventLabels


Field Summary
private  java.lang.String power
           
 
Fields inherited from interface edu.luc.cs.trull.demo.microwave.EventLabels
BEEP, CLOSE, FINISH, HEATMODE, HEATOFF, HEATON, HIGH, LIGHTOFF, LIGHTON, LOW, MEDIUM, OFF, ONEMIN, ONESEC, OPEN, POWER, RESET, RUN, START, STOP, TENMIN, TENSEC, TICK, TIME, TIMER, TIMERMODE
 
Constructor Summary
Heater()
           
 
Method Summary
 void propertyChange(java.beans.PropertyChangeEvent event)
           
 void start(java.beans.PropertyChangeEvent incoming)
          Starts this startable component.
 void stop()
          Stops this startable component.
 
Methods inherited from class edu.luc.cs.trull.EmptyComponent
addPropertyChangeListener, getPropertyChangeListeners, getTerminationListener, removePropertyChangeListener, resume, setTerminationListener, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

power

private java.lang.String power
Constructor Detail

Heater

Heater()
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent event)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Overrides:
propertyChange in class EmptyComponent

start

public void start(java.beans.PropertyChangeEvent incoming)
Description copied from interface: Startable
Starts this startable component.

Specified by:
start in interface Startable
Overrides:
start in class EmptyComponent
Parameters:
incoming - the event that triggered the invocation of this method. May be null.

stop

public void stop()
Description copied from interface: Startable
Stops this startable component.

Specified by:
stop in interface Startable
Overrides:
stop in class EmptyComponent

Trull

http://www.cs.luc.edu/trull/