com.mxgraph.io.gml
Enum mxGmlKey.keyTypeValues
java.lang.Object
java.lang.Enum<mxGmlKey.keyTypeValues>
com.mxgraph.io.gml.mxGmlKey.keyTypeValues
- All Implemented Interfaces:
- Serializable, Comparable<mxGmlKey.keyTypeValues>
- Enclosing class:
- mxGmlKey
public static enum mxGmlKey.keyTypeValues
- extends Enum<mxGmlKey.keyTypeValues>
Possibles values for the keyType Attribute.
BOOLEAN
public static final mxGmlKey.keyTypeValues BOOLEAN
INT
public static final mxGmlKey.keyTypeValues INT
LONG
public static final mxGmlKey.keyTypeValues LONG
FLOAT
public static final mxGmlKey.keyTypeValues FLOAT
DOUBLE
public static final mxGmlKey.keyTypeValues DOUBLE
STRING
public static final mxGmlKey.keyTypeValues STRING
values
public static final mxGmlKey.keyTypeValues[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(mxGmlKey.keyTypeValues c : mxGmlKey.keyTypeValues.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static mxGmlKey.keyTypeValues 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
Copyright (c) 2010 Gaudenz Alder. All rights reserved.