public class AbstractButtonTextReader extends TextReader<AbstractButton>
AbstractButton
.Constructor and Description |
---|
AbstractButtonTextReader() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkContainsText(AbstractButton button,
String text)
Indicates whether the given Swing
AbstractButton displays the given text. |
Class<AbstractButton> |
supportedComponent() |
containsText
@Nonnull public Class<AbstractButton> supportedComponent()
supportedComponent
in class TextReader<AbstractButton>
AbstractButton.class
.@RunsInCurrentThread protected boolean checkContainsText(@Nonnull AbstractButton button, @Nonnull String text)
AbstractButton
displays the given text.checkContainsText
in class TextReader<AbstractButton>
button
- the given AbstractButton
.text
- the given text.true
if the given AbstractButton
displays the given text; false
otherwise.Copyright © 2014–2019 AssertJ. All rights reserved.