rails.util
Enum ConfigItem.ConfigType
java.lang.Object
java.lang.Enum<ConfigItem.ConfigType>
rails.util.ConfigItem.ConfigType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ConfigItem.ConfigType>
- Enclosing class:
- ConfigItem
public static enum ConfigItem.ConfigType
- extends java.lang.Enum<ConfigItem.ConfigType>
Defines possible types (Java classes used as types in ConfigItem below
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
BOOLEAN
public static final ConfigItem.ConfigType BOOLEAN
INTEGER
public static final ConfigItem.ConfigType INTEGER
PERCENT
public static final ConfigItem.ConfigType PERCENT
STRING
public static final ConfigItem.ConfigType STRING
LIST
public static final ConfigItem.ConfigType LIST
FONT
public static final ConfigItem.ConfigType FONT
DIRECTORY
public static final ConfigItem.ConfigType DIRECTORY
FILE
public static final ConfigItem.ConfigType FILE
COLOR
public static final ConfigItem.ConfigType COLOR
values
public static ConfigItem.ConfigType[] 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 (ConfigItem.ConfigType c : ConfigItem.ConfigType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConfigItem.ConfigType 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