Interface ComponentMatcher

All Known Subinterfaces:
ResettableComponentMatcher
All Known Implementing Classes:
AbstractComponentMatcher, DialogMatcher, FrameMatcher, GenericTypeMatcher, JButtonMatcher, JLabelMatcher, JMenuItemMatcher, JTextComponentMatcher, LabelMatcher, NamedComponentMatcherTemplate, NameMatcher, TypeMatcher

public interface ComponentMatcher
Understands whether a Component matches some desired criteria.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Verifies that the given Component matches some lookup criteria.
  • Method Details

    • matches

      boolean matches(Component c)
      Verifies that the given Component matches some lookup criteria.
      Parameters:
      c - the Component to verify.
      Returns:
      true if the given Component matches some lookup criteria, otherwise false.