Package org.fest.swing.core
Class FinderDelegate
java.lang.Object
org.fest.swing.core.FinderDelegate
Finds all the components in a
ComponentHierarchy that match the search criteria specified in a
ComponentMatcher.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Collection<Component>(package private) Collection<Component>private voidfind(ComponentHierarchy h, ComponentMatcher m, Component root, Set<Component> found) (package private) <T extends Component>
Collection<T>find(ComponentHierarchy h, GenericTypeMatcher<T> m) private <T extends Component>
voidfind(ComponentHierarchy h, GenericTypeMatcher<T> m, Component root, Set<T> found) private static booleanprivate static <T extends Component>
booleanisMatching(Component c, GenericTypeMatcher<T> m) private static Collection<? extends Component>
-
Constructor Details
-
FinderDelegate
FinderDelegate()
-
-
Method Details
-
find
-
find
@RunsInEDT private void find(ComponentHierarchy h, ComponentMatcher m, Component root, Set<Component> found) -
childrenOfComponent
@RunsInEDT private static Collection<Component> childrenOfComponent(Component c, ComponentHierarchy h) -
isMatching
-
find
-
rootsOf
-
find
@RunsInEDT private <T extends Component> void find(ComponentHierarchy h, GenericTypeMatcher<T> m, Component root, Set<T> found) -
isMatching
@RunsInEDT private static <T extends Component> boolean isMatching(Component c, GenericTypeMatcher<T> m)
-