- java.lang.Object
-
- squidpony.panel.IColoredString.Bucket<T>
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
protected T |
color |
protected java.lang.String |
text |
-
Constructor Summary
Constructors
Constructor and Description |
Bucket(java.lang.String text,
T color) |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
Field Detail
-
color
protected final T color
-
Method Detail
-
length
public int length()
-
getColor
public T getColor()
- Returns:
- The color of
getText()
. Or null
if none.
Copyright © Eben Howard 2012–2022. All rights reserved.