|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JButtonMatcher | |
|---|---|
| org.fest.swing.core.matcher |
Common implementations of . |
| Uses of JButtonMatcher in org.fest.swing.core.matcher |
|---|
| Methods in org.fest.swing.core.matcher that return JButtonMatcher | |
|---|---|
JButtonMatcher |
JButtonMatcher.andShowing()
Indicates that the to match should be showing on the screen. |
JButtonMatcher |
JButtonMatcher.andText(Pattern textPattern)
Specifies the text to match. |
JButtonMatcher |
JButtonMatcher.andText(String newText)
Specifies the text to match. |
static JButtonMatcher |
JButtonMatcher.any()
Creates a new that matches any . |
static JButtonMatcher |
JButtonMatcher.withName(String name)
Creates a new that matches a that:
has a matching name
(optionally) has matching text
(optionally) is showing on the screen
The following code listing shows how to match a by name and text:
JButtonMatcher m = withName("ok"). |
static JButtonMatcher |
JButtonMatcher.withText(Pattern textPattern)
Creates a new that matches a by its text. |
static JButtonMatcher |
JButtonMatcher.withText(String text)
Creates a new that matches a by its text. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||