Enum Class HtmlSimulation.View

java.lang.Object
java.lang.Enum<HtmlSimulation.View>
com.eco.bio7.spatial.HtmlSimulation.View
All Implemented Interfaces:
Serializable, Comparable<HtmlSimulation.View>, Constable
Enclosing class:
HtmlSimulation

public static enum HtmlSimulation.View extends Enum<HtmlSimulation.View>
The view of the simulation.
  • Enum Constant Details

    • GRID_2D

      public static final HtmlSimulation.View GRID_2D
      A grid of cells (e.g., a cellular automaton) with optional agents.
    • SCENE_3D

      public static final HtmlSimulation.View SCENE_3D
      Points (spheres) and lines in a 3D box (e.g., a swarm model).
    • SURFACE_3D

      public static final HtmlSimulation.View SURFACE_3D
      A dynamic surface (e.g., a diffusion) in a 3D box.
  • Method Details

    • values

      public static HtmlSimulation.View[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HtmlSimulation.View valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null