T
- The type of colors;public static class IColoredString.Bucket<T> extends Object
IColoredString
: a text and its color.Modifier and Type | Field and Description |
---|---|
protected T |
color |
protected String |
text |
Modifier and Type | Method and Description |
---|---|
IColoredString.Bucket<T> |
append(String text) |
T |
getColor() |
String |
getText() |
IColoredString.Bucket<T> |
setLength(int l) |
String |
toString() |
public IColoredString.Bucket<T> append(String text)
text
- this.text + text
. Color is
unchanged.public IColoredString.Bucket<T> setLength(int l)
Copyright © 2012–2016. All rights reserved.