Trull

edu.luc.cs.trull.demo.wristwatch
Class Update

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.wristwatch.Update
All Implemented Interfaces:
Component, EventLabels, PropertyChangeSource, Startable, Suspendable, Terminating, java.beans.PropertyChangeListener, java.util.EventListener

public class Update
extends EmitComponent
implements EventLabels

update = loop TICK -> { time ++; } emit UPDATE


Field Summary
private  DateModel data
           
 
Fields inherited from interface edu.luc.cs.trull.demo.wristwatch.EventLabels
DATE, DAY, HOUR, LAP, LIGHT, LIGHT_OFF, LIGHT_ON, MIN, MODE, MONTH, NOW, RESET, START, STOP, TICK, TIME, UPDATE
 
Constructor Summary
Update(DateModel data)
           
 
Method Summary
 void propertyChange(java.beans.PropertyChangeEvent event)
           
 
Methods inherited from class edu.luc.cs.trull.EmitComponent
eventEmitter, eventEmitterCached, eventEmitterUncached, resume, 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

data

private DateModel data
Constructor Detail

Update

public Update(DateModel data)
Method Detail

propertyChange

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

Trull

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