class HeadlessWorkspace extends AbstractWorkspaceScala with Controllable with WorldLoaderInterface with ViewSettings

The primary class for headless (no GUI) operation of NetLogo.

You may create more than one HeadlessWorkspace object. Multiple instances can operate separately and independently. (Behind the scenes, this is supported by creating a separate thread for each instance.)

When you are done using a HeadlessWorkspace, you should call its dispose() method. This will shut down the thread associated with the workspace and allow resources to be freed.

See the "Controlling" section of the NetLogo User Manual for example code.

Don't try to use the constructor yourself; use HeadlessWorkspace.newInstance instead.

Source
HeadlessWorkspace.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HeadlessWorkspace
  2. WorldLoaderInterface
  3. Controllable
  4. AbstractWorkspaceScala
  5. Exporting
  6. Plotting
  7. ExtendableWorkspaceMethods
  8. HubNetManager
  9. Traceable
  10. BehaviorSpaceInformation
  11. Compiling
  12. Procedures
  13. ModelTracker
  14. Evaluating
  15. Checksums
  16. Benchmarking
  17. APIConformant
  18. AbstractWorkspace
  19. HubNetWorkspaceInterface
  20. LogoThunkFactory
  21. ExtendableWorkspace
  22. Workspace
  23. CompilerServices
  24. JobManagerOwner
  25. Workspace
  26. Controllable
  27. ViewSettings
  28. RandomServices
  29. LiteralParser
  30. ImporterUser
  31. WorldResizer
  32. AnyRef
  33. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HeadlessWorkspace(_world: World, compiler: CompilerInterface, renderer: RendererInterface, aggregateManager: AggregateManagerInterface, hubNetManagerFactory: HubNetManagerFactory)

Type Members

  1. abstract class FileImporter extends AnyRef
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val _behaviorSpaceExperimentName: String
    Definition Classes
    BehaviorSpaceInformation
  5. val _behaviorSpaceRunNumber: Int
    Definition Classes
    BehaviorSpaceInformation
  6. val _modelFileName: String

    name of the currently loaded model.

    name of the currently loaded model. Will be null if this is a new (unsaved) model. To get a version for display to the user, see modelNameForDisplay(). This is NOT a full path name, however, it does end in ".nlogo".

    Definition Classes
    ModelTracker
  7. def addCustomShapes(filename: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  8. def addJobFromJobThread(job: Job): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  9. val aggregateManager: AggregateManagerInterface
    Definition Classes
    HeadlessWorkspaceWorkspace
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def attachModelDir(filePath: String): String

    attaches the current model directory to a relative path, if necessary.

    attaches the current model directory to a relative path, if necessary. If filePath is an absolute path, this method simply returns it. If it's a relative path, then the current model directory is prepended to it. If this is a new model, the user's platform-dependent home directory is prepended instead.

    Definition Classes
    ExtendableWorkspaceMethods
    Annotations
    @throws( ... )
  12. def auxRNG(): MersenneTwisterFast
    Definition Classes
    AbstractWorkspaceRandomServices
  13. def beep(): Unit
    Definition Classes
    Workspace
  14. def behaviorSpaceExperimentName(name: String): Unit
    Definition Classes
    BehaviorSpaceInformation
  15. def behaviorSpaceExperimentName: String
    Definition Classes
    BehaviorSpaceInformation
  16. def behaviorSpaceRunNumber(n: Int): Unit
    Definition Classes
    BehaviorSpaceInformation
  17. def behaviorSpaceRunNumber: Int
    Definition Classes
    BehaviorSpaceInformation
  18. def benchmark(minTime: Int, maxTime: Int): Unit
    Definition Classes
    Benchmarking
  19. def breathe(): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  20. def calculateHeight(worldHeight: Int, patchSize: Double): Int
  21. def calculateWidth(worldWidth: Int, patchSize: Double): Int
  22. def changeTopology(wrapX: Boolean, wrapY: Boolean): Unit
  23. def checkCommandSyntax(source: String): Unit
    Definition Classes
    Compiling
    Annotations
    @throws( classOf[CompilerException] )
  24. def checkReporterSyntax(source: String): Unit
    Definition Classes
    Compiling
    Annotations
    @throws( classOf[CompilerException] )
  25. def clearAll(): Unit
  26. def clearDrawing(): Unit
    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  27. def clearLastLogoException(): Unit
    Definition Classes
    Evaluating
  28. def clearOutput(): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  29. def clearTicks(): Unit
    Definition Classes
    AbstractWorkspaceScalaWorkspaceWorkspace
  30. def clearTurtles(): Unit
  31. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def command(source: String): Unit

    Runs NetLogo commands and waits for them to complete.

    Runs NetLogo commands and waits for them to complete.

    source

    The command or commands to run

    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] ) @throws( classOf[LogoException] )
    Exceptions thrown

    org.nlogo.api.LogoException if the code fails to run

    org.nlogo.core.CompilerException if the code fails to compile

  33. def compileCommands(source: String, agentClass: AgentKind): Procedure
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  34. def compileCommands(source: String): Procedure
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  35. def compileForRun(source: String, context: Context, reporter: Boolean): Procedure
    Definition Classes
    AbstractWorkspaceWorkspace
  36. def compileReporter(source: String): Procedure
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  37. val compiler: CompilerInterface
    Definition Classes
    HeadlessWorkspaceModelTrackerWorkspace
  38. var compilerTestingMode: Boolean

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceScalaExtendableWorkspaceWorkspace
  39. val completedActivations: WeakHashMap[Activation, Boolean]
    Definition Classes
    APIConformant
  40. def computePatchSize(width: Int, numPatches: Int): Double
  41. def convertToNormal(): String

    instantly converts the current model to ModelTypeJ.NORMAL.

    instantly converts the current model to ModelTypeJ.NORMAL. This is used by the edit command to enable quick saving of library models. It shouldn't be used anywhere else.

    Definition Classes
    ModelTracker
    Annotations
    @throws( classOf[IOException] )
  42. def currentPlot(plot: String): Unit
    Definition Classes
    Plotting
  43. val defaultOwner: SimpleJobOwner
    Definition Classes
    Evaluating
  44. def deleteLogFiles(): Nothing

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  45. def dispose(): Unit

    Shuts down the background thread associated with this workspace, allowing resources to be freed.

    Shuts down the background thread associated with this workspace, allowing resources to be freed.

    Definition Classes
    HubNetManagerAbstractWorkspaceWorkspaceWorkspace
    Annotations
    @throws( classOf[InterruptedException] )
  46. def doImport(importer: FileImporter): Unit
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace
  47. def doImport(importer: BufferedReaderImporter): Unit
    Definition Classes
    AbstractWorkspace
  48. def drawSpotlight: Boolean
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  49. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  51. def evaluateCommands(owner: JobOwner, source: String, agents: AgentSet, waitForCompletion: Boolean): Unit
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  52. def evaluateCommands(owner: JobOwner, source: String, agent: Agent, waitForCompletion: Boolean): Unit
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  53. def evaluateCommands(owner: JobOwner, source: String, waitForCompletion: Boolean): Unit
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  54. def evaluateCommands(owner: JobOwner, source: String): Unit
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  55. def evaluateReporter(owner: JobOwner, source: String, agents: AgentSet): AnyRef
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  56. def evaluateReporter(owner: JobOwner, source: String, agent: Agent): AnyRef
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  57. def evaluateReporter(owner: JobOwner, source: String): AnyRef
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  58. def exportAllPlots(filename: String): Unit
    Definition Classes
    Exporting
    Annotations
    @throws( classOf[IOException] )
  59. def exportDrawing(filename: String, format: String): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  60. def exportDrawingToCSV(writer: PrintWriter): Unit
    Definition Classes
    HeadlessWorkspaceExporting
  61. def exportInterface(filename: String): Nothing

    Not implemented.

    Not implemented.

    Definition Classes
    HeadlessWorkspaceWorkspace
  62. def exportInterfaceGlobals(writer: PrintWriter): Unit
    Definition Classes
    Exporting
  63. def exportOutput(filename: String): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  64. def exportOutputAreaToCSV(writer: PrintWriter): Unit
    Definition Classes
    HeadlessWorkspaceExporting
  65. def exportPlot(plotName: String, filename: String): Unit
    Definition Classes
    Exporting
    Annotations
    @throws( classOf[IOException] )
  66. def exportPlotsToCSV(writer: PrintWriter): Unit
    Definition Classes
    Exporting
  67. def exportView(filename: String, format: String): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  68. def exportView: BufferedImage

    Get a snapshot of the 2D view.

    Get a snapshot of the 2D view.

    Definition Classes
    HeadlessWorkspaceWorkspace
  69. def exportWorld(writer: PrintWriter): Unit
    Definition Classes
    Exporting
  70. def exportWorld(filename: String): Unit
    Definition Classes
    Exporting
    Annotations
    @throws( classOf[IOException] )
  71. val fileManager: FileManager
    Definition Classes
    ModelTracker
  72. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  73. def findProcedurePositions(source: String): Map[String, ProcedureSyntax]
    Definition Classes
    AbstractWorkspaceCompilerServices
  74. def fontSize(i: Int): Unit
    Definition Classes
    APIConformant
  75. def fontSize: Int
    Definition Classes
    APIConformant
  76. def forceSaveAs: Boolean

    whether the user needs to enter a new filename to save this model.

    whether the user needs to enter a new filename to save this model. We need to do a "save as" if the model is new, from the models library, or converted.

    Basically, only normal models can get silently saved.

    Definition Classes
    ModelTracker
  77. def frameRate(frameRate: Double): Unit
  78. def frameRate: Double
  79. def getAndCreateDrawing(): BufferedImage
    Definition Classes
    HeadlessWorkspaceWorkspace
  80. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  81. def getCompilationEnvironment: CompilationEnvironment
    Definition Classes
    AbstractWorkspaceScalaWorkspaceWorkspace
  82. def getExtensionManager(): ExtensionManager
    Definition Classes
    AbstractWorkspaceWorkspace
  83. def getGraphics(image: BufferedImage): Unit

    Get a snapshot of the 2D view, using an existing BufferedImage object.

  84. def getHubNetManager: Option[HubNetInterface]
    Definition Classes
    HubNetManagerWorkspace
  85. def getMinimumWidth: Int
  86. def getModelDir: String

    returns the full path to the directory from which the current model was loaded.

    returns the full path to the directory from which the current model was loaded. May be null if, for example, this is a new model.

    Definition Classes
    ModelTracker
  87. def getModelFileName: String

    returns the name of the file from which the current model was loaded.

    returns the name of the file from which the current model was loaded. May be null if, for example, this is a new model.

    Definition Classes
    ModelTracker
  88. def getModelFileUri: Option[URI]
    Definition Classes
    ModelTracker
  89. def getModelPath: String

    returns the full pathname of the currently loaded model, if any.

    returns the full pathname of the currently loaded model, if any. This may return null in some cases, for instance if this is a new model.

    Definition Classes
    ModelTracker
  90. def getModelType: ModelType
    Definition Classes
    ModelTracker
  91. def getPlot(plot: String): PlotInterface
    Definition Classes
    Plotting
  92. def getPropertiesInterface(): WorldPropertiesInterface
  93. def getSource(filename: String): String
    Definition Classes
    AbstractWorkspaceScala
    Annotations
    @throws( classOf[IOException] )
  94. def getTokenAtPosition(s: String, pos: Int): Token
    Definition Classes
    AbstractWorkspaceCompilerServices
  95. def graphicsChecksum: String
    Definition Classes
    Checksums
  96. def guessExportName(defaultName: String): String
    Definition Classes
    AbstractWorkspace
  97. def halt(): Unit

    Halts all running NetLogo code in this workspace.

    Halts all running NetLogo code in this workspace.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  98. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  99. def hubNetManager: Option[HubNetInterface]
    Definition Classes
    HubNetManager
  100. val hubNetManagerFactory: HubNetManagerFactory
    Definition Classes
    AbstractWorkspaceScalaHubNetManager
  101. def hubNetRunning: Boolean
    Definition Classes
    HubNetManager
  102. def hubNetRunning_=(running: Boolean): Unit
  103. def importDrawing(file: File): Unit
    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  104. def importDrawing(filename: String): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  105. def importExtensionData(name: String, data: List[Array[String]], handler: ImportErrorHandler): Unit
    Definition Classes
    AbstractWorkspaceImporterUser
  106. def importWorld(reader: Reader): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  107. def importWorld(filename: String): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  108. var importerErrorHandler: ErrorHandler
    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  109. def init(): Unit
    Definition Classes
    Procedures
  110. def initForTesting(d: WorldDimensions): Unit

    Internal use only.

  111. def initForTesting(d: WorldDimensions, source: String): Unit

    Internal use only.

  112. def initForTesting(minPxcor: Int, maxPxcor: Int, minPycor: Int, maxPycor: Int, source: String): Unit

    Internal use only.

  113. def initForTesting(worldSize: Int, modelString: String): Unit

    Internal use only.

  114. def initForTesting(worldSize: Int): Unit

    Internal use only.

  115. def insetWidth(): Int
  116. def inspectAgent(agentClass: AgentKind, agent: Agent, radius: Double): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  117. def inspectAgent(agent: Agent, radius: Double): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  118. def isConstant(s: String): Boolean
    Definition Classes
    AbstractWorkspaceCompilerServices
  119. def isExtensionName(name: String): Boolean
    Definition Classes
    AbstractWorkspaceImporterUser
  120. def isHeadless: Boolean

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceScalaViewSettings
  121. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  122. def isReporter(s: String): Boolean
    Definition Classes
    Compiling
  123. def isValidIdentifier(s: String): Boolean
    Definition Classes
    AbstractWorkspaceCompilerServices
  124. def joinForeverButtons(agent: Agent): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  125. var lastErrorReport: ErrorReport

    Internal use only.

  126. val lastLogoException: LogoException
    Definition Classes
    Evaluating
  127. def lastRunTimes(): WeakHashMap[Job, WeakHashMap[Agent, WeakHashMap[Command, MutableLong]]]
    Definition Classes
    AbstractWorkspaceWorkspace
  128. def loadFromModel(model: Model): Unit
    Attributes
    protected
    Definition Classes
    AbstractWorkspaceScala
  129. def loadWorld(view: View, worldInterface: WorldLoaderInterface): Unit
    Definition Classes
    AbstractWorkspaceScala
  130. def logCustomGlobals(nameValuePairs: Seq[(String, String)]): Unit
  131. def logCustomMessage(msg: String): Unit
  132. def magicOpen(name: String): Nothing

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  133. def mainRNG(): MersenneTwisterFast
    Definition Classes
    AbstractWorkspaceRandomServices
  134. def makeCommandThunk(source: String, jobOwnerName: String, rng: MersenneTwisterFast): CommandLogoThunk
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  135. def makeCommandThunk(source: String, jobOwnerName: String): CommandLogoThunk
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  136. def makeReporterThunk(source: String, jobOwnerName: String): ReporterLogoThunk
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  137. def modelFileName: String
    Definition Classes
    ModelTracker
  138. def modelNameForDisplay: String
    Definition Classes
    ModelTracker
  139. var modelOpened: Boolean

    Has a model been opened in this workspace?

  140. def mouseDown: Boolean
    Definition Classes
    Workspace
  141. def mouseInside: Boolean
    Definition Classes
    Workspace
  142. def mouseXCor: Double
    Definition Classes
    Workspace
  143. def mouseYCor: Double
    Definition Classes
    Workspace
  144. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  145. final def notify(): Unit
    Definition Classes
    AnyRef
  146. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  147. def open(path: String): Unit

    Opens a model stored in a file.

    Opens a model stored in a file.

    path

    the path (absolute or relative) of the NetLogo model to open.

    Definition Classes
    HeadlessWorkspaceControllableAbstractWorkspaceWorkspaceWorkspaceControllable
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( classOf[CompilerException] ) @throws( classOf[LogoException] )
  148. def openFromSource(source: String, extension: String): Unit

    Opens a model stored in a string.

    Opens a model stored in a string. Can only be called once per instance of HeadlessWorkspace

    source

    The complete model, including widgets and so forth, in the same format as it would be stored in a file.

  149. def openModel(model: Model): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  150. def openString(modelContents: String): Unit

    Opens a model stored in a string

    Opens a model stored in a string

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  151. val outputAreaBuffer: StringBuilder
  152. def outputObject(obj: AnyRef, owner: AnyRef, addNewline: Boolean, readable: Boolean, destination: OutputDestination): Unit
    Definition Classes
    APIConformant
  153. def ownerFinished(owner: JobOwner): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  154. def patchSize: Double
    Definition Classes
    HeadlessWorkspaceWorkspaceViewSettings
  155. def patchSize(patchSize: Double): Unit
  156. def periodicUpdate(): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  157. def perspective: Perspective
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  158. val plotManager: PlotManager
    Definition Classes
    Plotting
  159. val plotRNG: MersenneTwisterFast
    Definition Classes
    Plotting
  160. var previewCommands: PreviewCommands
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  161. def previewCommandsString: String
    Definition Classes
    APIConformant
  162. def procedures: ProceduresMap
    Definition Classes
    Procedures
  163. def procedures_=(procs: ProceduresMap): Unit
    Definition Classes
    Procedures
  164. def profilingEnabled: Boolean
    Definition Classes
    Traceable
  165. def profilingTracer: Tracer
    Definition Classes
    Traceable
  166. def readFromString(string: String): AnyRef
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  167. def readNumberFromString(source: String): Double
  168. def renderPerspective: Boolean
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  169. val renderer: RendererInterface
    Definition Classes
    HeadlessWorkspaceWorkspace
  170. def report(source: String): AnyRef

    Runs a NetLogo reporter.

    Runs a NetLogo reporter.

    source

    The reporter to run

    returns

    the result reported; may be of type java.lang.Integer, java.lang.Double, java.lang.Boolean, java.lang.String, org.nlogo.core.LogoList, org.nlogo.api.Agent, AgentSet, or Nobody

    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] ) @throws( classOf[LogoException] )
    Exceptions thrown

    org.nlogo.api.LogoException if the code fails to run

    org.nlogo.core.CompilerException if the code fails to compile

  171. def requestDisplayUpdate(force: Boolean): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  172. def resetTicks(context: Context): Unit
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  173. def resizeView(): Unit
    Definition Classes
    HeadlessWorkspaceWorldResizer
  174. def runCompiledCommands(owner: JobOwner, procedure: Procedure): Boolean
    Definition Classes
    Evaluating
  175. def runCompiledReporter(owner: JobOwner, procedure: Procedure): AnyRef
    Definition Classes
    Evaluating
  176. def runtimeError(owner: JobOwner, context: Context, instruction: Instruction, ex: Exception): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  177. def seedRNGs(seed: Int): Unit
    Definition Classes
    AbstractWorkspaceScalaRandomServices
  178. def sendOutput(oo: OutputObject, toOutputArea: Boolean): Unit

    Internal use only.

    Internal use only. Called from job thread.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  179. def setDimensions(d: WorldDimensions, patchSize: Double): Unit
  180. def setDimensions(d: WorldDimensions): Unit

    Kills all turtles, clears all patch variables, and makes a new patch grid.

    Kills all turtles, clears all patch variables, and makes a new patch grid.

    Definition Classes
    HeadlessWorkspaceWorldResizer
  181. def setModelPath(modelPath: String): Unit
    Definition Classes
    ModelTracker
  182. def setModelType(tpe: ModelType): Unit
    Definition Classes
    ModelTracker
  183. def setOutputAreaContents(text: String): Unit
    Definition Classes
    AbstractWorkspaceImporterUser
  184. def setProcedures(procs: ProceduresMap): Unit
    Definition Classes
    Procedures
  185. def setProfilingTracer(t: Tracer): Unit
    Definition Classes
    Traceable
  186. def setSize(x: Int, y: Int): Unit
  187. def setupPlots(c: Context): Unit
    Definition Classes
    Plotting
  188. def showTickCounter(showTickCounter: Boolean): Unit
  189. def showTickCounter: Boolean
  190. var silent: Boolean

    If true, don't send anything to standard output.

  191. def startLogging(properties: String): Nothing

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  192. def stopInspectingAgent(agent: Agent): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  193. def stopInspectingDeadAgents(): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  194. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  195. def tick(context: Context, originalInstruction: Instruction): Unit
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  196. def tickCounterLabel(s: String): Unit
  197. def tickCounterLabel: String
  198. def toString(): String
    Definition Classes
    AnyRef → Any
  199. def tokenizeForColorization(s: String): Array[Token]
    Definition Classes
    AbstractWorkspaceCompilerServices
  200. def unsupported: Nothing
  201. def updateDisplay(haveWorldLockAlready: Boolean): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  202. def updateMode(updateMode: UpdateMode): Unit
  203. def updateMode(): UpdateMode
    Definition Classes
    AbstractWorkspace
  204. def updatePlots(c: Context): Unit
    Definition Classes
    Plotting
  205. def updateUI(): Unit
    Definition Classes
    Workspace
  206. def userDirectory: Option[String]
    Definition Classes
    Workspace
  207. def userFile: Option[String]
    Definition Classes
    Workspace
  208. def userInput(msg: String): Option[String]
    Definition Classes
    Workspace
  209. def userMessage(msg: String): Boolean
    Definition Classes
    Workspace
  210. def userNewFile: Option[String]
    Definition Classes
    Workspace
  211. def userOneOf(msg: String, xs: LogoList): Option[AnyRef]
    Definition Classes
    Workspace
  212. def userYesOrNo(msg: String): Option[Boolean]
    Definition Classes
    Workspace
  213. def viewHeight: Double
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  214. def viewOffsetX: Double
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  215. def viewOffsetY: Double
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  216. def viewWidth: Double
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  217. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  218. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  219. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  220. def waitFor(runnable: CommandRunnable): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  221. def waitForQueuedEvents(): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  222. def waitForResult[T](runnable: ReporterRunnable[T]): T

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  223. def warningMessage(message: String): Boolean

    Displays a warning to the user, and determine whether to continue.

    Displays a warning to the user, and determine whether to continue. The default (non-GUI) implementation is to print the warning and always continue.

    Definition Classes
    AbstractWorkspaceExtendableWorkspaceWorkspace
  224. val world: World
    Definition Classes
    AbstractWorkspaceScalaWorkspaceWorkspace
  225. def worldChecksum: String
    Definition Classes
    Checksums
  226. def zipLogFiles(filename: String): Nothing

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace

Inherited from WorldLoaderInterface

Inherited from Controllable

Inherited from AbstractWorkspaceScala

Inherited from Exporting

Inherited from Plotting

Inherited from HubNetManager

Inherited from Traceable

Inherited from BehaviorSpaceInformation

Inherited from Compiling

Inherited from Procedures

Inherited from ModelTracker

Inherited from Evaluating

Inherited from Checksums

Inherited from Benchmarking

Inherited from APIConformant

Inherited from AbstractWorkspace

Inherited from HubNetWorkspaceInterface

Inherited from LogoThunkFactory

Inherited from ExtendableWorkspace

Inherited from Workspace

Inherited from CompilerServices

Inherited from JobManagerOwner

Inherited from Workspace

Inherited from Controllable

Inherited from ViewSettings

Inherited from RandomServices

Inherited from LiteralParser

Inherited from ImporterUser

Inherited from WorldResizer

Inherited from AnyRef

Inherited from Any

Ungrouped