NetLogo 6.2.2 - org.nlogo.workspace.AbstractWorkspace
Keywords: NetLogo 6.2.2 org.nlogo.workspace.AbstractWorkspace

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package workspace
  Definition Classes
    nlogo
- AbstractWorkspace
- AbstractWorkspaceScala
- AbstractWorkspaceTraits
- Benchmarker
- BufferedReaderImporter
- Checksummer
- Compiling
- ComponentLifecycle
- ComponentPair
- Components
- Controllable
- CurrentModelOpener
- Evaluating
- Evaluator
- ExportOutput
- Exporting
- ExtendableWorkspace
- ExtensionManager
- ExtensionManagerException
- ExtensionPrimitiveManager
- HubNetManagerFactory
- JarLoader
- ModelTracker
- ModelsLibrary
- OpenModel
- OpenModelFromSource
- OpenModelFromURI
- Plotting
- PreviewCommandsRunner
- SaveModel
- SaveModelAs
- WorkspaceFactory
- WorldLoader
- WorldLoader3D
- WorldLoaderInterface

c

org.nlogo.workspace

# AbstractWorkspace 

###

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

Annotations
  @strictfp()
Source
  AbstractWorkspace.java

Linear Supertypes
HubNetWorkspaceInterface, CompilerServices, LogoThunkFactory, LoggingWorkspace, ExtendableWorkspace, EditorWorkspace, Workspace, JobManagerOwner, Workspace, api.Controllable, ViewSettings, RandomServices, LiteralParser, ImporterUser, WorldResizer, AnyRef, Any
Known Subclasses
HeadlessWorkspace, AbstractWorkspaceScala, HubNetManager, Components
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. AbstractWorkspace
2. HubNetWorkspaceInterface
3. CompilerServices
4. LogoThunkFactory
5. LoggingWorkspace
6. ExtendableWorkspace
7. EditorWorkspace
8. Workspace
9. JobManagerOwner
10. Workspace
11. Controllable
12. ViewSettings
13. RandomServices
14. LiteralParser
15. ImporterUser
16. WorldResizer
17. AnyRef
18. 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
      AbstractWorkspace → Workspace
13.  abstract def clearDrawing(): Unit
    Definition Classes
      AbstractWorkspace → Workspace
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
      AbstractWorkspace → Workspace
    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 deleteLogFiles(): Unit
    Definition Classes
      LoggingWorkspace
27.  abstract def dialect: Dialect
    Definition Classes
      CompilerServices
28.  abstract def drawSpotlight: Boolean
    Definition Classes
      ViewSettings
29.  abstract def evaluateCommands(owner: JobOwner, source: String, agents: AgentSet, waitForCompletion: Boolean): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[CompilerException] )
30.  abstract def evaluateCommands(owner: JobOwner, source: String, agent: Agent, waitForCompletion: Boolean): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[CompilerException] )
31.  abstract def evaluateCommands(owner: JobOwner, source: String, waitForCompletion: Boolean): Unit
    Definition Classes
      Controllable
    Annotations
      @throws( classOf[CompilerException] )
32.  abstract def evaluateCommands(owner: JobOwner, source: String): Unit
    Definition Classes
      Controllable
    Annotations
      @throws( classOf[CompilerException] )
33.  abstract def evaluateReporter(owner: JobOwner, source: String, agents: AgentSet): AnyRef
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[CompilerException] )
34.  abstract def evaluateReporter(owner: JobOwner, source: String, agent: Agent): AnyRef
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[CompilerException] )
35.  abstract def evaluateReporter(owner: JobOwner, source: String): AnyRef
    Definition Classes
      Controllable
    Annotations
      @throws( classOf[CompilerException] )
36.  abstract def exportAllPlots(path: String): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[IOException] )
37.  abstract def exportDrawing(path: String, format: String): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[IOException] )
38.  abstract def exportInterface(path: String): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[IOException] )
39.  abstract def exportOutput(path: String): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[IOException] )
40.  abstract def exportPlot(plotName: String, path: String): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[IOException] )
41.  abstract def exportView: BufferedImage
    Definition Classes
      Workspace
42.  abstract def exportView(path: String, format: String): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[IOException] )
43.  abstract def exportWorld(writer: PrintWriter): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[IOException] )
44.  abstract def exportWorld(path: String): Unit
    Definition Classes
      Workspace
    Annotations
      @throws( classOf[IOException] )
45.  abstract def fileManager: FileManager
    Definition Classes
      ExtendableWorkspace
46.  abstract def findProcedurePositions(source: String): Map[String, ProcedureSyntax]
    Definition Classes
      CompilerServices
47.  abstract def fontSize: Int
    Definition Classes
      ViewSettings
48.  abstract def getAndCreateDrawing(): BufferedImage
    Definition Classes
      Workspace
49.  abstract def getCompilationEnvironment: CompilationEnvironment
    Definition Classes
      Workspace
50.  abstract def getComponent[A <: AnyRef](componentClass: Class[A]): Option[A]
    Definition Classes
      Workspace
51.  abstract def getLibraryManager: LibraryManager
    Definition Classes
      Workspace
52.  abstract def getModelDir: String
    Definition Classes
      Workspace
53.  abstract def getModelFileName: String
    Definition Classes
      Workspace
54.  abstract def getModelPath: String
    Definition Classes
      Workspace
55.  abstract def getPlot(plot: String): PlotInterface
    Definition Classes
      ImporterUser
56.  abstract def getTokenAtPosition(source: String, position: Int): Token
    Definition Classes
      CompilerServices
57.  abstract def graphicsChecksum: String
    Definition Classes
      Workspace
58.  abstract def hubNetRunning_=(running: Boolean): Unit
    Definition Classes
      HubNetWorkspaceInterface
59.  abstract def importDrawing(is: InputStream, mimeTypeOpt: Option[String]): Unit
    Attributes
      protected[workspace]
60.  abstract def importerErrorHandler(): ErrorHandler
    Attributes
      protected[workspace]
61.  abstract def init(): Unit
62.  abstract def inspectAgent(agentKind: AgentKind, agent: Agent, radius: Double): Unit
    Definition Classes
      Workspace
63.  abstract def inspectAgent(agent: Agent, radius: Double): Unit
    Definition Classes
      Workspace
64.  abstract def isConstant(s: String): Boolean
    Definition Classes
      CompilerServices
65.  abstract def isHeadless: Boolean
    Definition Classes
      ViewSettings
66.  abstract def isReporter(s: String): Boolean
    Definition Classes
      CompilerServices
67.  abstract def isValidIdentifier(s: String): Boolean
    Definition Classes
      CompilerServices
68.  abstract def lastLogoException: LogoException
    Definition Classes
      Workspace
69.  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
      AbstractWorkspace → Workspace
70.  abstract def magicOpen(name: String): Unit
    Definition Classes
      AbstractWorkspace → EditorWorkspace
71.  abstract def makeCommandThunk(code: String, jobOwnerName: String, rng: MersenneTwisterFast): CommandLogoThunk
    Definition Classes
      LogoThunkFactory
    Annotations
      @throws( classOf[CompilerException] )
72.  abstract def makeCommandThunk(code: String, jobOwnerName: String): CommandLogoThunk
    Definition Classes
      LogoThunkFactory
    Annotations
      @throws( classOf[CompilerException] )
73.  abstract def makeReporterThunk(code: String, jobOwnerName: String): ReporterLogoThunk
    Definition Classes
      LogoThunkFactory
    Annotations
      @throws( classOf[CompilerException] )
74.  abstract def modelNameForDisplay: String
    Definition Classes
      HubNetWorkspaceInterface
75.  abstract def open(modelPath: String, shouldAutoInstallLibs: Boolean): Unit
    Definition Classes
      Workspace → Controllable
    Annotations
      @throws( classOf[IOException] ) @throws( classOf[CompilerException] ) @throws( classOf[LogoException] )
76.  abstract def openModel(model: Model, shouldAutoInstallLibs: Boolean): Unit
    Definition Classes
      Workspace
77.  abstract def openString(modelContents: String): Unit
78.  abstract def outputObject(obj: AnyRef, owner: AnyRef, addNewline: Boolean, readable: Boolean, destination: OutputDestination): Unit
    Definition Classes
      Workspace
79.  abstract def ownerFinished(owner: JobOwner): Unit
    Definition Classes
      JobManagerOwner
80.  abstract def patchSize: Double
    Definition Classes
      Workspace → ViewSettings
81.  abstract def patchSize(patchSize: Double): Unit
    Definition Classes
      WorldResizer
82.  abstract def periodicUpdate(): Unit
    Definition Classes
      JobManagerOwner
83.  abstract def perspective: Perspective
    Definition Classes
      ViewSettings
84.  abstract def procedures(): ListMap[String, Procedure]
    Definition Classes
      AbstractWorkspace → Workspace
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
      CompilerServices → LiteralParser
    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
      AbstractWorkspace → Workspace
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 startLogging(properties: String): Unit
     Definition Classes
       LoggingWorkspace
109.  abstract def stopInspectingAgent(agent: Agent): Unit
     Definition Classes
       Workspace
110.  abstract def stopInspectingDeadAgents(): Unit
     Definition Classes
       Workspace
111.  abstract def tick(c: Context, originalInstruction: Instruction): Unit
     Definition Classes
       Workspace
112.  abstract def tokenizeForColorization(source: String): Array[Token]
     Definition Classes
       CompilerServices
113.  abstract def tokenizeForColorizationIterator(source: String): Iterator[Token]
     Definition Classes
       CompilerServices
114.  abstract def updateDisplay(haveWorldLockAlready: Boolean): Unit
     Definition Classes
       JobManagerOwner
115.  abstract def updatePlots(c: Context): Unit
     Definition Classes
       Workspace
116.  abstract def viewHeight: Double
     Definition Classes
       ViewSettings
117.  abstract def viewOffsetX: Double
     Definition Classes
       ViewSettings
118.  abstract def viewOffsetY: Double
     Definition Classes
       ViewSettings
119.  abstract def viewWidth: Double
     Definition Classes
       ViewSettings
120.  abstract def waitFor(runnable: CommandRunnable): Unit
     Definition Classes
       Workspace
121.  abstract def waitForQueuedEvents(): Unit
     Definition Classes
       Workspace
122.  abstract def waitForResult[T](runnable: ReporterRunnable[T]): T
     Definition Classes
       Workspace
123.  abstract def world: World
     Definition Classes
       Workspace → Workspace
124.  abstract def worldChecksum: String
     Definition Classes
       Workspace
125.  abstract def zipLogFiles(filename: String): Unit
     Definition Classes
       LoggingWorkspace
126.  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
     AbstractWorkspace → Workspace
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  def auxRNG(): MersenneTwisterFast
   Definition Classes
     AbstractWorkspace → RandomServices
8.  def beep(): Unit
   Definition Classes
     Workspace
9.  def breathe(context: Context): Unit
   Definition Classes
     AbstractWorkspace → Workspace
10.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
11.  def compileForRun(source: String, context: Context, reporter: Boolean): Procedure
    Definition Classes
      AbstractWorkspace → Workspace
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
      AbstractWorkspace → Workspace
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 finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
18.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
19.  def getExtensionManager(): ExtensionManager
    Definition Classes
      AbstractWorkspace → Workspace
20.  def getPropertiesInterface(): WorldPropertiesInterface
    Definition Classes
      AbstractWorkspace → HubNetWorkspaceInterface
21.  def guessExportName(defaultName: String): String
22.  def halt(): Unit
23.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
24.  def importDrawing(is: InputStream): Unit
    Attributes
      protected[workspace]
25.  def importDrawing(file: File): Unit
    Attributes
      protected[workspace]
26.  def importDrawing(filename: String): Unit
    Definition Classes
      AbstractWorkspace → Workspace
27.  def importExtensionData(name: String, data: List[Array[String]], handler: ImportErrorHandler): Unit
    Definition Classes
      AbstractWorkspace → ImporterUser
28.  def importWorld(reader: Reader): Unit
    Definition Classes
      AbstractWorkspace → Workspace
29.  def importWorld(filename: String): Unit
    Definition Classes
      AbstractWorkspace → Workspace
30.  def isExtensionName(name: String): Boolean
    Definition Classes
      AbstractWorkspace → ImporterUser
31.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
32.  def joinForeverButtons(agent: Agent): Unit
    Definition Classes
      AbstractWorkspace → Workspace
33.  def mainRNG(): MersenneTwisterFast
    Definition Classes
      AbstractWorkspace → RandomServices
34.  def mouseDown: Boolean
    Definition Classes
      Workspace
35.  def mouseInside: Boolean
    Definition Classes
      Workspace
36.  def mouseXCor: Double
    Definition Classes
      Workspace
37.  def mouseYCor: Double
    Definition Classes
      Workspace
38.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
39.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
40.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
41.  def open(path: String): Unit
    Definition Classes
      Controllable
    Annotations
      @throws( classOf[java.io.IOException] )
42.  def openModel(model: Model): Unit
    Definition Classes
      Workspace
43.  def previewCommands(): PreviewCommands
    Definition Classes
      AbstractWorkspace → Workspace
44.  def setOutputAreaContents(text: String): Unit
    Definition Classes
      AbstractWorkspace → ImporterUser
45.  def setPreviewCommands(commands: PreviewCommands): Unit
46.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
47.  def toString(): String
    Definition Classes
      AnyRef → Any
48.  def updateMode(updateMode: UpdateMode): Unit
49.  def updateMode(): UpdateMode
50.  def updateUI(): Unit
    Definition Classes
      Workspace
51.  def userDirectory: Option[String]
    Definition Classes
      Workspace
52.  def userFile: Option[String]
    Definition Classes
      Workspace
53.  def userInput(msg: String): Option[String]
    Definition Classes
      Workspace
54.  def userMessage(msg: String): Boolean
    Definition Classes
      Workspace
55.  def userNewFile: Option[String]
    Definition Classes
      Workspace
56.  def userOneOf(msg: String, xs: LogoList): Option[AnyRef]
    Definition Classes
      Workspace
57.  def userYesOrNo(msg: String): Option[Boolean]
    Definition Classes
      Workspace
58.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
59.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
60.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
61.  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
      AbstractWorkspace → ExtendableWorkspace → Workspace

### 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