public interface TextRepresentable extends TextElement
| Modifier and Type | Method and Description |
|---|---|
default void |
applyTo(Text.Builder builder)
Applies this element to the end of the specified builder.
|
Text |
toText()
Gets the textual representation of this instance for its usage in other
Text objects. |
Text toText()
Text objects. This may but does not need to include
hover texts or other actions. This
method is basically the toString() equivalent
for Texts.default void applyTo(Text.Builder builder)
TextElementapplyTo in interface TextElementbuilder - Text builder to apply to