@OpenApiAll public class RichTextBuilder<T extends RichTextBuilder> extends AbstractTextBuilder<T>
Constructor and Description |
---|
RichTextBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
compress(int textLength)
Compress current text to the given length.
|
protected java.lang.String |
toAppendableText(java.lang.String text) |
java.lang.String |
toPlainText() |
append, appendColor, appendToText, isTextAdded, prepend, prependColor, prependToText, replaceText, setText, textLength, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
append, appendWithNoWrap, isColorSupported, isPlainTextEmpty, prepend, prependWithNoWrap, setColor, setText
public void compress(int textLength)
TextBuilder
textLength
- text lengthprotected java.lang.String toAppendableText(java.lang.String text)
toAppendableText
in class AbstractTextBuilder<T extends RichTextBuilder>
public java.lang.String toPlainText()