JGraph X 1.10.4.0


com.mxgraph.io.graphml
Enum mxGraphMlKey.keyTypeValues

java.lang.Object
  extended by java.lang.Enum<mxGraphMlKey.keyTypeValues>
      extended by com.mxgraph.io.graphml.mxGraphMlKey.keyTypeValues
All Implemented Interfaces:
Serializable, Comparable<mxGraphMlKey.keyTypeValues>
Enclosing class:
mxGraphMlKey

public static enum mxGraphMlKey.keyTypeValues
extends Enum<mxGraphMlKey.keyTypeValues>

Possibles values for the keyType Attribute.


Enum Constant Summary
BOOLEAN
           
DOUBLE
           
FLOAT
           
INT
           
LONG
           
STRING
           
 
Method Summary
static mxGraphMlKey.keyTypeValues valueOf(String name)
          Returns the enum constant of this type with the specified name.
static mxGraphMlKey.keyTypeValues[] 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 mxGraphMlKey.keyTypeValues BOOLEAN

INT

public static final mxGraphMlKey.keyTypeValues INT

LONG

public static final mxGraphMlKey.keyTypeValues LONG

FLOAT

public static final mxGraphMlKey.keyTypeValues FLOAT

DOUBLE

public static final mxGraphMlKey.keyTypeValues DOUBLE

STRING

public static final mxGraphMlKey.keyTypeValues STRING
Method Detail

values

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

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

valueOf

public static mxGraphMlKey.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
NullPointerException - if the argument is null

JGraph X 1.10.4.0


Copyright (c) 2010 Gaudenz Alder. All rights reserved.