org.fest.swing.core
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.

Author:
Alex Ruiz

Method Summary
 boolean matches(Component c)
          Verifies that the given Component matches some lookup criteria.
 

Method Detail

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.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.