| java.lang.Object abbot.tester.WindowTracker
WindowTracker | public class WindowTracker (Code) | | Keep track of all known root windows, and all known showing/hidden/closed
windows.
|
Constructor Summary | |
| WindowTracker() Create an instance of WindowTracker which will track all windows
coming and going on the current and subsequent app contexts. |
WINDOW_READY_DELAY | static int WINDOW_READY_DELAY(Code) | | |
WindowTracker | WindowTracker()(Code) | | Create an instance of WindowTracker which will track all windows
coming and going on the current and subsequent app contexts.
WARNING: if an applet loads this class, it will only ever see stuff in
its own app context.
|
getEventQueues | public Collection getEventQueues()(Code) | | Returns all known event queues.
|
getQueue | public EventQueue getQueue(Component c)(Code) | | Return the event queue corresponding to the given component. In most
cases, this is the same as
Component.getToolkit().getSystemEventQueue(), but in the case of
applets will bypass the AppContext and provide the real event queue.
|
getRootWindows | public Collection getRootWindows()(Code) | | Return all available root Windows. A root Window is one
that has a null parent. Nominally this means a list similar to that
returned by Frame.getFrames(), but in the case of an Applet may return
a few Dialogs as well.
|
isWindowReady | public boolean isWindowReady(Window w)(Code) | | Returns whether the window is ready to receive OS-level event input.
A window's "isShowing" flag may be set true before the WINDOW_OPENED
event is generated, and even after the WINDOW_OPENED is sent the
window peer is not guaranteed to be ready.
|
|
|