JGraph X 1.4.1.0


com.mxgraph.io.gml
Enum mxGmlKey.keyForValues

java.lang.Object
  extended by java.lang.Enum<mxGmlKey.keyForValues>
      extended by com.mxgraph.io.gml.mxGmlKey.keyForValues
All Implemented Interfaces:
Serializable, Comparable<mxGmlKey.keyForValues>
Enclosing class:
mxGmlKey

public static enum mxGmlKey.keyForValues
extends Enum<mxGmlKey.keyForValues>

Possibles values for the keyFor Attribute


Enum Constant Summary
ALL
           
EDGE
           
ENDPOINT
           
GRAPH
           
HYPEREDGE
           
NODE
           
PORT
           
 
Method Summary
static mxGmlKey.keyForValues valueOf(String name)
          Returns the enum constant of this type with the specified name.
static mxGmlKey.keyForValues[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GRAPH

public static final mxGmlKey.keyForValues GRAPH

NODE

public static final mxGmlKey.keyForValues NODE

EDGE

public static final mxGmlKey.keyForValues EDGE

HYPEREDGE

public static final mxGmlKey.keyForValues HYPEREDGE

PORT

public static final mxGmlKey.keyForValues PORT

ENDPOINT

public static final mxGmlKey.keyForValues ENDPOINT

ALL

public static final mxGmlKey.keyForValues ALL
Method Detail

values

public static final mxGmlKey.keyForValues[] 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.keyForValues c : mxGmlKey.keyForValues.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.keyForValues 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

JGraph X 1.4.1.0


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