|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.history.time.TimeServer
public abstract class TimeServer
A class representing a way get time values.
| Constructor Summary | |
|---|---|
TimeServer()
|
|
| Method Summary | |
|---|---|
void |
addTimeListener(TimeListener l)
Adds the specified listener to receive events from this clock. |
void |
dispatchTimeEvent(TimeEvent evt)
DOCUMENT ME! |
TimeListener[] |
getTimeListeners()
Returns an array of all the TimeListeners added to
this Clock with addTimeListener. |
void |
removeTimeListener(TimeListener l)
Removes the specified TimeListener so that it no longer receives events from this clock. |
abstract void |
start()
DOCUMENT ME! |
abstract void |
stop()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeServer()
| Method Detail |
|---|
public abstract void start()
public abstract void stop()
public void dispatchTimeEvent(TimeEvent evt)
evt - DOCUMENT ME!public void addTimeListener(TimeListener l)
l - the TimeListenerpublic void removeTimeListener(TimeListener l)
l - the TimeListenerpublic TimeListener[] getTimeListeners()
TimeListeners added to
this Clock with addTimeListener.
TimeListeners added or an empty array if
no listeners have been addedaddTimeListener(org.jscience.history.time.TimeListener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||