Package | Description |
---|---|
squidpony |
Utilities that don't fit elsewhere in SquidLib, like text manipulation, some interfaces, and compatibility code.
|
squidpony.panel |
Interfaces for panels in GUIs/TUIs; these do not depend on any particular implementation of a color type.
|
Modifier and Type | Method and Description |
---|---|
IColoredString<T> |
IColorCenter.filter(IColoredString<T> ics) |
IColoredString<T> |
IColorCenter.Skeleton.filter(IColoredString<T> ics) |
Modifier and Type | Method and Description |
---|---|
void |
ColoredStringList.addText(IColoredString<T> text)
Appends
text to this . |
void |
ColoredStringList.addTextOnNewLine(IColoredString<T> text) |
IColoredString<T> |
IColorCenter.filter(IColoredString<T> ics) |
IColoredString<T> |
IColorCenter.Skeleton.filter(IColoredString<T> ics) |
Modifier and Type | Method and Description |
---|---|
void |
ColoredStringList.addAllText(Collection<? extends IColoredString<T>> texts)
Contrary to
Collection.addAll(Collection) , this method appends
text to the current text, without inserting new lines. |
void |
ColoredStringList.addOnNewLine(Collection<? extends IColoredString<T>> texts)
Adds
texts to this , starting a new line for the first
one. |
Modifier and Type | Class and Description |
---|---|
static class |
IColoredString.Impl<T>
A basic implementation of
IColoredString . |
Modifier and Type | Method and Description |
---|---|
IColoredString<T> |
IColoredString.justify(int width)
This method does NOT guarantee that the result's length is
width . |
IColoredString<T> |
IColoredString.Impl.justify(int width) |
Modifier and Type | Method and Description |
---|---|
List<IColoredString<T>> |
IColoredString.wrap(int width) |
List<IColoredString<T>> |
IColoredString.Impl.wrap(int width) |
Modifier and Type | Method and Description |
---|---|
void |
IColoredString.append(IColoredString<T> other)
Mutates
this by appending other to it. |
void |
IColoredString.Impl.append(IColoredString<T> other) |
void |
ISquidPanel.put(int xOffset,
int yOffset,
IColoredString<? extends T> cs)
Puts the given string horizontally with the first character at the given
offset, using the colors that
cs provides. |
void |
ICombinedPanel.put(int x,
int y,
T bgc,
IColoredString<T> cs)
Put
cs at (x,y) using bgc for the background. |
void |
ICombinedPanel.Impl.put(int x,
int y,
T bgc,
IColoredString<T> cs) |
void |
ICombinedPanel.putFG(int x,
int y,
IColoredString<T> cs)
Puts the given string horizontally with the first character at the given
offset.
|
void |
ICombinedPanel.Impl.putFG(int x,
int y,
IColoredString<T> cs) |
Copyright © 2012–2016. All rights reserved.