Trull

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

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.AbstractCombinator
                  extended by edu.luc.cs.trull.SingleChildCombinator
                      extended by edu.luc.cs.trull.Rename
                          extended by edu.luc.cs.trull.demo.wristwatch.WristWatch
All Implemented Interfaces:
Combinator, Component, EventLabels, PropertyChangeSource, Startable, Suspendable, Terminating, java.beans.PropertyChangeListener, java.util.EventListener

public class WristWatch
extends Rename
implements EventLabels

The top-level control logic for the wristwatch.

 wristwatch =
   local UPDATE
     light
   | update
   | cycle MODE 
       timemode
       datemode
       stopwatch
       setmode
 


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.luc.cs.trull.Rename
Rename.LocalListener
 
Nested classes/interfaces inherited from class edu.luc.cs.trull.AbstractCombinator
AbstractCombinator.DefaultTerminationListener
 
Field Summary
 
Fields inherited from class edu.luc.cs.trull.AbstractCombinator
components
 
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
WristWatch()
           
 
Method Summary
 
Methods inherited from class edu.luc.cs.trull.Rename
addEventRenaming, getChildTerminationListener, getDefaultChild, getEventRenamings, getInternalListener, getLocalEvents, propertyChange, removeEventRenaming, setLocalEvent, setLocalEvents, setLocalEvents
 
Methods inherited from class edu.luc.cs.trull.SingleChildCombinator
addComponent, getChild, removeComponent, resume, start, stop, suspend
 
Methods inherited from class edu.luc.cs.trull.AbstractCombinator
addComponent, addComponent, getComponent, getComponentCount, getComponents, removeAllComponents, removeComponent
 
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
 
Methods inherited from interface edu.luc.cs.trull.PropertyChangeSource
addPropertyChangeListener, getPropertyChangeListeners, removePropertyChangeListener
 
Methods inherited from interface edu.luc.cs.trull.Terminating
getTerminationListener, setTerminationListener
 

Constructor Detail

WristWatch

public WristWatch()

Trull

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