All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.awt.EventQueue
|
+----com.sun.java.accessibility.EventQueueMonitor
The EventQueueMonitor is an EventQueue subclass that provides key core functionality for Assistive Technologies (and other system-level technologies that need some of the same things that Assistive Technology needs). Specifically, it provides the following things:
This class is meant to be automatically loaded by the Toolkit when it starts up. In order for this to happen, this class needs to be in the CLASSPATH environment variable and the following line needs to be in the awt.properties file:
AWT.EventQueueClass=com.sun.java.accessibility.EventQueueMonitor
This class also looks for the AWT.AutoLoadClasses property in the awt.properties file. This is a comma-separated list of classes that represent assistive technologies that should run in the same Java Virtual Machine as the application. If this property exists, this class will load each class in the list and create an instance of it in a separate thread.
This class is commonly used with one or two other classes: AWTEventMonitor, and SwingEventMonitor, which track all events generated by AWT obects and Swing objects resptively. To use either of those classes, they should be specified via the AWT.AutoLoadClasses property, as described above.
NOTE: This is a preliminary draft. The methods and name may change in future beta releases.
public EventQueueMonitor()
public static Accessible getAccessibleAt(Point p)
public static void addTopLevelWindowListener(TopLevelWindowListener l)
public static void removeTopLevelWindowListener(TopLevelWindowListener l)
public static Point getCurrentMousePosition()
public static Window[] getTopLevelWindows()
public static Window getTopLevelWindowWithFocus()
public void postEvent(AWTEvent theEvent)
All Packages Class Hierarchy This Package Previous Next Index