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. HubNetManager
  9. Traceable
  10. BehaviorSpaceInformation
  11. ModelTracker
  12. Evaluating
  13. Checksums
  14. Benchmarking
  15. APIConformant
  16. AbstractWorkspace
  17. HubNetWorkspaceInterface
  18. LogoThunkFactory
  19. ExtendableWorkspace
  20. Workspace
  21. CompilerServices
  22. JobManagerOwner
  23. Workspace
  24. Controllable
  25. ViewSettings
  26. RandomServices
  27. LiteralParser
  28. ImporterUser
  29. WorldResizer
  30. AnyRef
  31. 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
    ModelTracker
  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 auxRNG(): MersenneTwisterFast

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

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

    Permalink
    Definition Classes
    BehaviorSpaceInformation
  15. def behaviorSpaceExperimentName: String

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

    Permalink
    Definition Classes
    BehaviorSpaceInformation
  17. def behaviorSpaceRunNumber: Int

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

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

    Permalink

    Internal use only.

    Internal use only.

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

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

    Permalink
  22. def changeTopology(wrapX: Boolean, wrapY: Boolean): Unit

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

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

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

    Permalink
  26. def clearDrawing(): Unit

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

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

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  29. def clearTicks(): Unit

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

    Permalink
  31. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. 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

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

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

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

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

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

    Permalink
    Definition Classes
    HeadlessWorkspaceModelTrackerWorkspace
  38. var compilerTestingMode: Boolean

    Permalink

    Internal use only.

    Internal use only.

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

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

    Permalink
  41. def convertToNormal(): String

    Permalink

    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

    Permalink
    Definition Classes
    Plotting
  43. val defaultOwner: SimpleJobOwner

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

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  45. def dispose(): Unit

    Permalink
    Definition Classes
    HubNetManagerAbstractWorkspaceWorkspaceWorkspace
    Annotations
    @throws( classOf[InterruptedException] )
  46. def doImport(importer: FileImporter): Unit

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

    Permalink
    Definition Classes
    AbstractWorkspace
  48. def drawSpotlight: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    Not implemented.

    Not implemented.

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

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

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

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

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

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

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  68. def exportView: BufferedImage

    Permalink

    Get a snapshot of the 2D view.

    Get a snapshot of the 2D view.

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

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

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

    Permalink
    Definition Classes
    ModelTracker
  72. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    APIConformant
  75. def fontSize: Int

    Permalink
    Definition Classes
    APIConformant
  76. def forceSaveAs: Boolean

    Permalink

    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

    Permalink
  78. def frameRate: Double

    Permalink
  79. def getAndCreateDrawing(): BufferedImage

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

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

    Permalink
    Definition Classes
    AbstractWorkspaceScalaWorkspaceWorkspace
  82. def getExtensionManager(): ExtensionManager

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

    Permalink

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

  84. def getHubNetManager: Option[HubNetInterface]

    Permalink
    Definition Classes
    HubNetManagerWorkspace
  85. def getMinimumWidth: Int

    Permalink
  86. 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
    ModelTracker
  87. 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
    ModelTracker
  88. def getModelFileUri: Option[URI]

    Permalink
    Definition Classes
    ModelTracker
  89. 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
    ModelTracker
  90. def getModelType: ModelType

    Permalink
    Definition Classes
    ModelTracker
  91. def getPlot(plot: String): PlotInterface

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

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

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

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

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  96. def graphicsChecksum: String

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

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

    Permalink

    Halts all running NetLogo code in this workspace.

    Halts all running NetLogo code in this workspace.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspace
  99. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  100. def hubNetManager: Option[HubNetInterface]

    Permalink
    Definition Classes
    HubNetManager
  101. val hubNetManagerFactory: HubNetManagerFactory

    Permalink
    Definition Classes
    AbstractWorkspaceScalaHubNetManager
  102. def hubNetRunning: Boolean

    Permalink
    Definition Classes
    HubNetManager
  103. def hubNetRunning_=(running: Boolean): Unit

    Permalink
  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 loadFromModel(model: Model): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractWorkspaceScala
  130. def loadWorld(view: View, worldInterface: WorldLoaderInterface): Unit

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

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

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

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  134. def mainRNG(): MersenneTwisterFast

    Permalink
    Definition Classes
    AbstractWorkspaceRandomServices
  135. def makeCommandThunk(source: String, jobOwnerName: String, rng: MersenneTwisterFast): CommandLogoThunk

    Permalink
    Definition Classes
    Evaluating
    Annotations
    @throws( classOf[CompilerException] )
  136. def makeCommandThunk(source: String, jobOwnerName: String): CommandLogoThunk

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

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

    Permalink
    Definition Classes
    ModelTracker
  139. def modelNameForDisplay: String

    Permalink
    Definition Classes
    ModelTracker
  140. var modelOpened: Boolean

    Permalink

    Has a model been opened in this workspace?

  141. def mouseDown: Boolean

    Permalink
    Definition Classes
    Workspace
  142. def mouseInside: Boolean

    Permalink
    Definition Classes
    Workspace
  143. def mouseXCor: Double

    Permalink
    Definition Classes
    Workspace
  144. def mouseYCor: Double

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

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

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

    Permalink
    Definition Classes
    AnyRef
  148. 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] )
  149. def openFromSource(source: String, extension: 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.

  150. def openModel(model: Model): Unit

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

    Permalink

    Opens a model stored in a string

    Opens a model stored in a string

    Definition Classes
    HeadlessWorkspaceAbstractWorkspaceWorkspace
  152. val outputAreaBuffer: StringBuilder

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

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

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  155. def patchSize: Double

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

    Permalink
  157. def periodicUpdate(): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  158. def perspective: Perspective

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  159. val plotManager: PlotManager

    Permalink
    Definition Classes
    Plotting
  160. val plotRNG: MersenneTwisterFast

    Permalink
    Definition Classes
    Plotting
  161. var previewCommands: PreviewCommands

    Permalink
    Definition Classes
    AbstractWorkspaceScalaWorkspace
  162. def previewCommandsString: String

    Permalink
    Definition Classes
    APIConformant
  163. def profilingEnabled: Boolean

    Permalink
    Definition Classes
    Traceable
  164. def profilingTracer: Tracer

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

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

    Permalink
  167. def renderPerspective: Boolean

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  168. val renderer: RendererInterface

    Permalink
    Definition Classes
    HeadlessWorkspaceWorkspace
  169. 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

  170. def requestDisplayUpdate(force: Boolean): Unit

    Permalink

    Internal use only.

    Internal use only.

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

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

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

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

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

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceJobManagerOwner
  176. def seedRNGs(seed: Int): Unit

    Permalink
    Definition Classes
    AbstractWorkspaceScalaRandomServices
  177. def sendOutput(oo: OutputObject, toOutputArea: Boolean): Unit

    Permalink

    Internal use only.

    Internal use only. Called from job thread.

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

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

    Permalink
    Definition Classes
    ModelTracker
  181. def setModelType(tpe: ModelType): Unit

    Permalink
    Definition Classes
    ModelTracker
  182. def setOutputAreaContents(text: String): Unit

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

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

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

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

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

    Permalink
  188. def showTickCounter: Boolean

    Permalink
  189. var silent: Boolean

    Permalink

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

  190. def startLogging(properties: String): Nothing

    Permalink

    Internal use only.

    Internal use only.

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

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

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

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

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

    Permalink
  196. def tickCounterLabel: String

    Permalink
  197. def toString(): String

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

    Permalink
    Definition Classes
    AbstractWorkspaceCompilerServices
  199. def unsupported: Nothing

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink
  202. def updateMode(): UpdateMode

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Workspace
  212. def viewHeight: Double

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  213. def viewOffsetX: Double

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  214. def viewOffsetY: Double

    Permalink
    Definition Classes
    HeadlessWorkspaceAPIConformantViewSettings
  215. def viewWidth: Double

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

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

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

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

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    HeadlessWorkspaceWorkspace
  220. def waitForQueuedEvents(): Unit

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink
  223. val world: World

    Permalink
    Definition Classes
    AbstractWorkspaceScalaWorkspaceWorkspace
  224. def worldChecksum: String

    Permalink
    Definition Classes
    Checksums
  225. 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 HubNetManager

Inherited from Traceable

Inherited from BehaviorSpaceInformation

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