| java.lang.Object abbot.finder.AWTHierarchy
All known Subclasses: abbot.finder.TestHierarchy,
AWTHierarchy | public class AWTHierarchy implements Hierarchy(Code) | | Provides access to the current AWT hierarchy.
|
contains | public boolean contains(Component c)(Code) | | Returns whether the given component is reachable from any of the root
windows. The default is to consider all components to be contained in
the hierarchy, whether they are reachable or not (NOTE: isReachable is
a distinctly different operation).
|
dispose | public void dispose(Window w)(Code) | | Properly dispose of the given Window, making it and its native
resources available for garbage collection.
|
getComponents | public Collection getComponents(Component c)(Code) | | Return all descendents of interest of the given Component.
This includes owned windows for Windows, children for Containers.
|
getDefault | public static Hierarchy getDefault()(Code) | | Obtain a default Hierarchy. This method is provided only to support
the deprecated ComponentTester.assertFrameShowing() method.
|
getRoots | public Collection getRoots()(Code) | | Return all root components in the current AWT hierarchy.
|
setDefault | public static void setDefault(Hierarchy h)(Code) | | Set the default Hierarchy. This method is provided only to support
the deprecated ComponentTester.assertFrameShowing() method.
|
|
|