SalesPoint v3.3 API

sale.events
Class TimerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by sale.events.TimerEvent
All Implemented Interfaces:
Serializable

public class TimerEvent
extends EventObject

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

Since:
v2.0
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
 Object getTime()
           
 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 Object getTime()
Returns:
an Object representing the time this event occured
Override:
Never

getTimeStamp

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

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

Override:
Never

SalesPoint v3.3 API