Trull

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

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

 class SetPower
extends EmitComponent
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
SetPower()
           
 
Method Summary
 void propertyChange(java.beans.PropertyChangeEvent event)
           
 void resume()
          Resumes this suspendable component.
 
Methods inherited from class edu.luc.cs.trull.EmitComponent
eventEmitter, eventEmitterCached, eventEmitterUncached, scheduleEvent, scheduleEvent, scheduleEvent, start, stop, suspend
 
Methods inherited from class edu.luc.cs.trull.AbstractComponent
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getExternalListeners, getPropertyChangeListeners, removePropertyChangeListener
 
Methods inherited from class edu.luc.cs.trull.TerminatingComponent
fireTermination, getParent, getTermEvent, scheduleTermination, setTerminationListener
 
Methods inherited from class edu.luc.cs.trull.EmptyComponent
getTerminationListener
 
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

SetPower

SetPower()
Method Detail

propertyChange

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

resume

public void resume()
Description copied from interface: Suspendable
Resumes this suspendable component.

Specified by:
resume in interface Suspendable
Overrides:
resume in class EmitComponent

Trull

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