Enum Class HtmlSimulation.View
- All Implemented Interfaces:
Serializable, Comparable<HtmlSimulation.View>, Constable
- Enclosing class:
HtmlSimulation
The view of the simulation.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA grid of cells (e.g., a cellular automaton) with optional agents.Points (spheres) and lines in a 3D box (e.g., a swarm model).A dynamic surface (e.g., a diffusion) in a 3D box. -
Method Summary
Modifier and TypeMethodDescriptionstatic HtmlSimulation.ViewReturns the enum constant of this class with the specified name.static HtmlSimulation.View[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GRID_2D
A grid of cells (e.g., a cellular automaton) with optional agents. -
SCENE_3D
Points (spheres) and lines in a 3D box (e.g., a swarm model). -
SURFACE_3D
A dynamic surface (e.g., a diffusion) in a 3D box.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-