org.graphstream.boids
Enum BoidSpecies.Parameter

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

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

Kinds of parameters.


Enum Constant Summary
ADD_SPECIES_NAME_IN_UI_CLASS
           
ANGLE_OF_VIEW
           
ATTRACTION_FACTOR
           
COUNT
           
DIRECTION_FACTOR
           
FEAR_FACTOR
           
INERTIA
           
MAX_SPEED
           
MIN_SPEED
           
REPULSION_FACTOR
           
SPEED_FACTOR
           
VIEW_ZONE
           
 
Method Summary
static BoidSpecies.Parameter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BoidSpecies.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

COUNT

public static final BoidSpecies.Parameter COUNT

ANGLE_OF_VIEW

public static final BoidSpecies.Parameter ANGLE_OF_VIEW

VIEW_ZONE

public static final BoidSpecies.Parameter VIEW_ZONE

SPEED_FACTOR

public static final BoidSpecies.Parameter SPEED_FACTOR

MAX_SPEED

public static final BoidSpecies.Parameter MAX_SPEED

MIN_SPEED

public static final BoidSpecies.Parameter MIN_SPEED

DIRECTION_FACTOR

public static final BoidSpecies.Parameter DIRECTION_FACTOR

ATTRACTION_FACTOR

public static final BoidSpecies.Parameter ATTRACTION_FACTOR

REPULSION_FACTOR

public static final BoidSpecies.Parameter REPULSION_FACTOR

INERTIA

public static final BoidSpecies.Parameter INERTIA

FEAR_FACTOR

public static final BoidSpecies.Parameter FEAR_FACTOR

ADD_SPECIES_NAME_IN_UI_CLASS

public static final BoidSpecies.Parameter ADD_SPECIES_NAME_IN_UI_CLASS
Method Detail

values

public static BoidSpecies.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 (BoidSpecies.Parameter c : BoidSpecies.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 BoidSpecies.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.