public class NameMatcher extends AbstractMatcher
Constructor and Description |
---|
NameMatcher(String name)
Construct a matcher that will match any component that has
explicitly been assigned the given
name . |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Component c)
Return whether the given Component matches some lookup criteria.
|
String |
toString() |
stringsMatch
public NameMatcher(String name)
name
. Auto-generated
names (e.g. win0
, frame3
, etc. for AWT
(native) based components will not match.public boolean matches(Component c)
Matcher
public String toString()
toString
in class AbstractMatcher
Abbot is hosted on