Packages
 In this topic

*Constructors

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.ui.event   Previous This
Package
Next

 


Class UIBaseEvent

public class UIBaseEvent extends java.util.EventObject
{
  // Constructors
  public UIBaseEvent(Object source,int id);

  // Methods
  public int getID();
  public Object getSource();
  public String paramString();
  public String toString();
}

This class represents the base event for all JDK 1.1 events and defines base level functionality of events.

EventObject
  |
  +--UIBaseEvent

Constructors

UIBaseEvent

public UIBaseEvent(Object source,int id);

Creates a basic event.

ParameterDescription
source The object where the event originated.
id The event type.

Methods

getID

public int getID();

Retrieves the identifier of the event.

Return Value:

Returns the identifier.

getSource

public Object getSource();

Retrieves the object that is the target of the event.

Return Value:

Returns the object that is the target of this event.

paramString

public String paramString();

This method is used internally by the toString method.

Return Value:

Returns a formatted String object that assists with textual representation of the exception.

toString

public String toString();

Retrieves a string representation of the event.

Return Value:

Returns a String object representation of the exception.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.