Packages
 In this topic

*Constructors

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.awt   Previous This
Package
Next

 


Class WinEvent

public class WinEvent implements com.ms.ui.IWinEvent
{
  // Constructors
  public WinEvent();

  // Methods
  public Object getObject(int id);
  public void notify(int event, Object obj);
}

This class provides a raw API that enables Java objects to use Microsoft Active Accessibility. However, it is recommended that you use the UIWinEvent class, which provides essentially the same API and contains all the needed constants as well.

Constructors

WinEvent

public WinEvent();

Creates a new WinEvent object.

Methods

getObject

public Object getObject(int id);

Retrieves an object with a specified identifier.

Return Value:

Returns The object, or null if the identifier is invalid.

ParameterDescription
id The identifier of the object to find.

notify

public void notify(int event, Object obj);

Generates an event notification that is propagated to any currently associated listener objects.

Return Value:

No return value.

ParameterDescription
event The event to send.
obj The Java object that posted the event.

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