public class JListTextReader extends TextReader<JList>
JList
.Constructor and Description |
---|
JListTextReader() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkContainsText(JList list,
String text)
Indicates whether the text representation of any of the elements in the given
JList contains the given
text. |
Class<JList> |
supportedComponent() |
containsText
@Nonnull public Class<JList> supportedComponent()
supportedComponent
in class TextReader<JList>
JList.class
.@RunsInCurrentThread protected boolean checkContainsText(@Nonnull JList list, @Nonnull String text)
JList
contains the given
text.checkContainsText
in class TextReader<JList>
list
- the given JList
.text
- the given text.true
if the text representation of any of the elements the given JList
contains the given
text; false
otherwise.Copyright © 2014–2020 AssertJ. All rights reserved.