Uses of Interface
squidpony.panel.IColoredString
Package | Description |
---|---|
squidpony |
Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code.
|
squidpony.panel |
Interfaces for panels in GUIs/TUIs; these do not depend on any particular implementation of a color type.
|
-
Uses of IColoredString in squidpony
Methods in squidpony that return IColoredString Modifier and Type Method Description IColoredString<T>
IColorCenter. filter(IColoredString<T> ics)
IColoredString<T>
IColorCenter.Skeleton. filter(IColoredString<T> ics)
Methods in squidpony with parameters of type IColoredString Modifier and Type Method Description void
ColoredStringList. addText(IColoredString<T> text)
Appendstext
tothis
.void
ColoredStringList. addTextOnNewLine(IColoredString<T> text)
IColoredString<T>
IColorCenter. filter(IColoredString<T> ics)
IColoredString<T>
IColorCenter.Skeleton. filter(IColoredString<T> ics)
Method parameters in squidpony with type arguments of type IColoredString Modifier and Type Method Description void
ColoredStringList. addAllText(Collection<? extends IColoredString<T>> texts)
Contrary toCollection.addAll(Collection)
, this method appends text to the current text, without inserting new lines.void
ColoredStringList. addOnNewLine(Collection<? extends IColoredString<T>> texts)
Addstexts
tothis
, starting a new line for the first one. -
Uses of IColoredString in squidpony.panel
Classes in squidpony.panel that implement IColoredString Modifier and Type Class Description static class
IColoredString.Impl<T>
A basic implementation ofIColoredString
.Methods in squidpony.panel that return IColoredString Modifier and Type Method Description IColoredString<T>
IColoredString.Impl. justify(int width)
IColoredString<T>
IColoredString. justify(int width)
This method does NOT guarantee that the result's length iswidth
.Methods in squidpony.panel that return types with arguments of type IColoredString Modifier and Type Method Description List<IColoredString<T>>
IColoredString.Impl. wrap(int width)
List<IColoredString<T>>
IColoredString.Impl. wrap(int width, List<IColoredString<T>> buf)
List<IColoredString<T>>
IColoredString. wrap(int width)
List<IColoredString<T>>
IColoredString. wrap(int width, List<IColoredString<T>> buf)
Methods in squidpony.panel with parameters of type IColoredString Modifier and Type Method Description void
IColoredString. append(IColoredString<T> other)
Mutatesthis
by appendingother
to it.void
IColoredString.Impl. append(IColoredString<T> other)
static <T> IColoredString.Impl<T>
IColoredString.Impl. clone(IColoredString<T> toClone)
static <T> boolean
IColoredString.Impl. equals(IColoredString<T> one, IColoredString<T> two)
Method parameters in squidpony.panel with type arguments of type IColoredString Modifier and Type Method Description List<IColoredString<T>>
IColoredString.Impl. wrap(int width, List<IColoredString<T>> buf)
List<IColoredString<T>>
IColoredString. wrap(int width, List<IColoredString<T>> buf)