org.nlogo.nvm
Enum Workspace.UpdateMode

java.lang.Object
  extended by java.lang.Enum<Workspace.UpdateMode>
      extended by org.nlogo.nvm.Workspace.UpdateMode
All Implemented Interfaces:
Serializable, Comparable<Workspace.UpdateMode>
Enclosing interface:
Workspace

public static enum Workspace.UpdateMode
extends Enum<Workspace.UpdateMode>


Enum Constant Summary
CONTINUOUS
           
TICK_BASED
           
 
Method Summary
static Workspace.UpdateMode load(int mode)
           
 int save()
           
static Workspace.UpdateMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Workspace.UpdateMode[] 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

CONTINUOUS

public static final Workspace.UpdateMode CONTINUOUS

TICK_BASED

public static final Workspace.UpdateMode TICK_BASED
Method Detail

values

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

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

valueOf

public static Workspace.UpdateMode 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

save

public int save()

load

public static Workspace.UpdateMode load(int mode)