Class SwingElementFinder
- java.lang.Object
-
- com.axway.ats.uiengine.elements.swing.SwingElementFinder
-
public class SwingElementFinder extends Object
This class is based onBasicComponentFinder, the only difference is that we are not usingLinkedHashSetfor the founded components, butArrayListand every time the component index is the same (in the component hierarchy tree), and we are able to search by index.
-
-
Constructor Summary
Constructors Constructor Description SwingElementFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Component>
Tfind(org.fest.swing.core.Robot robot, Container root, org.fest.swing.core.GenericTypeMatcher<T> m)static List<Component>find(org.fest.swing.hierarchy.ComponentHierarchy hierarchy, Container root, org.fest.swing.core.GenericTypeMatcher<Component> m)static org.fest.swing.fixture.JMenuItemFixturemenuItemWithPath(org.fest.swing.core.Robot robot, Container root, String... path)
-
-
-
Method Detail
-
find
public static <T extends Component> T find(org.fest.swing.core.Robot robot, Container root, org.fest.swing.core.GenericTypeMatcher<T> m)
-
find
public static List<Component> find(org.fest.swing.hierarchy.ComponentHierarchy hierarchy, Container root, org.fest.swing.core.GenericTypeMatcher<Component> m)
-
-