de.cau.cs.kieler.kiml
Enum LayoutOptionData.Type

java.lang.Object
  extended by java.lang.Enum<LayoutOptionData.Type>
      extended by de.cau.cs.kieler.kiml.LayoutOptionData.Type
All Implemented Interfaces:
Comparable<LayoutOptionData.Type>
Enclosing class:
LayoutOptionData<T>

public static enum LayoutOptionData.Type
extends Enum<LayoutOptionData.Type>

data type enumeration.

Rating red

Enum Constant Summary
BOOLEAN
          boolean type.
ENUM
          enumeration type.
FLOAT
          float type.
INT
          integer type.
OBJECT
          IDataObject type.
REMOTE_ENUM
          remote enumeration type.
STRING
          string type.
UNDEFINED
          undefined type.
 
Method Summary
 String literal()
          Returns a user-friendly literal for the enumeration value.
static LayoutOptionData.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LayoutOptionData.Type[] 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

UNDEFINED

public static final LayoutOptionData.Type UNDEFINED
undefined type.


BOOLEAN

public static final LayoutOptionData.Type BOOLEAN
boolean type.


INT

public static final LayoutOptionData.Type INT
integer type.


STRING

public static final LayoutOptionData.Type STRING
string type.


FLOAT

public static final LayoutOptionData.Type FLOAT
float type.


ENUM

public static final LayoutOptionData.Type ENUM
enumeration type.


OBJECT

public static final LayoutOptionData.Type OBJECT
IDataObject type.


REMOTE_ENUM

public static final LayoutOptionData.Type REMOTE_ENUM
remote enumeration type.

Method Detail

values

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

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

valueOf

public static LayoutOptionData.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

literal

public String literal()
Returns a user-friendly literal for the enumeration value.

Returns:
a literal