Packages

sealed trait PreviewCommands extends ModelSaveable

A model's "preview commands" are the commands that are used to generate the preview that appears in the Models Library dialog, the NetLogo website (http://ccl.northwestern.edu/netlogo/models/), the Modeling Commons (http://www.modelingcommons.org/) and potentially other places. By default, they're just setup repeat 75 [ go ] but they can be customized. Some models require manually generated previews.

Preview commands are always run in a fresh headless workspace with random-seed 0 called before opening the model. The startup procedure, if present, runs before the preview commands.

Source
PreviewCommands.scala
Linear Supertypes
ModelSaveable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PreviewCommands
  2. ModelSaveable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def description: String
  2. abstract def source: String

Concrete Value Members

  1. def toString(): String
    Definition Classes
    PreviewCommands → AnyRef → Any
  2. def updateModel(m: Model): Model
    Definition Classes
    PreviewCommands → ModelSaveable