public class NameMatcher extends AbstractMatcher
| Constructor and Description |
|---|
NameMatcher(java.lang.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(java.awt.Component c)
Return whether the given Component matches some lookup criteria.
|
java.lang.String |
toString() |
stringsMatchpublic NameMatcher(java.lang.String name)
name. Auto-generated
names (e.g. win0, frame3, etc. for AWT
(native) based components will not match.public boolean matches(java.awt.Component c)
Matcherpublic java.lang.String toString()
toString in class AbstractMatcher
Abbot is hosted on