jerklib.util
Class Colors

java.lang.Object
  extended by jerklib.util.Colors

public final class Colors
extends Object

To use: channel.say(Colors.BLUE + "HELLLLO");
Will say hello in blue

Author:
mohadib

Field Summary
static String BLACK
          Black colored text.
static String BLUE
          Blue colored text.
static String BOLD
          Bold text.
static String BROWN
          Brown colored text.
static String CYAN
          Cyan colored text.
static String DARK_BLUE
          Dark blue colored text.
static String DARK_GRAY
          Dark gray colored text.
static String DARK_GREEN
          Dark green colored text.
static String GREEN
          Green colored text.
static String LIGHT_GRAY
          Light gray colored text.
static String MAGENTA
          Magenta colored text.
static String NORMAL
          Removes all applied color and formatting
static String OLIVE
          Olive colored text.
static String PURPLE
          Purple colored text.
static String RED
          Red colored text.
static String REVERSE
          Reversed text
static String TEAL
          Teal colored text.
static String UNDERLINE
          Underlined text
static String WHITE
          White colored text.
static String YELLOW
          Yellow colored text.
 
Constructor Summary
Colors()
           
 
Method Summary
static List<String> getColorsList()
          Returns the list of all available colors.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORMAL

public static final String NORMAL
Removes all applied color and formatting

See Also:
Constant Field Values

BOLD

public static final String BOLD
Bold text.

See Also:
Constant Field Values

UNDERLINE

public static final String UNDERLINE
Underlined text

See Also:
Constant Field Values

REVERSE

public static final String REVERSE
Reversed text

See Also:
Constant Field Values

WHITE

public static final String WHITE
White colored text.

See Also:
Constant Field Values

BLACK

public static final String BLACK
Black colored text.

See Also:
Constant Field Values

DARK_BLUE

public static final String DARK_BLUE
Dark blue colored text.

See Also:
Constant Field Values

DARK_GREEN

public static final String DARK_GREEN
Dark green colored text.

See Also:
Constant Field Values

RED

public static final String RED
Red colored text.

See Also:
Constant Field Values

BROWN

public static final String BROWN
Brown colored text.

See Also:
Constant Field Values

PURPLE

public static final String PURPLE
Purple colored text.

See Also:
Constant Field Values

OLIVE

public static final String OLIVE
Olive colored text.

See Also:
Constant Field Values

YELLOW

public static final String YELLOW
Yellow colored text.

See Also:
Constant Field Values

GREEN

public static final String GREEN
Green colored text.

See Also:
Constant Field Values

TEAL

public static final String TEAL
Teal colored text.

See Also:
Constant Field Values

CYAN

public static final String CYAN
Cyan colored text.

See Also:
Constant Field Values

BLUE

public static final String BLUE
Blue colored text.

See Also:
Constant Field Values

MAGENTA

public static final String MAGENTA
Magenta colored text.

See Also:
Constant Field Values

DARK_GRAY

public static final String DARK_GRAY
Dark gray colored text.

See Also:
Constant Field Values

LIGHT_GRAY

public static final String LIGHT_GRAY
Light gray colored text.

See Also:
Constant Field Values
Constructor Detail

Colors

public Colors()
Method Detail

getColorsList

public static List<String> getColorsList()
Returns the list of all available colors.

Returns:
a list of all colors available