Package org.fest.swing.hierarchy

Examples of org.fest.swing.hierarchy.SingleComponentHierarchy


  @Before
  public final void setUp() {
    hierarchyDelegate = newComponentHierarchyMock();
    root = TestWindow.createNewWindow(getClass());
    hierarchy = new SingleComponentHierarchy(root, hierarchyDelegate);
    onSetUp();
  }
View Full Code Here


  public void printComponents(@Nonnull PrintStream out, @Nonnull ComponentMatcher matcher, @Nullable Container root) {
    print(hierarchy(root), checkNotNull(matcher), checkNotNull(out));
  }

  private @Nonnull ComponentHierarchy hierarchy(@Nullable Container root) {
    return root != null ? new SingleComponentHierarchy(root, hierarchy) : hierarchy;
  }
View Full Code Here

  private @Nonnull ComponentHierarchy hierarchy(@Nullable Container root) {
    if (root == null) {
      return hierarchy;
    }
    return new SingleComponentHierarchy(root, hierarchy);
  }
View Full Code Here

TOP

Related Classes of org.fest.swing.hierarchy.SingleComponentHierarchy

Copyright © 2018 www.massapicom. 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.