|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
org.jscience.history.time.TimeEvent
public class TimeEvent
A class representing a way to have time related events.
| Field Summary | |
|---|---|
static int |
TIME_CHANGED
DOCUMENT ME! |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
TimeEvent(TimeServer source,
Time time,
int id)
Constructs an TimeEvent object. |
|
| Method Summary | |
|---|---|
int |
getID()
DOCUMENT ME! |
Time |
getTime()
DOCUMENT ME! |
TimeServer |
getTimeServer()
Returns the originator of the event. |
java.lang.String |
paramString()
Returns a parameter string identifying this event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TIME_CHANGED
| Constructor Detail |
|---|
public TimeEvent(TimeServer source,
Time time,
int id)
TimeEvent object.
source - the Time object that originated the eventid - an integer indicating the type of event| Method Detail |
|---|
public java.lang.String paramString()
public TimeServer getTimeServer()
TimeServer object that originated the eventpublic Time getTime()
public int getID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||