public class SwingElementFinder extends Object
BasicComponentFinder,
the only difference is that we are not using LinkedHashSet for the founded components,
but ArrayList and every time the component index is the same (in the component hierarchy tree),
and we are able to search by index.| Constructor and Description |
|---|
SwingElementFinder() |
| Modifier and Type | Method and Description |
|---|---|
static List<Component> |
find(org.fest.swing.hierarchy.ComponentHierarchy hierarchy,
Container root,
org.fest.swing.core.GenericTypeMatcher<Component> m) |
static <T extends Component> |
find(org.fest.swing.core.Robot robot,
Container root,
org.fest.swing.core.GenericTypeMatcher<T> m) |
static org.fest.swing.fixture.JMenuItemFixture |
menuItemWithPath(org.fest.swing.core.Robot robot,
Container root,
String... path) |
public static <T extends Component> T find(org.fest.swing.core.Robot robot, Container root, org.fest.swing.core.GenericTypeMatcher<T> m)
public static List<Component> find(org.fest.swing.hierarchy.ComponentHierarchy hierarchy, Container root, org.fest.swing.core.GenericTypeMatcher<Component> m)
Copyright © 2017 Axway Software. All rights reserved.