All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ejmf.toolkit.util.SourcedTimerEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----ejmf.toolkit.util.SourcedTimerEvent

public class SourcedTimerEvent
extends EventObject
This event is sent by a SourcedTimer to its listeners in response from a 'tick' by the SourcedTimer's base timer.

See Also:
SourcedTimer, TimeSource

Constructor Index

 o SourcedTimerEvent(Object, long)
Event constructor.

Method Index

 o getTime()
Retrieve the time from the event Object.
 o setTime(long)
Set the time of event object.

Constructors

 o SourcedTimerEvent
 public SourcedTimerEvent(Object src,
                          long t)
Event constructor.

Parameters:
src - Source of event.
t - Time in units of source.

Methods

 o getTime
 public long getTime()
Retrieve the time from the event Object.

Returns:
Time in units of time source.
 o setTime
 public void setTime(long t)
Set the time of event object. This operation for a client unless it happens to re-generated event for its own purposes.

Parameters:
t - Time in units detemined by caller.

All Packages  Class Hierarchy  This Package  Previous  Next  Index