Examples of ExistingHierarchy


Examples of org.fest.swing.hierarchy.ExistingHierarchy

*
* @author Alex Ruiz
*/
class HierarchyRootsSource {
  @Nonnull Container[] existingHierarchyRoots() {
    Collection<? extends Container> roots = new ExistingHierarchy().roots();
    return roots.toArray(new Container[roots.size()]);
  }
View Full Code Here

Examples of org.fest.swing.hierarchy.ExistingHierarchy

   *
   * @return the created {@code Robot}.
   */
  public static @Nonnull Robot robotWithCurrentAwtHierarchy() {
    Object screenLockOwner = acquireScreenLock();
    return new BasicRobot(screenLockOwner, new ExistingHierarchy());
  }
View Full Code Here

Examples of org.fest.swing.hierarchy.ExistingHierarchy

    return new BasicRobot(screenLockOwner, new ExistingHierarchy());
  }

  // TODO document
  public static @Nonnull Robot robotWithCurrentAwtHierarchyWithoutScreenLock() {
    return new BasicRobot(null, new ExistingHierarchy());
  }
View Full Code Here

Examples of org.fest.swing.hierarchy.ExistingHierarchy

   * hierarchy.
   *
   * @return the created printer.
   */
  public static @Nonnull ComponentPrinter printerWithCurrentAwtHierarchy() {
    return new BasicComponentPrinter(new ExistingHierarchy());
  }
View Full Code Here

Examples of org.fest.swing.hierarchy.ExistingHierarchy

   * hierarchy.
   *
   * @return the created finder.
   */
  public static @Nonnull ComponentFinder finderWithCurrentAwtHierarchy() {
    return new BasicComponentFinder(new ExistingHierarchy());
  }
View Full Code Here

Examples of org.fest.swing.hierarchy.ExistingHierarchy

   * Creates a new <code>{@link Robot}</code> that has access to all the GUI components in the AWT hierarchy.
   * @return the created <code>Robot</code>.
   */
  public static Robot robotWithCurrentAwtHierarchy() {
    Object screenLockOwner = acquireScreenLock();
    return new BasicRobot(screenLockOwner, new ExistingHierarchy());
  }
View Full Code Here

Examples of org.fest.swing.hierarchy.ExistingHierarchy

* @author Alex Ruiz
*/
class HierarchyRootsSource {

  Container[] existingHierarchyRoots() {
    Collection<? extends Container> roots = new ExistingHierarchy().roots();
    return roots.toArray(new Container[roots.size()]);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.