logist
Enum LogistSettings.ColorKey

java.lang.Object
  extended by java.lang.Enum<LogistSettings.ColorKey>
      extended by 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.


Enum Constant Summary
BACKGROUND
           
CITY
           
CITY_CIRCUMFERENCE
           
CITY_NAME
           
FOREGROUND
           
ROUTE
           
TASK_DELIVER
           
TASK_INDICATOR
           
TASK_PICKUP
           
TASK_TEXT
           
 
Method Summary
static LogistSettings.ColorKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LogistSettings.ColorKey[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

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
Method Detail

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