net.ctdp.rfdynhud.properties
Enum PropertyEditorType

java.lang.Object
  extended by java.lang.Enum<PropertyEditorType>
      extended by net.ctdp.rfdynhud.properties.PropertyEditorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PropertyEditorType>

public enum PropertyEditorType
extends java.lang.Enum<PropertyEditorType>

The PropertyEditorType indicates the kind of editor to be used for the Property.

Author:
Marvin Froehlich (CTDP)

Enum Constant Summary
ARRAY
           
BACKGROUND
           
BOOLEAN
           
BORDER
           
COLOR
           
ENUM
           
FILENAME
           
FLOAT
           
FONT
           
IMAGE
           
INTEGER
           
LIST
           
POS_SIZE
           
STRING
           
TIME
           
 
Method Summary
static PropertyEditorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PropertyEditorType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

BOOLEAN

public static final PropertyEditorType BOOLEAN

INTEGER

public static final PropertyEditorType INTEGER

FLOAT

public static final PropertyEditorType FLOAT

STRING

public static final PropertyEditorType STRING

FILENAME

public static final PropertyEditorType FILENAME

TIME

public static final PropertyEditorType TIME

POS_SIZE

public static final PropertyEditorType POS_SIZE

ENUM

public static final PropertyEditorType ENUM

ARRAY

public static final PropertyEditorType ARRAY

LIST

public static final PropertyEditorType LIST

FONT

public static final PropertyEditorType FONT

COLOR

public static final PropertyEditorType COLOR

IMAGE

public static final PropertyEditorType IMAGE

BORDER

public static final PropertyEditorType BORDER

BACKGROUND

public static final PropertyEditorType BACKGROUND
Method Detail

values

public static PropertyEditorType[] 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 (PropertyEditorType c : PropertyEditorType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PropertyEditorType 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