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. Components
  10. Traceable
  11. BehaviorSpaceInformation
  12. Compiling
  13. Procedures
  14. ModelTracker
  15. Evaluating
  16. Checksums
  17. Benchmarking
  18. APIConformant
  19. AbstractWorkspace
  20. HubNetWorkspaceInterface
  21. CompilerServices
  22. LogoThunkFactory
  23. LoggingWorkspace
  24. ExtendableWorkspace
  25. EditorWorkspace
  26. Workspace
  27. JobManagerOwner
  28. Workspace
  29. Controllable
  30. ViewSettings
  31. RandomServices
  32. LiteralParser
  33. ImporterUser
  34. WorldResizer
  35. AnyRef
  36. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HeadlessWorkspace(_world: World, compiler: PresentationCompilerInterface, 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 addComponent[A <: AnyRef](componentClass: Class[A], component: A): Unit
    Definition Classes
    Components
  8. def addCustomShapes(filename: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  9. def addJobFromJobThread(job: Job): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  10. def addLifecycle[A <: AnyRef](lifecycle: ComponentLifecycle[A]): Unit
    Definition Classes
    Components
  11. val aggregateManager: AggregateManagerInterface
    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. 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( ... )
  14. def auxRNG(): MersenneTwisterFast
    Definition Classes
    AbstractWorkspaceRandomServices
  15. def beep(): Unit
    Definition Classes
    Workspace
  16. def behaviorSpaceExperimentName(name: String): Unit
    Definition Classes
    BehaviorSpaceInformation
  17. def behaviorSpaceExperimentName: String
    Definition Classes
    BehaviorSpaceInformation
  18. def behaviorSpaceRunNumber(n: Int): Unit
    Definition Classes
    BehaviorSpaceInformation
  19. def behaviorSpaceRunNumber: Int
    Definition Classes
    BehaviorSpaceInformation
  20. def benchmark(minTime: Int, maxTime: Int): Unit
    Definition Classes
    Benchmarking
  21. def breathe(): Unit

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  32. def clearTicks(): Unit
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  33. def clearTurtles(): Unit
  34. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. 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

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

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceScalaExtendableWorkspaceWorkspace
  42. val completedActivations: WeakHashMap[Activation, Boolean]
    Definition Classes
    APIConformant
  43. def computePatchSize(width: Int, numPatches: Int): Double
  44. 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] )
  45. def currentPlot(plot: String): Unit
    Definition Classes
    Plotting
  46. val defaultOwner: SimpleJobOwner
    Definition Classes
    Evaluating
  47. def deleteLogFiles(): Nothing

    Internal use only.

    Internal use only.

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

    Not implemented.

    Not implemented.

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

    Get a snapshot of the 2D view.

    Get a snapshot of the 2D view.

    Definition Classes
    HeadlessWorkspaceWorkspace
  72. def exportWorld(writer: PrintWriter): Unit
    Definition Classes
    Exporting
  73. def exportWorld(filename: String): Unit
    Definition Classes
    Exporting
    Annotations
    @throws( classOf[IOException] )
  74. val fileManager: FileManager
    Definition Classes
    ModelTracker
  75. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  76. def findProcedurePositions(source: String): Map[String, ProcedureSyntax]
    Definition Classes
    AbstractWorkspaceCompilerServices
  77. def fontSize(i: Int): Unit
    Definition Classes
    APIConformant
  78. def fontSize: Int
    Definition Classes
    APIConformant
  79. 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
  80. def frameRate(frameRate: Double): Unit
  81. def frameRate: Double
  82. def getAndCreateDrawing(): BufferedImage
    Definition Classes
    HeadlessWorkspaceWorkspace
  83. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  84. def getCompilationEnvironment: CompilationEnvironment
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  85. def getComponent[A <: AnyRef](componentClass: Class[A]): Option[A]
    Definition Classes
    ComponentsWorkspace
  86. def getExtensionManager(): ExtensionManager
    Definition Classes
    AbstractWorkspaceWorkspace
  87. def getGraphics(image: BufferedImage): Unit

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

  88. def getHubNetManager: Option[HubNetInterface]
    Definition Classes
    HubNetManager
  89. def getMinimumWidth: Int
  90. 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
  91. 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
  92. def getModelFileUri: Option[URI]
    Definition Classes
    ModelTracker
  93. 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
  94. def getModelType: ModelType
    Definition Classes
    ModelTracker
  95. def getPlot(plot: String): PlotInterface
    Definition Classes
    Plotting
  96. def getPropertiesInterface(): WorldPropertiesInterface
  97. def getSource(filename: String): String
    Definition Classes
    AbstractWorkspaceScala
    Annotations
    @throws( classOf[IOException] )
  98. def getTokenAtPosition(s: String, pos: Int): Token
    Definition Classes
    AbstractWorkspaceCompilerServices
  99. def graphicsChecksum: String
    Definition Classes
    Checksums
  100. def guessExportName(defaultName: String): String
    Definition Classes
    AbstractWorkspace
  101. def halt(): Unit

    Halts all running NetLogo code in this workspace.

    Halts all running NetLogo code in this workspace.

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

    Internal use only.

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

    Internal use only.

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

    Internal use only.

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

    Internal use only.

  118. def initForTesting(worldSize: Int): Unit

    Internal use only.

  119. def insetWidth(): Int
  120. def inspectAgent(agentClass: AgentKind, agent: Agent, radius: Double): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  121. def inspectAgent(agent: Agent, radius: Double): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  122. def isConstant(s: String): Boolean
    Definition Classes
    AbstractWorkspaceCompilerServices
  123. def isExtensionName(name: String): Boolean
    Definition Classes
    AbstractWorkspaceImporterUser
  124. def isHeadless: Boolean

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceScalaViewSettings
  125. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  126. def isReporter(s: String): Boolean
    Definition Classes
    Compiling
  127. def isValidIdentifier(s: String): Boolean
    Definition Classes
    AbstractWorkspaceCompilerServices
  128. def joinForeverButtons(agent: Agent): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  129. var lastErrorReport: ErrorReport

    Internal use only.

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

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceEditorWorkspace
  137. def mainRNG(): MersenneTwisterFast
    Definition Classes
    AbstractWorkspaceRandomServices
  138. def makeCommandThunk(source: String, jobOwnerName: String, rng: MersenneTwisterFast): CommandLogoThunk
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  139. def makeCommandThunk(source: String, jobOwnerName: String): CommandLogoThunk
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  140. def makeReporterThunk(source: String, jobOwnerName: String): ReporterLogoThunk
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  141. def modelFileName: String
    Definition Classes
    ModelTracker
  142. def modelNameForDisplay: String
    Definition Classes
    ModelTracker
  143. var modelOpened: Boolean

    Has a model been opened in this workspace?

  144. def mouseDown: Boolean
    Definition Classes
    Workspace
  145. def mouseInside: Boolean
    Definition Classes
    Workspace
  146. def mouseXCor: Double
    Definition Classes
    Workspace
  147. def mouseYCor: Double
    Definition Classes
    Workspace
  148. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  149. final def notify(): Unit
    Definition Classes
    AnyRef
  150. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  151. 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
    HeadlessWorkspaceControllableAbstractWorkspaceWorkspaceControllable
    Annotations
    @throws( classOf[java.io.IOException] ) @throws( classOf[CompilerException] ) @throws( classOf[LogoException] )
  152. 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.

  153. def openModel(model: Model): Unit
    Definition Classes
    HeadlessWorkspaceWorkspace
  154. def openString(modelContents: String): Unit

    Opens a model stored in a string

    Opens a model stored in a string

    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  155. val outputAreaBuffer: StringBuilder
  156. def outputObject(obj: AnyRef, owner: AnyRef, addNewline: Boolean, readable: Boolean, destination: OutputDestination): Unit
    Definition Classes
    APIConformant
  157. def ownerFinished(owner: JobOwner): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  158. def patchSize: Double
    Definition Classes
    HeadlessWorkspaceWorkspaceViewSettings
  159. def patchSize(patchSize: Double): Unit
  160. def periodicUpdate(): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  161. def perspective: Perspective
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  162. val plotManager: PlotManager
    Definition Classes
    Plotting
  163. val plotRNG: MersenneTwisterFast
    Definition Classes
    Plotting
  164. var previewCommands: PreviewCommands
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  165. def previewCommandsString: String
    Definition Classes
    APIConformant
  166. def procedures: ProceduresMap
    Definition Classes
    Procedures
  167. def procedures_=(procs: ProceduresMap): Unit
    Definition Classes
    Procedures
  168. def profilingEnabled: Boolean
    Definition Classes
    Traceable
  169. def profilingTracer: Tracer
    Definition Classes
    Traceable
  170. def readFromString(string: String): AnyRef
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  171. def readNumberFromString(source: String): Double
  172. def renderPerspective: Boolean
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  173. val renderer: RendererInterface
    Definition Classes
    HeadlessWorkspaceWorkspace
  174. 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

  175. def requestDisplayUpdate(force: Boolean): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  176. def resetTicks(context: Context): Unit
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  177. def resizeView(): Unit
    Definition Classes
    HeadlessWorkspaceWorldResizer
  178. def runCompiledCommands(owner: JobOwner, procedure: Procedure): Boolean
    Definition Classes
    Evaluating
  179. def runCompiledReporter(owner: JobOwner, procedure: Procedure): AnyRef
    Definition Classes
    Evaluating
  180. def runtimeError(owner: JobOwner, context: Context, instruction: Instruction, ex: Exception): Unit

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only. Called from job thread.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  183. def setDimensions(d: WorldDimensions, patchSize: Double): Unit
  184. 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
  185. def setModelPath(modelPath: String): Unit
    Definition Classes
    ModelTracker
  186. def setModelType(tpe: ModelType): Unit
    Definition Classes
    ModelTracker
  187. def setOutputAreaContents(text: String): Unit
    Definition Classes
    AbstractWorkspaceImporterUser
  188. def setProcedures(procs: ProceduresMap): Unit
    Definition Classes
    Procedures
  189. def setProfilingTracer(t: Tracer): Unit
    Definition Classes
    Traceable
  190. def setSize(x: Int, y: Int): Unit
  191. def setupPlots(c: Context): Unit
    Definition Classes
    Plotting
  192. def showTickCounter(showTickCounter: Boolean): Unit
  193. def showTickCounter: Boolean
  194. var silent: Boolean

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

  195. def startLogging(properties: String): Nothing

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  226. def waitForQueuedEvents(): Unit

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  228. 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
  229. val world: World
    Definition Classes
    AbstractWorkspaceScalaWorkspaceWorkspace
  230. def worldChecksum: String
    Definition Classes
    Checksums
  231. def zipLogFiles(filename: String): Nothing

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceLoggingWorkspace

Inherited from WorldLoaderInterface

Inherited from Controllable

Inherited from AbstractWorkspaceScala

Inherited from Exporting

Inherited from Plotting

Inherited from HubNetManager

Inherited from Components

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 CompilerServices

Inherited from LogoThunkFactory

Inherited from LoggingWorkspace

Inherited from ExtendableWorkspace

Inherited from EditorWorkspace

Inherited from Workspace

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