org.graphstream.boids
Enum BoidGraph.Parameter

java.lang.Object
  extended by java.lang.Enum<BoidGraph.Parameter>
      extended by org.graphstream.boids.BoidGraph.Parameter
All Implemented Interfaces:
Serializable, Comparable<BoidGraph.Parameter>
Enclosing class:
BoidGraph

public static enum BoidGraph.Parameter
extends Enum<BoidGraph.Parameter>


Enum Constant Summary
AREA
           
FORCES_FACTORY
           
MAX_STEPS
           
NORMALIZE_MODE
           
RANDOM_SEED
           
SLEEP_TIME
           
STORE_FORCES_ATTRIBUTES
           
 
Method Summary
static BoidGraph.Parameter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BoidGraph.Parameter[] 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

MAX_STEPS

public static final BoidGraph.Parameter MAX_STEPS

AREA

public static final BoidGraph.Parameter AREA

SLEEP_TIME

public static final BoidGraph.Parameter SLEEP_TIME

STORE_FORCES_ATTRIBUTES

public static final BoidGraph.Parameter STORE_FORCES_ATTRIBUTES

NORMALIZE_MODE

public static final BoidGraph.Parameter NORMALIZE_MODE

RANDOM_SEED

public static final BoidGraph.Parameter RANDOM_SEED

FORCES_FACTORY

public static final BoidGraph.Parameter FORCES_FACTORY
Method Detail

values

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

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

valueOf

public static BoidGraph.Parameter 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 © 2013. All Rights Reserved.