Package net.alpenblock.bungeeperms
Enum ChatColor
- java.lang.Object
-
- java.lang.Enum<ChatColor>
-
- net.alpenblock.bungeeperms.ChatColor
-
-
Field Summary
Fields Modifier and Type Field Description static char
COLOR_CHAR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
alt()
java.lang.String
str()
java.lang.String
toString()
static ChatColor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ChatColor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLACK
public static final ChatColor BLACK
-
DARK_BLUE
public static final ChatColor DARK_BLUE
-
DARK_GREEN
public static final ChatColor DARK_GREEN
-
DARK_AQUA
public static final ChatColor DARK_AQUA
-
DARK_RED
public static final ChatColor DARK_RED
-
DARK_PURPLE
public static final ChatColor DARK_PURPLE
-
GOLD
public static final ChatColor GOLD
-
GRAY
public static final ChatColor GRAY
-
DARK_GRAY
public static final ChatColor DARK_GRAY
-
BLUE
public static final ChatColor BLUE
-
GREEN
public static final ChatColor GREEN
-
AQUA
public static final ChatColor AQUA
-
RED
public static final ChatColor RED
-
LIGHT_PURPLE
public static final ChatColor LIGHT_PURPLE
-
YELLOW
public static final ChatColor YELLOW
-
WHITE
public static final ChatColor WHITE
-
MAGIC
public static final ChatColor MAGIC
-
BOLD
public static final ChatColor BOLD
-
STRIKETHROUGH
public static final ChatColor STRIKETHROUGH
-
UNDERLINE
public static final ChatColor UNDERLINE
-
ITALIC
public static final ChatColor ITALIC
-
RESET
public static final ChatColor RESET
-
-
Field Detail
-
COLOR_CHAR
public static final char COLOR_CHAR
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ChatColor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ChatColor c : ChatColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChatColor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
alt
public java.lang.String alt()
-
str
public java.lang.String str()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ChatColor>
-
-