Package com.ms.util Previous
Previous
Contents
Contents
Index
Index
Next
Next

Class TimerEvent

Methods

public class TimerEvent //extends EventObject {
  // Methods
  public Object getSource()
  public int getUserID()
  public long getTime()
  public String toString()
}

Identifies the expiration of a Timer.


Methods


getSource

public Object getSource()

Retrieves the source of the event

Return Value:

Returns the source object for the event


getTime

public long getTime()

Returns the time at which the timer expired.

Return Value:

Returns the time at which the timer expired


getUserID

public int getUserID()

Retrieves the user-defined id associated with the timer.

Return Value:

Returns the integer identifier of the timer


toString

public String toString()

Returns a string object describing the timer event.

Return Value:

Returns a string object describing the timer event



Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.