org.salespointframework.core.events
Class TimerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.salespointframework.core.events.TimerEvent
All Implemented Interfaces:
java.io.Serializable

public class TimerEvent
extends java.util.EventObject

An event to be fired by implementations of the Timer interface.

Since:
v2.0
Version:
2.0 11/06/1999
Author:
Stephan Gambke
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TimerEvent(Timer tSource)
          Create a new TimerEvent
 
Method Summary
 java.lang.Object getTime()
           
 java.lang.Object getTimeStamp()
          Return the time stamp for 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
 

Constructor Detail

TimerEvent

public TimerEvent(Timer tSource)
Create a new TimerEvent

Parameters:
tSource - the source of this event
Method Detail

getTime

public java.lang.Object getTime()
Returns:
an Object representing the time this event occured

getTimeStamp

public java.lang.Object getTimeStamp()
Return the time stamp for this event.

Thus, two TimerEvents can always be ordered according to their time of creation.