@Environment(value=CLIENT) static class TextHandler.LineWrappingCollector extends Object
Modifier and Type | Field and Description |
---|---|
private String |
joined |
private List<TextHandler.StyledString> |
parts |
Constructor and Description |
---|
LineWrappingCollector(List<TextHandler.StyledString> parts) |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
StringVisitable |
collectLine(int lineLength,
int skippedLength,
Style style) |
StringVisitable |
collectRemainers() |
private final List<TextHandler.StyledString> parts
private String joined
public LineWrappingCollector(List<TextHandler.StyledString> parts)
public char charAt(int index)
public StringVisitable collectLine(int lineLength, int skippedLength, Style style)
@Nullable public StringVisitable collectRemainers()