org.graphstream.stream.file
Enum FileSourceGEXF.GEXFConstants.NodeShapeType

java.lang.Object
  extended by java.lang.Enum<FileSourceGEXF.GEXFConstants.NodeShapeType>
      extended by org.graphstream.stream.file.FileSourceGEXF.GEXFConstants.NodeShapeType
All Implemented Interfaces:
Serializable, Comparable<FileSourceGEXF.GEXFConstants.NodeShapeType>
Enclosing interface:
FileSourceGEXF.GEXFConstants

public static enum FileSourceGEXF.GEXFConstants.NodeShapeType
extends Enum<FileSourceGEXF.GEXFConstants.NodeShapeType>


Enum Constant Summary
DIAMOND
           
DISC
           
IMAGE
           
SQUARE
           
TRIANGLE
           
 
Method Summary
static FileSourceGEXF.GEXFConstants.NodeShapeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FileSourceGEXF.GEXFConstants.NodeShapeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DISC

public static final FileSourceGEXF.GEXFConstants.NodeShapeType DISC

SQUARE

public static final FileSourceGEXF.GEXFConstants.NodeShapeType SQUARE

TRIANGLE

public static final FileSourceGEXF.GEXFConstants.NodeShapeType TRIANGLE

DIAMOND

public static final FileSourceGEXF.GEXFConstants.NodeShapeType DIAMOND

IMAGE

public static final FileSourceGEXF.GEXFConstants.NodeShapeType IMAGE
Method Detail

values

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

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

valueOf

public static FileSourceGEXF.GEXFConstants.NodeShapeType 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


Copyright © 2011. All Rights Reserved.