t

org.nlogo.workspace

Components

trait Components extends AbstractWorkspace

Components manages components which are dynamically registered with the Workspace

At the moment, it just holds and returns those components. Perhaps in the future we could have a more advanced component lifecycle where components could be initialized, disposed, and made aware of workspace events (like ticks)

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

Type Members

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

Abstract Value Members

  1. abstract def aggregateManager(): AggregateManagerInterface
    Definition Classes
    AbstractWorkspace
  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
    Definition Classes
    AbstractWorkspace
  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
  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 deleteLogFiles(): Unit
    Definition Classes
    LoggingWorkspace
  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 fontSize: Int
    Definition Classes
    ViewSettings
  46. abstract def getAndCreateDrawing(): BufferedImage
    Definition Classes
    Workspace
  47. abstract def getCompilationEnvironment: CompilationEnvironment
    Definition Classes
    Workspace
  48. abstract def getModelDir: String
    Definition Classes
    Workspace
  49. abstract def getModelFileName: String
    Definition Classes
    Workspace
  50. abstract def getModelPath: String
    Definition Classes
    Workspace
  51. abstract def getPlot(plot: String): PlotInterface
    Definition Classes
    ImporterUser
  52. abstract def graphicsChecksum: String
    Definition Classes
    Workspace
  53. abstract def hubNetRunning_=(running: Boolean): Unit
    Definition Classes
    HubNetWorkspaceInterface
  54. abstract def importDrawing(file: File): Unit
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace
  55. abstract def importerErrorHandler(): ErrorHandler
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace
  56. abstract def init(): Unit
    Definition Classes
    AbstractWorkspace
  57. abstract def inspectAgent(agentKind: AgentKind, agent: Agent, radius: Double): Unit
    Definition Classes
    Workspace
  58. abstract def inspectAgent(agent: Agent, radius: Double): Unit
    Definition Classes
    Workspace
  59. abstract def isHeadless: Boolean
    Definition Classes
    ViewSettings
  60. abstract def isReporter(s: String): Boolean
    Definition Classes
    CompilerServices
  61. abstract def lastLogoException: LogoException
    Definition Classes
    Workspace
  62. 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
  63. abstract def magicOpen(name: String): Unit
    Definition Classes
    AbstractWorkspaceEditorWorkspace
  64. abstract def makeCommandThunk(code: String, jobOwnerName: String, rng: MersenneTwisterFast): CommandLogoThunk
    Definition Classes
    LogoThunkFactory
    Annotations
    @throws( classOf[CompilerException] )
  65. abstract def makeCommandThunk(code: String, jobOwnerName: String): CommandLogoThunk
    Definition Classes
    LogoThunkFactory
    Annotations
    @throws( classOf[CompilerException] )
  66. abstract def makeReporterThunk(code: String, jobOwnerName: String): ReporterLogoThunk
    Definition Classes
    LogoThunkFactory
    Annotations
    @throws( classOf[CompilerException] )
  67. abstract def modelNameForDisplay: String
    Definition Classes
    HubNetWorkspaceInterface
  68. abstract def open(path: String): Unit
    Definition Classes
    AbstractWorkspaceWorkspaceControllable
  69. abstract def openModel(model: Model): Unit
    Definition Classes
    Workspace
  70. abstract def openString(modelContents: String): Unit
    Definition Classes
    AbstractWorkspace
  71. abstract def outputObject(obj: AnyRef, owner: AnyRef, addNewline: Boolean, readable: Boolean, destination: OutputDestination): Unit
    Definition Classes
    Workspace
  72. abstract def ownerFinished(owner: JobOwner): Unit
    Definition Classes
    JobManagerOwner
  73. abstract def patchSize: Double
    Definition Classes
    WorkspaceViewSettings
  74. abstract def patchSize(patchSize: Double): Unit
    Definition Classes
    WorldResizer
  75. abstract def periodicUpdate(): Unit
    Definition Classes
    JobManagerOwner
  76. abstract def perspective: Perspective
    Definition Classes
    ViewSettings
  77. abstract def plotManager: AnyRef
    Definition Classes
    Workspace
  78. abstract def previewCommands: PreviewCommands
    Definition Classes
    Workspace
  79. abstract def procedures(): ListMap[String, Procedure]
    Definition Classes
    AbstractWorkspaceWorkspace
  80. abstract def procedures_=(procedures: ProceduresMap): Unit
    Definition Classes
    Workspace
  81. abstract def profilingEnabled: Boolean
    Definition Classes
    ExtendableWorkspace
  82. abstract def profilingTracer: Tracer
    Definition Classes
    Workspace
  83. abstract def readFromString(s: String): AnyRef
    Definition Classes
    CompilerServicesLiteralParser
    Annotations
    @throws( classOf[CompilerException] )
  84. abstract def renderPerspective: Boolean
    Definition Classes
    ViewSettings
  85. abstract def renderer: RendererInterface
    Definition Classes
    Workspace
  86. abstract def report(source: String): AnyRef
    Definition Classes
    Controllable
  87. abstract def requestDisplayUpdate(force: Boolean): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  88. abstract def resetTicks(c: Context): Unit
    Definition Classes
    Workspace
  89. abstract def resizeView(): Unit
    Definition Classes
    WorldResizer
  90. abstract def runCompiledCommands(owner: JobOwner, procedure: Procedure): Boolean
    Definition Classes
    Workspace
  91. abstract def runCompiledReporter(owner: JobOwner, procedure: Procedure): AnyRef
    Definition Classes
    Workspace
  92. abstract def runtimeError(owner: JobOwner, context: Context, instruction: Instruction, ex: Exception): Unit
    Definition Classes
    JobManagerOwner
  93. abstract def seedRNGs(seed: Int): Unit
    Definition Classes
    RandomServices
  94. abstract def sendOutput(oo: OutputObject, toOutputArea: Boolean): Unit
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace
  95. abstract def setDimensions(dim: WorldDimensions, patchSize: Double): Unit
    Definition Classes
    WorldResizer
  96. abstract def setDimensions(dim: WorldDimensions): Unit
    Definition Classes
    WorldResizer
  97. abstract def setModelPath(path: String): Unit
    Definition Classes
    Workspace
  98. abstract def setProcedures(procedures: ListMap[String, Procedure]): Unit
    Definition Classes
    AbstractWorkspace
  99. abstract def setProfilingTracer(tracer: Tracer): Unit
    Definition Classes
    ExtendableWorkspace
  100. abstract def setupPlots(c: Context): Unit
    Definition Classes
    Workspace
  101. abstract def startLogging(properties: String): Unit
    Definition Classes
    LoggingWorkspace
  102. abstract def stopInspectingAgent(agent: Agent): Unit
    Definition Classes
    Workspace
  103. abstract def stopInspectingDeadAgents(): Unit
    Definition Classes
    Workspace
  104. abstract def tick(c: Context, originalInstruction: Instruction): Unit
    Definition Classes
    Workspace
  105. abstract def updateDisplay(haveWorldLockAlready: Boolean): Unit
    Definition Classes
    JobManagerOwner
  106. abstract def updatePlots(c: Context): Unit
    Definition Classes
    Workspace
  107. abstract def viewHeight: Double
    Definition Classes
    ViewSettings
  108. abstract def viewOffsetX: Double
    Definition Classes
    ViewSettings
  109. abstract def viewOffsetY: Double
    Definition Classes
    ViewSettings
  110. abstract def viewWidth: Double
    Definition Classes
    ViewSettings
  111. abstract def waitFor(runnable: CommandRunnable): Unit
    Definition Classes
    Workspace
  112. abstract def waitForQueuedEvents(): Unit
    Definition Classes
    Workspace
  113. abstract def waitForResult[T](runnable: ReporterRunnable[T]): T
    Definition Classes
    Workspace
  114. abstract def world: World
    Definition Classes
    WorkspaceWorkspace
  115. abstract def worldChecksum: String
    Definition Classes
    Workspace
  116. abstract def zipLogFiles(filename: String): Unit
    Definition Classes
    LoggingWorkspace

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 addComponent[A <: AnyRef](componentClass: Class[A], component: A): Unit
  5. def addCustomShapes(filename: String): Unit
    Definition Classes
    Workspace
    Annotations
    @throws( classOf[IOException] )
  6. def addJobFromJobThread(job: Job): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  7. def addLifecycle[A <: AnyRef](lifecycle: ComponentLifecycle[A]): Unit
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def auxRNG(): MersenneTwisterFast
    Definition Classes
    AbstractWorkspaceRandomServices
  10. def beep(): Unit
    Definition Classes
    Workspace
  11. def breathe(context: Context): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def compileForRun(source: String, context: Context, reporter: Boolean): Procedure
    Definition Classes
    AbstractWorkspaceWorkspace
  14. 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] )
  15. def doImport(importer: FileImporter): Unit
    Attributes
    protected[org.nlogo.workspace]
    Definition Classes
    AbstractWorkspace
  16. def doImport(importer: BufferedReaderImporter): Unit
    Definition Classes
    AbstractWorkspace
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def findProcedurePositions(source: String): Map[String, ProcedureSyntax]
    Definition Classes
    AbstractWorkspaceCompilerServices
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  22. def getComponent[A <: AnyRef](componentClass: Class[A]): Option[A]
    Definition Classes
    ComponentsWorkspace
  23. def getExtensionManager(): ExtensionManager
    Definition Classes
    AbstractWorkspaceWorkspace
  24. def getPropertiesInterface(): WorldPropertiesInterface
  25. def getTokenAtPosition(s: String, pos: Int): Token
    Definition Classes
    AbstractWorkspaceCompilerServices
  26. def guessExportName(defaultName: String): String
    Definition Classes
    AbstractWorkspace
  27. def halt(): Unit
    Definition Classes
    AbstractWorkspace
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  29. def importDrawing(filename: String): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  30. def importExtensionData(name: String, data: List[Array[String]], handler: ImportErrorHandler): Unit
    Definition Classes
    AbstractWorkspaceImporterUser
  31. def importWorld(reader: Reader): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  32. def importWorld(filename: String): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  33. def isConstant(s: String): Boolean
    Definition Classes
    AbstractWorkspaceCompilerServices
  34. def isExtensionName(name: String): Boolean
    Definition Classes
    AbstractWorkspaceImporterUser
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. def isValidIdentifier(s: String): Boolean
    Definition Classes
    AbstractWorkspaceCompilerServices
  37. def joinForeverButtons(agent: Agent): Unit
    Definition Classes
    AbstractWorkspaceWorkspace
  38. def mainRNG(): MersenneTwisterFast
    Definition Classes
    AbstractWorkspaceRandomServices
  39. def mouseDown: Boolean
    Definition Classes
    Workspace
  40. def mouseInside: Boolean
    Definition Classes
    Workspace
  41. def mouseXCor: Double
    Definition Classes
    Workspace
  42. def mouseYCor: Double
    Definition Classes
    Workspace
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  46. def readNumberFromString(source: String): Double
  47. def setOutputAreaContents(text: String): Unit
    Definition Classes
    AbstractWorkspaceImporterUser
  48. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. def tokenizeForColorization(s: String): Array[Token]
    Definition Classes
    AbstractWorkspaceCompilerServices
  51. def tokenizeForColorizationIterator(s: String): Iterator[Token]
    Definition Classes
    AbstractWorkspaceCompilerServices
  52. def updateMode(updateMode: UpdateMode): Unit
    Definition Classes
    AbstractWorkspace
  53. def updateMode(): UpdateMode
    Definition Classes
    AbstractWorkspace
  54. def updateUI(): Unit
    Definition Classes
    Workspace
  55. def userDirectory: Option[String]
    Definition Classes
    Workspace
  56. def userFile: Option[String]
    Definition Classes
    Workspace
  57. def userInput(msg: String): Option[String]
    Definition Classes
    Workspace
  58. def userMessage(msg: String): Boolean
    Definition Classes
    Workspace
  59. def userNewFile: Option[String]
    Definition Classes
    Workspace
  60. def userOneOf(msg: String, xs: LogoList): Option[AnyRef]
    Definition Classes
    Workspace
  61. def userYesOrNo(msg: String): Option[Boolean]
    Definition Classes
    Workspace
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. 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

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 api.Controllable

Inherited from ViewSettings

Inherited from RandomServices

Inherited from LiteralParser

Inherited from ImporterUser

Inherited from WorldResizer

Inherited from AnyRef

Inherited from Any

Ungrouped