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