logist
Enum LogistSettings.ColorKey
java.lang.Object
java.lang.Enum<LogistSettings.ColorKey>
logist.LogistSettings.ColorKey
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LogistSettings.ColorKey>
- Enclosing class:
- LogistSettings
public static enum LogistSettings.ColorKey
- extends java.lang.Enum<LogistSettings.ColorKey>
A color stored as Color.
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BACKGROUND
public static final LogistSettings.ColorKey BACKGROUND
FOREGROUND
public static final LogistSettings.ColorKey FOREGROUND
CITY
public static final LogistSettings.ColorKey CITY
CITY_NAME
public static final LogistSettings.ColorKey CITY_NAME
CITY_CIRCUMFERENCE
public static final LogistSettings.ColorKey CITY_CIRCUMFERENCE
TASK_TEXT
public static final LogistSettings.ColorKey TASK_TEXT
TASK_PICKUP
public static final LogistSettings.ColorKey TASK_PICKUP
TASK_DELIVER
public static final LogistSettings.ColorKey TASK_DELIVER
TASK_INDICATOR
public static final LogistSettings.ColorKey TASK_INDICATOR
ROUTE
public static final LogistSettings.ColorKey ROUTE
values
public static LogistSettings.ColorKey[] 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 (LogistSettings.ColorKey c : LogistSettings.ColorKey.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LogistSettings.ColorKey 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 name
java.lang.NullPointerException - if the argument is null