Package | Description |
---|---|
org.assertj.swing.core.matcher |
Common-use implementations of
GenericTypeMatcher . |
Modifier and Type | Method and Description |
---|---|
JButtonMatcher |
JButtonMatcher.andShowing()
Indicates that the
JButton 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
JButtonMatcher that matches any JButton . |
static JButtonMatcher |
JButtonMatcher.withName(String name)
Creates a new
JButtonMatcher that matches a JButton by name: |
static JButtonMatcher |
JButtonMatcher.withText(Pattern pattern)
Creates a new
JButtonMatcher that matches a JButton by text. |
static JButtonMatcher |
JButtonMatcher.withText(String text)
Creates a new
JButtonMatcher that matches a JButton by text. |
Copyright © 2014–2019 AssertJ. All rights reserved.