c

org.nlogo.workspace

AbstractWorkspace

abstract class AbstractWorkspace extends Workspace with EditorWorkspace with ExtendableWorkspace with LogoThunkFactory with HubNetWorkspaceInterface

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractWorkspace
  2. HubNetWorkspaceInterface
  3. CompilerServices
  4. LogoThunkFactory
  5. ExtendableWorkspace
  6. EditorWorkspace
  7. Workspace
  8. JobManagerOwner
  9. Workspace
  10. Controllable
  11. ViewSettings
  12. RandomServices
  13. LiteralParser
  14. ImporterUser
  15. WorldResizer
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractWorkspace(world: World)
    Attributes
    protected[workspace]

Type Members

  1. abstract class FileImporter extends AnyRef
    Attributes
    protected[workspace]

Abstract Value Members

  1. abstract def aggregateManager(): AggregateManagerInterface
  2. abstract def attachModelDir(filePath: String): String
    Definition Classes
    ExtendableWorkspace
    Annotations
    @throws( ... )
  3. abstract def behaviorSpaceExperimentName(name: String): Unit
    Definition Classes
    Workspace
  4. abstract def behaviorSpaceExperimentName: String
    Definition Classes
    Workspace
  5. abstract def behaviorSpaceRunNumber(n: Int): Unit
    Definition Classes
    Workspace
  6. abstract def behaviorSpaceRunNumber: Int
    Definition Classes
    Workspace
  7. abstract def benchmark(minTime: Int, maxTime: Int): Unit
    Definition Classes
    Workspace
  8. abstract def breathe(): Unit
  9. abstract def changeTopology(wrapX: Boolean, wrapY: Boolean): Unit
    Definition Classes
    Workspace
  10. abstract def checkCommandSyntax(source: String): Unit
    Definition Classes
    CompilerServices
    Annotations
    @throws( classOf[CompilerException] )
  11. abstract def checkReporterSyntax(source: String): Unit
    Definition Classes
    CompilerServices
    Annotations
    @throws( classOf[CompilerException] )
  12. abstract def clearAll(): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  13. abstract def clearDrawing(): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  14. abstract def clearLastLogoException(): Unit
    Definition Classes
    Workspace
  15. abstract def clearOutput(): Unit
    Definition Classes
    Workspace
  16. abstract def clearTicks(): Unit
    Definition Classes
    Workspace
  17. abstract def command(source: String): Unit
    Definition Classes
    Controllable
  18. abstract def compileCommands(source: String, agentKind: AgentKind): Procedure
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[CompilerException] )
  19. abstract def compileCommands(source: String): Procedure
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[CompilerException] )
  20. abstract def compileReporter(source: String): Procedure
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[CompilerException] )
  21. abstract def compiler(): PresentationCompilerInterface
    Definition Classes
    AbstractWorkspaceWorkspace
    Annotations
    @Override()
  22. abstract def compilerTestingMode: Boolean
    Definition Classes
    ExtendableWorkspace
  23. abstract def completedActivations: WeakHashMap[Activation, Boolean]

    completedActivations is used by thunk-did-finish

    completedActivations is used by thunk-did-finish

    Definition Classes
    Workspace
  24. abstract def convertToNormal(): String
    Definition Classes
    EditorWorkspace
    Annotations
    @throws( classOf[java.io.IOException] )
  25. abstract def currentPlot(plot: String): Unit
    Definition Classes
    ImporterUser
  26. abstract def dialect: Dialect
    Definition Classes
    CompilerServices
  27. abstract def drawSpotlight: Boolean
    Definition Classes
    ViewSettings
  28. abstract def evaluateCommands(owner: JobOwner, source: String, agents: AgentSet, waitForCompletion: Boolean): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[CompilerException] )
  29. abstract def evaluateCommands(owner: JobOwner, source: String, agent: Agent, waitForCompletion: Boolean): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[CompilerException] )
  30. abstract def evaluateCommands(owner: JobOwner, source: String, waitForCompletion: Boolean): Unit
    Definition Classes
    Controllable
    Annotations
    @throws( classOf[CompilerException] )
  31. abstract def evaluateCommands(owner: JobOwner, source: String): Unit
    Definition Classes
    Controllable
    Annotations
    @throws( classOf[CompilerException] )
  32. abstract def evaluateReporter(owner: JobOwner, source: String, agents: AgentSet): AnyRef
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[CompilerException] )
  33. abstract def evaluateReporter(owner: JobOwner, source: String, agent: Agent): AnyRef
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[CompilerException] )
  34. abstract def evaluateReporter(owner: JobOwner, source: String): AnyRef
    Definition Classes
    Controllable
    Annotations
    @throws( classOf[CompilerException] )
  35. abstract def exportAllPlots(path: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  36. abstract def exportDrawing(path: String, format: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  37. abstract def exportInterface(path: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  38. abstract def exportOutput(path: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  39. abstract def exportPlot(plotName: String, path: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  40. abstract def exportView: BufferedImage
    Definition Classes
    Workspace
  41. abstract def exportView(path: String, format: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  42. abstract def exportWorld(writer: PrintWriter): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  43. abstract def exportWorld(path: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  44. abstract def fileManager: FileManager
    Definition Classes
    ExtendableWorkspace
  45. abstract def findProcedurePositions(source: String): Map[String, ProcedureSyntax]
    Definition Classes
    CompilerServices
  46. abstract def fontSize: Int
    Definition Classes
    ViewSettings
  47. abstract def getAndCreateDrawing(): BufferedImage
    Definition Classes
    Workspace
  48. abstract def getCompilationEnvironment: CompilationEnvironment
    Definition Classes
    Workspace
  49. abstract def getComponent[A <: AnyRef](componentClass: Class[A]): Option[A]
    Definition Classes
    Workspace
  50. abstract def getLibraryManager: LibraryManager
    Definition Classes
    Workspace
  51. abstract def getModelDir: String
    Definition Classes
    Workspace
  52. abstract def getModelFileName: String
    Definition Classes
    Workspace
  53. abstract def getModelPath: String
    Definition Classes
    Workspace
  54. abstract def getPlot(plot: String): PlotInterface
    Definition Classes
    ImporterUser
  55. abstract def getTokenAtPosition(source: String, position: Int): Token
    Definition Classes
    CompilerServices
  56. abstract def graphicsChecksum: String
    Definition Classes
    Workspace
  57. abstract def hubNetRunning_=(running: Boolean): Unit
    Definition Classes
    HubNetWorkspaceInterface
  58. abstract def importDrawing(is: InputStream, mimeTypeOpt: Option[String]): Unit
    Attributes
    protected[workspace]
  59. abstract def importerErrorHandler(): ErrorHandler
    Attributes
    protected[workspace]
  60. abstract def init(): Unit
  61. abstract def inspectAgent(agentKind: AgentKind, agent: Agent, radius: Double): Unit
    Definition Classes
    Workspace
  62. abstract def inspectAgent(agent: Agent, radius: Double): Unit
    Definition Classes
    Workspace
  63. abstract def isConstant(s: String): Boolean
    Definition Classes
    CompilerServices
  64. abstract def isHeadless: Boolean
    Definition Classes
    ViewSettings
  65. abstract def isReporter(s: String): Boolean
    Definition Classes
    CompilerServices
  66. abstract def isValidIdentifier(s: String): Boolean
    Definition Classes
    CompilerServices
  67. abstract def lastLogoException: LogoException
    Definition Classes
    Workspace
  68. abstract def lastRunTimes(): WeakHashMap[Job, WeakHashMap[Agent, WeakHashMap[Command, MutableLong]]]

    lastRunTimes is used by every to track how long ago a job ran

    lastRunTimes is used by every to track how long ago a job ran

    Definition Classes
    AbstractWorkspaceWorkspace
  69. abstract def magicOpen(name: String): Unit
    Definition Classes
    AbstractWorkspaceEditorWorkspace
  70. abstract def makeCommandThunk(code: String, jobOwnerName: String, rng: MersenneTwisterFast): CommandLogoThunk
    Definition Classes
    LogoThunkFactory
    Annotations
    @throws( classOf[CompilerException] )
  71. abstract def makeCommandThunk(code: String, jobOwnerName: String): CommandLogoThunk
    Definition Classes
    LogoThunkFactory
    Annotations
    @throws( classOf[CompilerException] )
  72. abstract def makeReporterThunk(code: String, jobOwnerName: String): ReporterLogoThunk
    Definition Classes
    LogoThunkFactory
    Annotations
    @throws( classOf[CompilerException] )
  73. abstract def modelNameForDisplay: String
    Definition Classes
    HubNetWorkspaceInterface
  74. abstract def open(modelPath: String, shouldAutoInstallLibs: Boolean): Unit
    Definition Classes
    WorkspaceControllable
    Annotations
    @throws( classOf[IOException] ) @throws( classOf[CompilerException] ) @throws( classOf[LogoException] )
  75. abstract def openModel(model: Model, shouldAutoInstallLibs: Boolean): Unit
    Definition Classes
    Workspace
  76. abstract def openString(modelContents: String): Unit
  77. abstract def outputObject(obj: AnyRef, owner: AnyRef, addNewline: Boolean, readable: Boolean, destination: OutputDestination): Unit
    Definition Classes
    Workspace
  78. abstract def ownerFinished(owner: JobOwner): Unit
    Definition Classes
    JobManagerOwner
  79. abstract def patchSize: Double
    Definition Classes
    WorkspaceViewSettings
  80. abstract def patchSize(patchSize: Double): Unit
    Definition Classes
    WorldResizer
  81. abstract def periodicUpdate(): Unit
    Definition Classes
    JobManagerOwner
  82. abstract def perspective: Perspective
    Definition Classes
    ViewSettings
  83. abstract def plotRNG: MersenneTwisterFast
    Definition Classes
    Workspace
  84. abstract def procedures(): ListMap[String, Procedure]
    Definition Classes
    AbstractWorkspaceWorkspace
  85. abstract def procedures_=(procedures: ProceduresMap): Unit
    Definition Classes
    Workspace
  86. abstract def profilingEnabled: Boolean
    Definition Classes
    ExtendableWorkspace
  87. abstract def profilingTracer: Tracer
    Definition Classes
    Workspace
  88. abstract def readFromString(path: String): AnyRef
    Definition Classes
    ExtendableWorkspace
  89. abstract def readNumberFromString(source: String): Double
    Definition Classes
    CompilerServicesLiteralParser
    Annotations
    @throws( classOf[CompilerException] )
  90. abstract def realPlotManager: PlotManagerInterface
    Definition Classes
    Workspace
  91. abstract def renderPerspective: Boolean
    Definition Classes
    ViewSettings
  92. abstract def renderer: RendererInterface
    Definition Classes
    Workspace
  93. abstract def report(source: String): AnyRef
    Definition Classes
    Controllable
  94. abstract def requestDisplayUpdate(force: Boolean): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  95. abstract def resetTicks(c: Context): Unit
    Definition Classes
    Workspace
  96. abstract def resizeView(): Unit
    Definition Classes
    WorldResizer
  97. abstract def runCompiledCommands(owner: JobOwner, procedure: Procedure): Boolean
    Definition Classes
    Workspace
  98. abstract def runCompiledReporter(owner: JobOwner, procedure: Procedure): AnyRef
    Definition Classes
    Workspace
  99. abstract def runtimeError(owner: JobOwner, context: Context, instruction: Instruction, ex: Exception): Unit
    Definition Classes
    JobManagerOwner
  100. abstract def seedRNGs(seed: Int): Unit
    Definition Classes
    RandomServices
  101. abstract def sendOutput(oo: OutputObject, toOutputArea: Boolean): Unit
    Attributes
    protected[workspace]
  102. abstract def setDimensions(dim: WorldDimensions, patchSize: Double): Unit
    Definition Classes
    WorldResizer
  103. abstract def setDimensions(dim: WorldDimensions): Unit
    Definition Classes
    WorldResizer
  104. abstract def setModelPath(path: String): Unit
    Definition Classes
    Workspace
  105. abstract def setProcedures(procedures: ListMap[String, Procedure]): Unit
  106. abstract def setProfilingTracer(tracer: Tracer): Unit
    Definition Classes
    ExtendableWorkspace
  107. abstract def setupPlots(c: Context): Unit
    Definition Classes
    Workspace
  108. abstract def stopInspectingAgent(agent: Agent): Unit
    Definition Classes
    Workspace
  109. abstract def stopInspectingDeadAgents(): Unit
    Definition Classes
    Workspace
  110. abstract def tick(c: Context, originalInstruction: Instruction): Unit
    Definition Classes
    Workspace
  111. abstract def tokenizeForColorization(source: String): Array[Token]
    Definition Classes
    CompilerServices
  112. abstract def tokenizeForColorizationIterator(source: String): Iterator[Token]
    Definition Classes
    CompilerServices
  113. abstract def updateDisplay(haveWorldLockAlready: Boolean): Unit
    Definition Classes
    JobManagerOwner
  114. abstract def updatePlots(c: Context): Unit
    Definition Classes
    Workspace
  115. abstract def viewHeight: Double
    Definition Classes
    ViewSettings
  116. abstract def viewOffsetX: Double
    Definition Classes
    ViewSettings
  117. abstract def viewOffsetY: Double
    Definition Classes
    ViewSettings
  118. abstract def viewWidth: Double
    Definition Classes
    ViewSettings
  119. abstract def waitFor(runnable: CommandRunnable): Unit
    Definition Classes
    Workspace
  120. abstract def waitForQueuedEvents(): Unit
    Definition Classes
    Workspace
  121. abstract def waitForResult[T](runnable: ReporterRunnable[T]): T
    Definition Classes
    Workspace
  122. abstract def world: World
    Definition Classes
    WorkspaceWorkspace
  123. abstract def worldChecksum: String
    Definition Classes
    Workspace
  124. abstract def plotManager: AnyRef
    Definition Classes
    Workspace
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) Use realPlotManager

Concrete 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. def addCustomShapes(filename: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  5. def addJobFromJobThread(job: Job): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def auxRNG(): MersenneTwisterFast
    Definition Classes
    AbstractWorkspaceRandomServices
  8. def beep(): Unit
    Definition Classes
    Workspace
  9. def breathe(context: Context): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  11. def compileForRun(source: String, context: Context, reporter: Boolean): Procedure
    Definition Classes
    AbstractWorkspaceWorkspace
  12. 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
    AbstractWorkspaceWorkspace
  13. def doImport(importer: FileImporter): Unit
    Attributes
    protected[workspace]
  14. def doImport(importer: BufferedReaderImporter): Unit
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def exportPlotWarningAction(): ExportPlotWarningAction
    Definition Classes
    AbstractWorkspaceWorkspace
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. def getExtensionManager(): ExtensionManager
    Definition Classes
    AbstractWorkspaceWorkspace
  20. def getPlotCompilationErrorAction(): PlotCompilationErrorAction

    returns

    plotCompilationErrorAction action to take if a plot compilation error occurs

    Definition Classes
    Controllable
  21. def getPropertiesInterface(): WorldPropertiesInterface
  22. def guessExportName(defaultName: String): String
  23. def halt(): Unit
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  25. def importDrawing(is: InputStream): Unit
    Attributes
    protected[workspace]
  26. def importDrawing(file: File): Unit
    Attributes
    protected[workspace]
  27. def importDrawing(filename: String): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  28. def importExtensionData(name: String, data: List[Array[String]], handler: ImportErrorHandler): Unit
    Definition Classes
    AbstractWorkspaceImporterUser
  29. def importWorld(reader: Reader): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  30. def importWorld(filename: String): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  31. def isExtensionName(name: String): Boolean
    Definition Classes
    AbstractWorkspaceImporterUser
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def joinForeverButtons(agent: Agent): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  34. def mainRNG(): MersenneTwisterFast
    Definition Classes
    AbstractWorkspaceRandomServices
  35. def mouseDown: Boolean
    Definition Classes
    Workspace
  36. def mouseInside: Boolean
    Definition Classes
    Workspace
  37. def mouseXCor: Double
    Definition Classes
    Workspace
  38. def mouseYCor: Double
    Definition Classes
    Workspace
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  42. def open(path: String): Unit
    Definition Classes
    Controllable
    Annotations
    @throws( classOf[java.io.IOException] )
  43. def openModel(model: Model): Unit
    Definition Classes
    Workspace
  44. def previewCommands(): PreviewCommands
    Definition Classes
    AbstractWorkspaceWorkspace
  45. def setExportPlotWarningAction(action: ExportPlotWarningAction): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  46. def setOutputAreaContents(text: String): Unit
    Definition Classes
    AbstractWorkspaceImporterUser
  47. def setPlotCompilationErrorAction(plotCompilationErrorAction: PlotCompilationErrorAction): Unit

    plotCompilationErrorAction

    action to take if a plot compilation error occurs Throw - Throw the first error Output - Output all errors Ignore - Do nothing

    Definition Classes
    Controllable
  48. def setPreviewCommands(commands: PreviewCommands): Unit
  49. def setShouldUpdatePlots(update: Boolean): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  50. def setTriedToExportPlot(triedToExport: Boolean): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  51. def shouldUpdatePlots(): Boolean
    Definition Classes
    AbstractWorkspaceWorkspace
  52. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. def triedToExportPlot(): Boolean
    Definition Classes
    AbstractWorkspaceWorkspace
  55. def updateMode(updateMode: UpdateMode): Unit
  56. def updateMode(): UpdateMode
  57. def updateUI(): Unit
    Definition Classes
    Workspace
  58. def userDirectory: Option[String]
    Definition Classes
    Workspace
  59. def userFile: Option[String]
    Definition Classes
    Workspace
  60. def userInput(msg: String): Option[String]
    Definition Classes
    Workspace
  61. def userMessage(msg: String): Boolean
    Definition Classes
    Workspace
  62. def userNewFile: Option[String]
    Definition Classes
    Workspace
  63. def userOneOf(msg: String, xs: LogoList): Option[AnyRef]
    Definition Classes
    Workspace
  64. def userYesOrNo(msg: String): Option[Boolean]
    Definition Classes
    Workspace
  65. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. 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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from HubNetWorkspaceInterface

Inherited from CompilerServices

Inherited from LogoThunkFactory

Inherited from ExtendableWorkspace

Inherited from EditorWorkspace

Inherited from Workspace

Inherited from JobManagerOwner

Inherited from Workspace

Inherited from api.Controllable

Inherited from ViewSettings

Inherited from RandomServices

Inherited from LiteralParser

Inherited from ImporterUser

Inherited from WorldResizer

Inherited from AnyRef

Inherited from Any

Ungrouped