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
-
SourcedTimerEvent(Object, long)
- Event constructor.
-
getTime()
- Retrieve the time from the event Object.
-
setTime(long)
- Set the time of event object.
SourcedTimerEvent
public SourcedTimerEvent(Object src,
long t)
- Event constructor.
- Parameters:
- src
- Source of event.
- t
- Time in units of source.
getTime
public long getTime()
- Retrieve the time from the event Object.
- Returns:
- Time in units of time source.
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