abbot.tester
Class WindowTracker
java.lang.Object
|
+--abbot.tester.WindowTracker
- public class WindowTracker
- extends Object
Keep track of all known root windows, and all known showing/hidden/closed
windows.
Constructor Summary |
(package private) |
WindowTracker()
Create an instance of WindowTracker which will track all windows
coming and going on the current and subsequent app contexts. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowTracker
WindowTracker()
- 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, it will only ever see stuff in its
own app context.
getTracker
public static WindowTracker getTracker()
- Only ever want one of these.
isWindowReady
public boolean isWindowReady(Window w)
- Returns whether the window is ready to receive 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.
getRootWindows
public Set getRootWindows()
- 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.
Copyright © 2002-2003 Timothy Wall. All Rights Reserved.
Abbot is hosted on