public class FormattingCode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static FormattingCode |
BLACK |
static FormattingCode |
DARK_GRAY |
static FormattingCode[] |
DEFAULT_CODES |
static FormattingCode |
GRAY |
static FormattingCode |
GREEN |
static FormattingCode |
LIGHT_GRAY |
static FormattingCode |
MAGENTA |
static FormattingCode |
NONE |
static FormattingCode |
ORANGE |
static FormattingCode |
PINK |
static FormattingCode |
RED |
static FormattingCode |
WHITE |
static FormattingCode |
YELLOW |
| Constructor and Description |
|---|
FormattingCode(char format,
org.newdawn.slick.Color color,
int length) |
FormattingCode(char format,
org.newdawn.slick.Color color,
int length,
java.lang.String strg) |
| Modifier and Type | Method and Description |
|---|---|
org.newdawn.slick.Color |
getColor() |
static FormattingCode |
getFormat(java.lang.String s,
int index) |
int |
getLength() |
static org.newdawn.slick.Color |
getWheelColor(float pos) |
java.lang.String |
toString() |
public static final FormattingCode NONE
public static final FormattingCode BLACK
public static final FormattingCode DARK_GRAY
public static final FormattingCode GRAY
public static final FormattingCode LIGHT_GRAY
public static final FormattingCode WHITE
public static final FormattingCode YELLOW
public static final FormattingCode ORANGE
public static final FormattingCode RED
public static final FormattingCode PINK
public static final FormattingCode MAGENTA
public static final FormattingCode GREEN
public static final FormattingCode[] DEFAULT_CODES
public FormattingCode(char format,
org.newdawn.slick.Color color,
int length)
public FormattingCode(char format,
org.newdawn.slick.Color color,
int length,
java.lang.String strg)
public static FormattingCode getFormat(java.lang.String s, int index)
public static org.newdawn.slick.Color getWheelColor(float pos)
public org.newdawn.slick.Color getColor()
public int getLength()
public java.lang.String toString()
toString in class java.lang.Object