public final class ConvertedLine extends Object
Modifier and Type | Method and Description |
---|---|
static ConvertedLine |
forText(String text,
OutputListener listener)
Returns the converted line presenting the given text and with the given
listener registered when it is diplayed.
|
OutputListener |
getListener()
Returns the corresponding listener for actions taken on the line
or
null . |
String |
getText()
Returns the text to display.
|
@NonNull public static ConvertedLine forText(@NonNull String text, @NullAllowed OutputListener listener)
text
- line textlistener
- line listener to register, may be null
@CheckForNull public OutputListener getListener()
null
.null