abbot.finder.matchers
Class NameMatcher

java.lang.Object
  extended byabbot.finder.matchers.AbstractMatcher
      extended byabbot.finder.matchers.NameMatcher
All Implemented Interfaces:
Matcher

public class NameMatcher
extends AbstractMatcher

Provides matching of Components by component name.


Constructor Summary
NameMatcher(String name)
           
 
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

NameMatcher

public NameMatcher(String name)
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-2004 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge