Class/Object

org.nlogo.headless

HeadlessWorkspace

Related Docs: object HeadlessWorkspace | package headless

Permalink

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HeadlessWorkspace
  2. WorldLoaderInterface
  3. Controllable
  4. AbstractWorkspaceScala
  5. Exporting
  6. Plotting
  7. ExtendableWorkspaceMethods
  8. Traceable
  9. BehaviorSpaceInformation
  10. ModelDir
  11. Evaluating
  12. Checksums
  13. Benchmarking
  14. APIConformant
  15. AbstractWorkspace
  16. HubNetWorkspaceInterface
  17. LogoThunkFactory
  18. ExtendableWorkspace
  19. Workspace
  20. CompilerServices
  21. JobManagerOwner
  22. Workspace
  23. Controllable
  24. ViewSettings
  25. RandomServices
  26. LiteralParser
  27. ImporterUser
  28. WorldResizer
  29. AnyRef
  30. 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)

    Permalink

Type Members

  1. abstract class FileImporter extends AnyRef

    Permalink
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var _behaviorSpaceExperimentName: String

    Permalink
    Definition Classes
    BehaviorSpaceInformation
  5. var _behaviorSpaceRunNumber: Int

    Permalink
    Definition Classes
    BehaviorSpaceInformation
  6. var _modelFileName: String

    Permalink

    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
    ModelDir
  7. def addCustomShapes(filename: String): Unit

    Permalink
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  8. def addJobFromJobThread(job: Job): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  9. val aggregateManager: AggregateManagerInterface

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def attachModelDir(filePath: String): String

    Permalink

    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 autoConvert(source: String, subprogram: Boolean, reporter: Boolean, modelVersion: String): String

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  13. def auxRNG(): MersenneTwisterFast

    Permalink
    Definition Classes
    AbstractWorkspaceRandomServices
  14. def beep(): Unit

    Permalink
    Definition Classes
    Workspace
  15. def behaviorSpaceExperimentName(name: String): Unit

    Permalink
    Definition Classes
    BehaviorSpaceInformation
  16. def behaviorSpaceExperimentName: String

    Permalink
    Definition Classes
    BehaviorSpaceInformation
  17. def behaviorSpaceRunNumber(n: Int): Unit

    Permalink
    Definition Classes
    BehaviorSpaceInformation
  18. def behaviorSpaceRunNumber: Int

    Permalink
    Definition Classes
    BehaviorSpaceInformation
  19. def benchmark(minTime: Int, maxTime: Int): Unit

    Permalink
    Definition Classes
    Benchmarking
  20. def breathe(): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  21. def calculateHeight(worldHeight: Int, patchSize: Double): Int

    Permalink
  22. def calculateWidth(worldWidth: Int, patchSize: Double): Int

    Permalink
  23. def changeLanguage(): Nothing

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  24. def changeTopology(wrapX: Boolean, wrapY: Boolean): Unit

    Permalink
  25. def checkCommandSyntax(source: String): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  26. def checkReporterSyntax(source: String): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  27. def clearAll(): Unit

    Permalink
  28. def clearDrawing(): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  29. def clearLastLogoException(): Unit

    Permalink
    Definition Classes
    Evaluating
  30. def clearOutput(): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  31. def clearTicks(): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceScalaWorkspaceWorkspace
  32. def clearTurtles(): Unit

    Permalink
  33. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def command(source: String): Unit

    Permalink

    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

  35. def compileCommands(source: String, agentClass: AgentKind): Procedure

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  36. def compileCommands(source: String): Procedure

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  37. def compileForRun(source: String, context: Context, reporter: Boolean): Procedure

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  38. def compileReporter(source: String): Procedure

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  39. val compiler: CompilerInterface

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  40. var compilerTestingMode: Boolean

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceScalaExtendableWorkspaceWorkspace
  41. val completedActivations: WeakHashMap[Activation, Boolean]

    Permalink
    Definition Classes
    APIConformant
  42. def computePatchSize(width: Int, numPatches: Int): Double

    Permalink
  43. def convertToNormal(): String

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  44. def currentPlot(plot: String): Unit

    Permalink
    Definition Classes
    Plotting
  45. val defaultOwner: SimpleJobOwner

    Permalink
    Definition Classes
    Evaluating
  46. def deleteLogFiles(): Nothing

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  47. def dispose(): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspaceWorkspace
  48. def doImport(importer: FileImporter): Unit

    Permalink
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace
  49. def doImport(importer: BufferedReaderImporter): Unit

    Permalink
    Definition Classes
    AbstractWorkspace
  50. def drawSpotlight: Boolean

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  51. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  52. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  53. def evaluateCommands(owner: JobOwner, source: String, agents: AgentSet, waitForCompletion: Boolean): Unit

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  54. def evaluateCommands(owner: JobOwner, source: String, agent: Agent, waitForCompletion: Boolean): Unit

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  55. def evaluateCommands(owner: JobOwner, source: String, waitForCompletion: Boolean): Unit

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  56. def evaluateCommands(owner: JobOwner, source: String): Unit

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  57. def evaluateReporter(owner: JobOwner, source: String, agents: AgentSet): AnyRef

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  58. def evaluateReporter(owner: JobOwner, source: String, agent: Agent): AnyRef

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  59. def evaluateReporter(owner: JobOwner, source: String): AnyRef

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  60. def exportAllPlots(filename: String): Unit

    Permalink
    Definition Classes
    Exporting
    Annotations
    @throws( classOf[IOException] )
  61. def exportDrawing(filename: String, format: String): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  62. def exportDrawingToCSV(writer: PrintWriter): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceExporting
  63. def exportInterface(filename: String): Nothing

    Permalink

    Not implemented.

    Not implemented.

    Definition Classes
    HeadlessWorkspaceWorkspace
  64. def exportInterfaceGlobals(writer: PrintWriter): Unit

    Permalink
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace
  65. def exportOutput(filename: String): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  66. def exportOutputAreaToCSV(writer: PrintWriter): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceExporting
  67. def exportPlot(plotName: String, filename: String): Unit

    Permalink
    Definition Classes
    Exporting
    Annotations
    @throws( classOf[IOException] )
  68. def exportPlotsToCSV(writer: PrintWriter): Unit

    Permalink
    Definition Classes
    Exporting
  69. def exportView(filename: String, format: String): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  70. def exportView: BufferedImage

    Permalink

    Get a snapshot of the 2D view.

    Get a snapshot of the 2D view.

    Definition Classes
    HeadlessWorkspaceWorkspace
  71. def exportWorld(writer: PrintWriter): Unit

    Permalink
    Definition Classes
    Exporting
  72. def exportWorld(filename: String): Unit

    Permalink
    Definition Classes
    Exporting
    Annotations
    @throws( classOf[IOException] )
  73. def fileManager(): FileManager

    Permalink
  74. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  75. def findProcedurePositions(source: String): Map[String, ProcedureSyntax]

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  76. def fontSize(i: Int): Unit

    Permalink
    Definition Classes
    APIConformant
  77. def fontSize: Int

    Permalink
    Definition Classes
    APIConformant
  78. def forceSaveAs(): Boolean

    Permalink
    Definition Classes
    AbstractWorkspace
  79. def frameRate(frameRate: Double): Unit

    Permalink
  80. def frameRate: Double

    Permalink
  81. def getAndCreateDrawing(): BufferedImage

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  82. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  83. def getCompilationEnvironment: CompilationEnvironment

    Permalink
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  84. def getExtensionManager(): ExtensionManager

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  85. def getGraphics(image: BufferedImage): Unit

    Permalink

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

  86. def getHubNetManager(): HubNetInterface

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  87. def getMinimumWidth: Int

    Permalink
  88. def getModelDir: String

    Permalink

    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
    ModelDir
  89. def getModelFileName: String

    Permalink

    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
    ModelDir
  90. def getModelPath: String

    Permalink

    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
    ModelDir
  91. def getModelType(): ModelType

    Permalink
    Definition Classes
    AbstractWorkspace
  92. def getPlot(plot: String): PlotInterface

    Permalink
    Definition Classes
    Plotting
  93. def getProcedures(): Map[String, Procedure]

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  94. def getPropertiesInterface(): WorldPropertiesInterface

    Permalink
  95. def getSource(filename: String): String

    Permalink
    Definition Classes
    AbstractWorkspaceExtendableWorkspace
  96. def getTokenAtPosition(s: String, pos: Int): Token

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  97. def graphicsChecksum: String

    Permalink
    Definition Classes
    Checksums
  98. def guessExportName(defaultName: String): String

    Permalink
    Definition Classes
    AbstractWorkspace
  99. def halt(): Unit

    Permalink

    Halts all running NetLogo code in this workspace.

    Halts all running NetLogo code in this workspace.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  100. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  101. def hubNetRunning(hubNetRunning: Boolean): Unit

    Permalink
  102. def hubNetRunning(): Boolean

    Permalink
    Definition Classes
    AbstractWorkspace
  103. def hubnetManager(): HubNetInterface

    Permalink
    Definition Classes
    AbstractWorkspace
  104. def importDrawing(file: File): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  105. def importDrawing(filename: String): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  106. def importExtensionData(name: String, data: List[Array[String]], handler: ImportErrorHandler): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceImporterUser
  107. def importWorld(reader: Reader): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  108. def importWorld(filename: String): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  109. var importerErrorHandler: ErrorHandler

    Permalink
    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  110. def init(): Unit

    Permalink
    Definition Classes
    AbstractWorkspace
  111. def initForTesting(d: WorldDimensions): Unit

    Permalink

    Internal use only.

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

    Permalink

    Internal use only.

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

    Permalink

    Internal use only.

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

    Permalink

    Internal use only.

  115. def initForTesting(worldSize: Int): Unit

    Permalink

    Internal use only.

  116. def insetWidth(): Int

    Permalink
  117. def inspectAgent(agentClass: AgentKind, agent: Agent, radius: Double): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  118. def inspectAgent(agent: Agent, radius: Double): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  119. def isConstant(s: String): Boolean

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  120. def isExtensionName(name: String): Boolean

    Permalink
    Definition Classes
    AbstractWorkspaceImporterUser
  121. def isHeadless: Boolean

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceScalaViewSettings
  122. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  123. def isReporter(s: String): Boolean

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  124. def isValidIdentifier(s: String): Boolean

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  125. def joinForeverButtons(agent: Agent): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  126. var lastErrorReport: ErrorReport

    Permalink

    Internal use only.

  127. var lastLogoException: LogoException

    Permalink
    Definition Classes
    Evaluating
  128. def lastRunTimes(): WeakHashMap[Job, WeakHashMap[Agent, WeakHashMap[Command, MutableLong]]]

    Permalink
    Definition Classes
    AbstractWorkspaceWorkspace
  129. def loadWorld(strings: Array[String], version: String, worldInterface: WorldLoaderInterface): Unit

    Permalink
    Definition Classes
    AbstractWorkspace
  130. def logCustomGlobals(nameValuePairs: Seq[(String, String)]): Unit

    Permalink
  131. def logCustomMessage(msg: String): Unit

    Permalink
  132. def magicOpen(name: String): Nothing

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  133. def mainRNG(): MersenneTwisterFast

    Permalink
    Definition Classes
    AbstractWorkspaceRandomServices
  134. def makeCommandThunk(source: String, jobOwnerName: String): CommandLogoThunk

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  135. def makeReporterThunk(source: String, jobOwnerName: String): ReporterLogoThunk

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  136. def modelFileName: String

    Permalink
    Definition Classes
    ModelDir
  137. def modelNameForDisplay: String

    Permalink
    Definition Classes
    ModelDir
  138. var modelOpened: Boolean

    Permalink

    Has a model been opened in this workspace?

  139. def mouseDown: Boolean

    Permalink
    Definition Classes
    Workspace
  140. def mouseInside: Boolean

    Permalink
    Definition Classes
    Workspace
  141. def mouseXCor: Double

    Permalink
    Definition Classes
    Workspace
  142. def mouseYCor: Double

    Permalink
    Definition Classes
    Workspace
  143. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  144. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  145. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  146. def open(path: String): Unit

    Permalink

    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] )
  147. def openFromSource(source: String): Unit

    Permalink

    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.

  148. def openModel(model: Model): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  149. def openString(modelContents: String): Unit

    Permalink

    Opens a model stored in a string

    Opens a model stored in a string

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  150. val outputAreaBuffer: StringBuilder

    Permalink
  151. def outputObject(obj: AnyRef, owner: AnyRef, addNewline: Boolean, readable: Boolean, destination: OutputDestination): Unit

    Permalink
    Definition Classes
    APIConformant
  152. def ownerFinished(owner: JobOwner): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  153. def patchSize: Double

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspaceViewSettings
  154. def patchSize(patchSize: Double): Unit

    Permalink
  155. def periodicUpdate(): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  156. def perspective: Perspective

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  157. val plotManager: PlotManager

    Permalink
    Definition Classes
    Plotting
  158. var previewCommands: PreviewCommands

    Permalink
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  159. def previewCommandsString: String

    Permalink
    Definition Classes
    APIConformant
  160. def profilingEnabled: Boolean

    Permalink
    Definition Classes
    Traceable
  161. def profilingTracer: Tracer

    Permalink
    Definition Classes
    Traceable
  162. def readFromString(string: String): AnyRef

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  163. def readNumberFromString(source: String): AnyRef

    Permalink
  164. def renderPerspective: Boolean

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  165. val renderer: RendererInterface

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  166. def report(source: String): AnyRef

    Permalink

    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

  167. def requestDisplayUpdate(force: Boolean): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  168. def resetTicks(context: Context): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  169. def resizeView(): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceWorldResizer
  170. def runCompiledCommands(owner: JobOwner, procedure: Procedure): Boolean

    Permalink
    Definition Classes
    Evaluating
  171. def runCompiledReporter(owner: JobOwner, procedure: Procedure): AnyRef

    Permalink
    Definition Classes
    Evaluating
  172. def runtimeError(owner: JobOwner, context: Context, instruction: Instruction, ex: Exception): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  173. def sendOutput(oo: OutputObject, toOutputArea: Boolean): Unit

    Permalink

    Internal use only.

    Internal use only. Called from job thread.

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

    Permalink
  175. def setDimensions(d: WorldDimensions): Unit

    Permalink

    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
  176. def setModelPath(modelPath: String): Unit

    Permalink
    Definition Classes
    ModelDir
  177. def setModelType(modelType: ModelType): Unit

    Permalink
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace
  178. def setOutputAreaContents(text: String): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceImporterUser
  179. def setProcedures(procedures: Map[String, Procedure]): Unit

    Permalink
    Definition Classes
    AbstractWorkspace
  180. def setProfilingTracer(t: Tracer): Unit

    Permalink
    Definition Classes
    Traceable
  181. def setSize(x: Int, y: Int): Unit

    Permalink
  182. def setupPlots(c: Context): Unit

    Permalink
    Definition Classes
    Plotting
  183. def showTickCounter(showTickCounter: Boolean): Unit

    Permalink
  184. def showTickCounter: Boolean

    Permalink
  185. var silent: Boolean

    Permalink

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

  186. def startLogging(properties: String): Nothing

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  187. def stopInspectingAgent(agent: Agent): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  188. def stopInspectingDeadAgents(): Unit

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  189. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  190. def tick(context: Context, originalInstruction: Instruction): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  191. def tickCounterLabel(s: String): Unit

    Permalink
  192. def tickCounterLabel: String

    Permalink
  193. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  194. def tokenizeForColorization(s: String): Array[Token]

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  195. def unsupported: Nothing

    Permalink
  196. def updateDisplay(haveWorldLockAlready: Boolean): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  197. def updateMode(updateMode: UpdateMode): Unit

    Permalink
  198. def updateMode(): UpdateMode

    Permalink
    Definition Classes
    AbstractWorkspace
  199. def updatePlots(c: Context): Unit

    Permalink
    Definition Classes
    Plotting
  200. def updateUI(): Unit

    Permalink
    Definition Classes
    Workspace
  201. def userDirectory: Option[String]

    Permalink
    Definition Classes
    Workspace
  202. def userFile: Option[String]

    Permalink
    Definition Classes
    Workspace
  203. def userInput(msg: String): Option[String]

    Permalink
    Definition Classes
    Workspace
  204. def userMessage(msg: String): Boolean

    Permalink
    Definition Classes
    Workspace
  205. def userNewFile: Option[String]

    Permalink
    Definition Classes
    Workspace
  206. def userOneOf(msg: String, xs: LogoList): Option[AnyRef]

    Permalink
    Definition Classes
    Workspace
  207. def userYesOrNo(msg: String): Option[Boolean]

    Permalink
    Definition Classes
    Workspace
  208. def viewHeight: Double

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  209. def viewOffsetX: Double

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  210. def viewOffsetY: Double

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  211. def viewWidth: Double

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  212. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  213. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  214. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  215. def waitFor(runnable: CommandRunnable): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  216. def waitForQueuedEvents(): Unit

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink
  219. val world: World

    Permalink
    Definition Classes
    AbstractWorkspaceScalaWorkspaceWorkspace
  220. def worldChecksum: String

    Permalink
    Definition Classes
    Checksums
  221. def zipLogFiles(filename: String): Nothing

    Permalink

    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 Traceable

Inherited from BehaviorSpaceInformation

Inherited from ModelDir

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