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.
public WinEvent();
Creates a new WinEvent object.
public Object getObject(int id);
Retrieves an object with a specified identifier.
Return Value:
Returns The object, or null if the identifier is invalid.
Parameter | Description |
id
| The identifier of the object to find.
|
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.
Parameter | Description |
event
| The event to send.
|
obj
| The Java object that posted the event.
|