com.sun.util |
The PTimer is used to schedule timer events to an an application or applet.
Compatibility
The PTimer class is available on PersonalJava implementations, but is not
available on J2SE platforms. It is optional on Personal Profile implementations,
but has been deprecated. The java.util.timer class should be used
instead, except in cases where PersonalJava compatibility is necessary.
@since JDK1.1
|
Java Source File Name | Type | Comment |
DefaultPTimer.java | Class | An implementaion of the PTimer class which uses the java.util.Timer class
to implement scheduling. |
PTimer.java | Class | A class representing a timer.
A timer is responsible for managing a set of timer events specified
by timer specifications. |
PTimerScheduleFailedException.java | Class | An exception thrown by the schedule() method of PTimer when a timer
specification can not be met. |
PTimerSpec.java | Class | A class representing a timer specification. |
PTimerWentOffEvent.java | Class | An event indicating that a PTimer event went off.
Compatibility
The PTimerWentOffEvent is supported in PersonalJava
implementations. |
PTimerWentOffListener.java | Interface | The PTimerWentOffListener is an interface which must be implemented
for an object to be informed of PTimerWentOffEvents. |