T
- The type of colors.@Beta public interface ICombinedPanel<T>
ICombinedPanel.Impl
that you
should use if you're combining generic things.
Group
based implementation that offers more
features and that you should likely use if you're a new user (in
squidlib-gdx).
Modifier and Type | Interface and Description |
---|---|
static class |
ICombinedPanel.Impl<T>
A generic implementation of
ICombinedPanel . |
static class |
ICombinedPanel.What
What to fill
|
Modifier and Type | Method and Description |
---|---|
void |
fill(ICombinedPanel.What what,
T color) |
boolean |
hasActiveAnimations() |
void |
put(int x,
int y,
char c,
T bgc,
T fgc)
Puts
c at (x, y), using fgc for c and bgc
for the background. |
void |
put(int x,
int y,
String s,
T bgc,
T fgc)
Put
cs at (x,y) using bgc for the background and
fgc for the foreground. |
void |
put(int x,
int y,
T bgc,
IColoredString<T> cs)
Put
cs at (x,y) using bgc for the background. |
void |
putBG(int x,
int y,
T color)
Puts the color
c at (x, y) . |
void |
putFG(int x,
int y,
char c)
Puts the character
c at (x, y) . |
void |
putFG(int x,
int y,
char c,
T color)
Puts the character
c at (x, y) with some color . |
void |
putFG(int x,
int y,
IColoredString<T> cs)
Puts the given string horizontally with the first character at the given
offset.
|
void |
putFG(int x,
int y,
String string,
T color)
Puts the given string horizontally with the first character at the given
offset.
|
void |
setColorCenter(IColorCenter<T> icc)
Changes the underlying
IColorCenter . |
void putFG(int x, int y, char c)
c
at (x, y)
.x
- y
- c
- void putFG(int x, int y, char c, T color)
c
at (x, y)
with some color
.x
- y
- c
- color
- void putFG(int x, int y, String string, T color)
x
- the x coordinate of the first charactery
- the y coordinate of the first characterstring
- the characters to be displayedcolor
- the color to draw the charactersvoid putFG(int x, int y, IColoredString<T> cs)
x
- the x coordinate of the first charactery
- the y coordinate of the first charactercs
- the text to be displayed, with its color.void put(int x, int y, char c, T bgc, T fgc)
c
at (x, y), using fgc
for c
and bgc
for the background.void put(int x, int y, T bgc, IColoredString<T> cs)
cs
at (x,y) using bgc
for the background.void put(int x, int y, String s, T bgc, T fgc)
cs
at (x,y) using bgc
for the background and
fgc
for the foreground.void fill(ICombinedPanel.What what, T color)
what
- What to fillcolor
- The color to put within this panel.boolean hasActiveAnimations()
void setColorCenter(IColorCenter<T> icc)
IColorCenter
.icc
- Copyright © 2012–2016. All rights reserved.