public static enum GLogger.Criticity extends Enum<GLogger.Criticity>
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Get the color associated with the enum.
|
static int[] |
getIntArray()
Get the array containing all the enum items as ints.
|
static String[] |
getStringArray()
Get the array containing all the enum items as strings.
|
String |
toString() |
static GLogger.Criticity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GLogger.Criticity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GLogger.Criticity ERROR
public static final GLogger.Criticity WARN
public static final GLogger.Criticity INFO
public static GLogger.Criticity[] values()
for (GLogger.Criticity c : GLogger.Criticity.values()) System.out.println(c);
public static GLogger.Criticity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static String[] getStringArray()
public static int[] getIntArray()
public String toString()
toString
in class Enum<GLogger.Criticity>
public Color getColor()
Copyright © 2024. All rights reserved.