org.jscience.history.time
Class BasicClock

java.lang.Object
  extended by org.jscience.history.time.Clock
      extended by org.jscience.history.time.BasicClock
All Implemented Interfaces:
java.util.EventListener, TimeListener

public class BasicClock
extends Clock

A class representing a way to display and change time.


Constructor Summary
BasicClock(TimeServer timeServer)
          Creates a new BasicClock object.
 
Method Summary
 ModernTime getTime()
          DOCUMENT ME!
 void setTime(ModernTime time)
          DOCUMENT ME!
 void timeChanged(TimeEvent event)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.history.time.Clock
getTimeServer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicClock

public BasicClock(TimeServer timeServer)
Creates a new BasicClock object.

Parameters:
timeServer - DOCUMENT ME!
Method Detail

getTime

public ModernTime getTime()
DOCUMENT ME!

Specified by:
getTime in class Clock
Returns:
DOCUMENT ME!

setTime

public void setTime(ModernTime time)
DOCUMENT ME!

Parameters:
time - DOCUMENT ME!

timeChanged

public void timeChanged(TimeEvent event)
DOCUMENT ME!

Parameters:
event - DOCUMENT ME!