Class TimerEvent
public class TimerEvent
{
// Methods
public Object getSource();
public long getTime();
public int getUserID();
public String toString();
}
This class identifies the expiration of a Timer.
public Object getSource();
Retrieves the event source.
Return Value:
Returns the source object for the event.
public long getTime();
Retrieves the time at which the timer expires.
Return Value:
Returns the time at which the timer expires.
public int getUserID();
Retrieves the timer's user-defined identifier.
Return Value:
Returns the integer identifier of the timer.
public String toString();
Retrieves a string object that describes the timer event.
Return Value:
Returns a string object that describes the timer event.