abbot.finder.matchers
Class ClassMatcher

java.lang.Object
  extended by abbot.finder.matchers.AbstractMatcher
      extended by abbot.finder.matchers.ClassMatcher
All Implemented Interfaces:
Matcher
Direct Known Subclasses:
WindowMatcher

public class ClassMatcher
extends AbstractMatcher

Provides matching of components by class.


Constructor Summary
ClassMatcher(Class cls)
           
ClassMatcher(Class cls, boolean mustBeShowing)
           
 
Method Summary
 boolean matches(Component c)
          Return whether the given Component matches some lookup criteria.
 String toString()
           
 
Methods inherited from class abbot.finder.matchers.AbstractMatcher
stringsMatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassMatcher

public ClassMatcher(Class cls)

ClassMatcher

public ClassMatcher(Class cls,
                    boolean mustBeShowing)
Method Detail

matches

public boolean matches(Component c)
Description copied from interface: Matcher
Return whether the given Component matches some lookup criteria.


toString

public String toString()
Overrides:
toString in class AbstractMatcher


Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge