org.nlogo.api

package org.nlogo.api

Provides classes associated with the NetLogo Extensions API and Controlling API.

For discussion and sample code, please see the NetLogo User Manual.

Attributes

Members list

Type members

Classlikes

object APIVersion

Attributes

Source
APIVersion.scala
Supertypes
class Object
trait Matchable
class Any
Self type
APIVersion.type

Attributes

Companion
object
Source
ModelLoader.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
ModelLoader.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Action

Attributes

Source
Action.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait PlotAction
class AutoPlot
class AutoPlotX
class AutoPlotY
class ClearPlot
class HardResetPen
class HidePen
class PenDown
class PlotXY
class PlotY
class SetPenColor
class SetPenMode
class SetRange
class SoftResetPen
Show all
trait ActionBroker[A <: Action] extends Publisher[A]

Attributes

Source
Action.scala
Supertypes
trait Publisher[A]
class Object
trait Matchable
class Any
class ActionBuffer[A <: Action](broker: ActionBroker[A]) extends Listener[A]

An ActionBuffer logs all actions generated by the supplied ActionBroker. Actions can be grabbed (which clears the buffer) and the buffer can be cleared independently. NP 2013-01-25.

An ActionBuffer logs all actions generated by the supplied ActionBroker. Actions can be grabbed (which clears the buffer) and the buffer can be cleared independently. NP 2013-01-25.

Attributes

Source
Action.scala
Supertypes
class Listener[A]
class Object
trait Matchable
class Any
trait ActionRunner[A <: Action]

Attributes

Source
Action.scala
Supertypes
class Object
trait Matchable
class Any
trait Activation

A representation of the currently executing procedure

A representation of the currently executing procedure

Attributes

Source
Activation.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
ModelFormat.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case object Advisory extends AnnouncementType

Attributes

Source
Announcements.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Advisory.type
trait Agent

NetLogo agents include turtles, patches, links and the observer.

NetLogo agents include turtles, patches, links and the observer.

Attributes

Source
Agent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Agent
trait AgentColors
trait Constraints
class Observer
trait Link
trait Link3D
class Link3D
trait LinkStamp3D
class LinkStamp3D
trait Observer
trait Patch
trait Patch3D
trait Turtle
trait Turtle3D
Show all
class AgentException(message: String) extends Exception

Attributes

Source
AgentException.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class Violation

Attributes

Source
Perspective.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Follow
class Ride
trait AgentSet

Interface provides access to NetLogo agentsets. NetLogo agentsets may be composed of turtles, patches, or links (but an agentset may not contain a mix of different agent types.)

Interface provides access to NetLogo agentsets. NetLogo agentsets may be composed of turtles, patches, or links (but an agentset may not contain a mix of different agent types.)

In order to perform some functions on AgentSets you may need to cast to org.nlogo.agent.AgentSet.

Attributes

Source
AgentSet.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
AgentVariables.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
AggregateDrawingInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Model
trait AggregateManagerInterface extends SourceOwner, ModelSaveable

Attributes

Source
AggregateManagerInterface.scala
Supertypes
trait ModelSaveable
trait SourceOwner
class Object
trait Matchable
class Any
Known subtypes
case class Announcement(id: Int, title: String, date: LocalDate, endDate: Option[LocalDate], annType: AnnouncementType, summary: String, desc: String)

Attributes

Source
Announcements.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait AnnouncementType

Attributes

Source
Announcements.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Advisory
object Event
object Release

Attributes

Source
AnnouncementsInfoDownloader.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
AnonymousProcedure.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait AnonymousProcedure

Attributes

Source
AnonymousProcedure.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
AnonymousProcedure.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Approximate

Attributes

Source
Approximate.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Argument

Interface provides access to arguments passed to the perform or report methods of a primitive at run-time.

Interface provides access to arguments passed to the perform or report methods of a primitive at run-time.

Arguments are created by NetLogo and passed to the perform or report methods of your primitive.

Attributes

See also

Command#perform(Argument[], Context)

Reporter#report(Argument[], Context)

Source
Argument.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Argument

Attributes

Source
AutoConverter.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
AutoConverter.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
sealed trait BaseValueSet

Attributes

Source
ValueSet.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CSV(dump: Any => String)

Attributes

Source
CSV.scala
Supertypes
class Object
trait Matchable
class Any
trait ClassManager

Attributes

Source
ClassManager.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Color extends Color

Attributes

Source
Color.scala
Supertypes
trait Color
class Object
trait Matchable
class Any
Self type
Color.type
trait Command extends PrimitiveCommand

Interface for NetLogo extension commands. Commands are primitives that do not return a value. All new commands must implement this interface.

Interface for NetLogo extension commands. Commands are primitives that do not return a value. All new commands must implement this interface.

Attributes

Source
Command.scala
Supertypes
trait Primitive
class Object
trait Matchable
class Any

Attributes

Source
CommandLogoThunk.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
CommandRunnable.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
CompilerServices.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ConfigurableModelLoader(val formats: Seq[FormatterPair[_, _]]) extends ModelLoader

Attributes

Source
ModelLoader.scala
Supertypes
trait ModelLoader
class Object
trait Matchable
class Any
Known subtypes
object Constants

Attributes

Source
Constants.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Constants.type
trait Context

Provides access to the current execution environment.

Provides access to the current execution environment.

Attributes

Source
Context.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ControlSet

ControlSet is an abstraction over the various runtime-only parts of model state. For instance, what output is shown to the user? What does the interface look like for the user. At the moment, it is likely it will only be needed for NetLogo UI, but there's a chance it could also be useful for some aspect of Headless in the future.

ControlSet is an abstraction over the various runtime-only parts of model state. For instance, what output is shown to the user? What does the interface look like for the user. At the moment, it is likely it will only be needed for NetLogo UI, but there's a chance it could also be useful for some aspect of Headless in the future.

Methods on this class should perform the "correct" action regardless of whether they are called from the job or swing event thread. Future is used because these computations may be asynchronous.

Attributes

Source
ControlSet.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Controllable

Interface provides access to the NetLogo controlling API's report and command methods found in methods independent of App.app and headless.HeadlessWorkspace. This is useful for making java software that can run NetLogo in both GUI and Headless mode.

Interface provides access to the NetLogo controlling API's report and command methods found in methods independent of App.app and headless.HeadlessWorkspace. This is useful for making java software that can run NetLogo in both GUI and Headless mode.

Attributes

Source
Controllable.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Workspace
trait Workspace
abstract class DefaultClassManager extends ClassManager

Attributes

Source
DefaultClassManager.scala
Supertypes
trait ClassManager
class Object
trait Matchable
class Any

Attributes

Source
NetLogoLegacyDialect.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class DoubleRange(start: Double, stop: Double, step: Double, inclusive: Boolean) extends IndexedSeq[Double]
trait Drawing3D

Attributes

Source
Drawing3D.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Drawing3D

Attributes

Source
DrawingInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
DrawingLine3D.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
DummyCompilerServices.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
DummyExtensionManager.scala
Supertypes
class Object
trait Matchable
class Any
Show all

Attributes

Source
LibraryManager.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
DummyLogoThunkFactory.scala
Supertypes
class Object
trait Matchable
class Any
object Dump extends Dump

Attributes

Source
Dump.scala
Supertypes
trait Dump
class Object
trait Matchable
class Any
Self type
Dump.type

Attributes

Source
EditorAreaInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Equality

Attributes

Source
Equality.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Equality.type
case object Event extends AnnouncementType

Attributes

Source
Announcements.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Event.type
object Exceptions

Attributes

Source
Exceptions.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Exceptions.type
sealed abstract trait ExportPlotWarningAction

Attributes

Companion
object
Source
ExportPlotWarningAction.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Ignore
object Output
object Warn

Attributes

Companion
trait
Source
ExportPlotWarningAction.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Source
ExportPlotWarningAction.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class ExtensionException(message: String, cause: Exception) extends Exception

Wrapper class for exceptions thrown by NetLogo extensions.

Wrapper class for exceptions thrown by NetLogo extensions.

Attributes

Source
ExtensionException.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

ExtensionManager provides some methods that can be used in runOnce

ExtensionManager provides some methods that can be used in runOnce

Attributes

Companion
object
Source
ExtensionManager.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
ExtensionManager.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
class
Source
ExternalResourceManager.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Source
ExternalResourceManager.scala
Supertypes
class Object
trait Matchable
class Any
object FileIO

Attributes

Source
FileIO.scala
Supertypes
class Object
trait Matchable
class Any
Self type
FileIO.type
class FormatterPair[A, B <: ModelFormat[A, B]](val modelFormat: B, val serializers: Seq[ComponentSerialization[A, B]])(implicit aTag: ClassTag[A])

Attributes

Source
ModelLoader.scala
Supertypes
class Object
trait Matchable
class Any
class Graphics2DWrapper(g: Graphics2D, renderLabelsAsRectangles: Boolean) extends GraphicsInterface

Attributes

Source
Graphics2DWrapper.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
GraphicsInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HaltSignal

Attributes

Source
HaltSignal.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait HubNetInterface extends ViewInterface, ModelSaveable

Attributes

Companion
object
Source
HubNetInterface.scala
Supertypes
trait ModelSaveable
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
HubNetInterface.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
HubNetWorkspaceInterface.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
ImportErrorHandler.scala
Supertypes
class Object
trait Matchable
class Any
trait ImporterUser extends WorldResizer

Attributes

Source
ImporterUser.scala
Supertypes
trait WorldResizer
class Object
trait Matchable
class Any
Known subtypes
trait Workspace
trait Workspace

Attributes

Source
InfoDownloader.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

This code came from http://forum.java.sun.com/thread.jspa?threadID=627890&start=15

This code came from http://forum.java.sun.com/thread.jspa?threadID=627890&start=15

The Terms of Use for the website, in the "Content Submitted to Sun" section states: You (the author) grant Sun and all other users of the Website an irrevocable, worldwide, royalty-free, nonexclusive license to use, reproduce, modify, distribute, transmit, display, perform, adapt, resell and publish such Content (including in digital form).

http://www.sun.com/termsofuse.jsp

The username of the original post has no name or email associated with it.

Adds a path to the java.library.path System property and updates the ClassLoader. Uses reflection to allow update to private system members. Will not work if JVM security policy gets in the way (like in an applet). Will not work if Sun changes the private members. This really shouldn't be used at all...

Attributes

Source
JavaLibraryPath.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait JobOwner extends SourceOwner

Like source owners, job owners are usually parts of the UI. Jobs are initiated by by buttons, by monitors, by the Command Center, and so on.

Like source owners, job owners are usually parts of the UI. Jobs are initiated by by buttons, by monitors, by the Command Center, and so on.

The (assorted, disparate) methods here in JobOwner have mainly to do with runtime behavior and/or runtime error handling. (SourceOwner is more about compilation and compile-time errors.)

Attributes

Source
JobOwner.scala
Supertypes
trait SourceOwner
class Object
trait Matchable
class Any
Known subtypes
class JobWidget
class CommandLine
class ButtonWidget
Show all

Attributes

Source
LabDefaultValues.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
LabExporterType.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
LabExporterVersion.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
LabPostProcessorInputFormat.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class LabProtocol(name: String, preExperimentCommands: String, setupCommands: String, goCommands: String, postRunCommands: String, postExperimentCommands: String, repetitions: Int, sequentialRunOrder: Boolean, runMetricsEveryStep: Boolean, runMetricsCondition: String, timeLimit: Int, exitCondition: String, metrics: List[String], constants: List[RefValueSet], subExperiments: List[List[RefValueSet]], runsCompleted: Int, runOptions: LabRunOptions)

Attributes

Source
LabProtocol.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class LabRunOptions(threadCount: Int, table: String, spreadsheet: String, stats: String, lists: String, updateView: Boolean, updatePlotsAndMonitors: Boolean, firstRun: Boolean)

Attributes

Source
LabRunOptions.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Source
LabVariableParser.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
LibraryInfoDownloader.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
class
Source
LibraryManager.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class LibraryManager(userExtPath: Path, unloadExtensions: () => Unit) extends LibraryManager

Attributes

Companion
object
Source
LibraryManager.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Link extends Agent

Interface provides access to NetLogo links.

Interface provides access to NetLogo links.

Attributes

Source
Link.scala
Supertypes
trait Agent
class Object
trait Matchable
class Any
Known subtypes
trait Link3D
class Link3D
trait LinkStamp3D
class LinkStamp3D
trait Link3D extends Link

Attributes

Source
Link3D.scala
Supertypes
trait Link
trait Agent
class Object
trait Matchable
class Any
Known subtypes
class Link3D
trait LinkStamp3D
class LinkStamp3D
trait LinkStamp3D extends Link3D

Attributes

Source
LinkStamp3D.scala
Supertypes
trait Link3D
trait Link
trait Agent
class Object
trait Matchable
class Any
Show all
Known subtypes
class LinkStamp3D
class LocalFile(filepath: String) extends File

Attributes

Source
LocalFile.scala
Supertypes
class File
class Object
trait Matchable
class Any
abstract class LogoException(message: String, cause: Throwable) extends RuntimeException

A runtime error that has occurred in NetLogo code.

A runtime error that has occurred in NetLogo code.

As with any Exception, use the getMessage() method to get the error message. A LogoExceptions is expected to have a nice end-user-understandable message.

LogoException is abstract because engine code is supposed to throw a concrete subclass like EngineException.

Attributes

Source
LogoException.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class LogoHashObject(val sourceObject: AnyRef)

Attributes

Companion
object
Source
LogoHashObject.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
LogoHashObject.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
LogoListBuilder.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
LogoThunkFactory.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class MetadataLoadingException(cause: Throwable) extends RuntimeException

Attributes

Source
LibraryManager.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
trait ModelFormat[Section, Format <: ModelFormat[Section, Format]]

Attributes

Source
ModelFormat.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
ModelLoader.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ModelReader

Attributes

Source
ModelReader.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait ModelRun

Attributes

Source
ModelRun.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract trait ModelSection

Attributes

Companion
object
Source
ModelSection.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BehaviorSpace
object Code
object DeltaTick
object HubNetClient
object Info
object Interface
object LinkShapes
object ModelSettings
object TurtleShapes
object Version
Show all
object ModelSection

Attributes

Companion
trait
Source
ModelSection.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object ModelSectionJ

Attributes

Source
ModelSection.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract trait ModelType

how a model was loaded. NEW is type for new models, NORMAL is a model opened normally (e.g. via Open on the File menu), LIBRARY a models library model.

how a model was loaded. NEW is type for new models, NORMAL is a model opened normally (e.g. via Open on the File menu), LIBRARY a models library model.

Attributes

Companion
object
Source
ModelType.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Library
object New
object Normal
object ModelType

Attributes

Companion
trait
Source
ModelType.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ModelType.type
object ModelTypeJ

Attributes

Source
ModelType.scala
Supertypes
class Object
trait Matchable
class Any
Self type
ModelTypeJ.type

Implements NetLogoListener with empty methods, which can be overridden in subclasses.

Implements NetLogoListener with empty methods, which can be overridden in subclasses.

Attributes

Source
NetLogoAdapter.scala
Supertypes
trait EventListener
class Object
trait Matchable
class Any
Known subtypes
object NetLogoLegacyDialect extends Dialect

Attributes

Source
NetLogoLegacyDialect.scala
Supertypes
trait Dialect
class Object
trait Matchable
class Any
Self type

Attributes

Source
NetLogoLegacyDialect.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait NetLogoListener extends EventListener

A host application should implement this interface in order to be notified of events occurring within NetLogo. Its methods are called by NetLogoListenerManager when these events occur. The events are typically user actions, but may also be triggered programmatically by the model.

A host application should implement this interface in order to be notified of events occurring within NetLogo. Its methods are called by NetLogoListenerManager when these events occur. The events are typically user actions, but may also be triggered programmatically by the model.

Attributes

Source
NetLogoListener.scala
Supertypes
trait EventListener
class Object
trait Matchable
class Any
Known subtypes
object NetLogoThreeDDialect extends Dialect

Attributes

Source
NetLogoThreeDDialect.scala
Supertypes
trait Dialect
class Object
trait Matchable
class Any
Self type
object Numbers

Attributes

Source
Numbers.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Numbers.type
trait Observer extends Agent

Attributes

Source
Observer.scala
Supertypes
trait Agent
class Object
trait Matchable
class Any
Known subtypes
class Observer

Attributes

Source
Observer.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Orientation
class Options[T]

Attributes

Source
Options.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait OutputDestination

Attributes

Companion
object
Source
OutputDestination.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object File
object Normal
object OutputArea

Attributes

Companion
trait
Source
OutputDestination.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Java can't (I don't think) access Scala inner objects without reflection, so we provide these convenience vals for use from Java.

Java can't (I don't think) access Scala inner objects without reflection, so we provide these convenience vals for use from Java.

Attributes

Source
OutputDestination.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Patch extends Agent

Provides access to NetLogo patches.

Provides access to NetLogo patches.

Attributes

Source
Patch.scala
Supertypes
trait Agent
class Object
trait Matchable
class Any
Known subtypes
trait Patch3D
trait Patch3D extends Patch

Attributes

Source
Patch3D.scala
Supertypes
trait Patch
trait Agent
class Object
trait Matchable
class Any

Attributes

Source
PeriodicUpdateDelay.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class Perspective(val export: Int)

Attributes

Companion
object
Source
Perspective.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Follow
object Observe
class Ride
class Watch
object Perspective

Attributes

Companion
class
Source
Perspective.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait PlotAction extends Action

Attributes

Companion
object
Source
PlotAction.scala
Supertypes
trait Action
class Object
trait Matchable
class Any
Known subtypes
class AutoPlot
class AutoPlotX
class AutoPlotY
class ClearPlot
class HardResetPen
class HidePen
class PenDown
class PlotXY
class PlotY
class SetPenColor
class SetPenMode
class SetRange
class SoftResetPen
Show all
object PlotAction

Attributes

Companion
trait
Source
PlotAction.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
PlotAction.type
sealed abstract trait PlotCompilationErrorAction

Action to take if PlotManager.compileAllPlot returns error(s) during a call to open in HeadlessWorkspace.

Action to take if PlotManager.compileAllPlot returns error(s) during a call to open in HeadlessWorkspace.

Throw - Throw the first error Output - Output all errors Ignore - Do nothing

Attributes

Companion
object
Source
PlotCompilationErrorAction.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Ignore
object Output
object Throw

Attributes

Companion
trait
Source
PlotCompilationErrorAction.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Source
PlotCompilationErrorAction.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
PlotInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Plot

Attributes

Source
Plotting.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
PlotPenInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class PlotPen

Attributes

Source
PlotPointInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class PlotPoint
case class PlotState(autoPlotX: Boolean, autoPlotY: Boolean, xMin: Double, xMax: Double, yMin: Double, yMax: Double)

Attributes

Source
Plotting.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait PreviewCommands extends ModelSaveable

A model's "preview commands" are the commands that are used to generate the preview that appears in the Models Library dialog, the NetLogo website (http://ccl.northwestern.edu/netlogo/models/), the Modeling Commons (http://www.modelingcommons.org/) and potentially other places. By default, they're just setup repeat 75 [ go ] but they can be customized. Some models require manually generated previews.

A model's "preview commands" are the commands that are used to generate the preview that appears in the Models Library dialog, the NetLogo website (http://ccl.northwestern.edu/netlogo/models/), the Modeling Commons (http://www.modelingcommons.org/) and potentially other places. By default, they're just setup repeat 75 [ go ] but they can be customized. Some models require manually generated previews.

Preview commands are always run in a fresh headless workspace with random-seed 0 called before opening the model. The startup procedure, if present, runs before the preview commands.

Attributes

Companion
object
Source
PreviewCommands.scala
Supertypes
trait ModelSaveable
class Object
trait Matchable
class Any
Known subtypes
trait Compilable
class Custom
object Default
object Manual

Attributes

Companion
trait
Source
PreviewCommands.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Ships extension primitives and associated names to NetLogo.

Ships extension primitives and associated names to NetLogo.

Attributes

Source
PrimitiveManager.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Protractor

Attributes

Source
Protractor.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Protractor3D
trait Protractor3D extends Protractor

Attributes

Source
Protractor3D.scala
Supertypes
trait Protractor
class Object
trait Matchable
class Any

Attributes

Source
RandomSeedGenerator.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
RandomServices.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Workspace
trait Workspace
case class RefEnumeratedValueSet(variableName: String, values: List[AnyRef]) extends RefValueSet

Attributes

Source
ValueSet.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait RefValueSet
trait BaseValueSet
trait Iterable[AnyRef]
trait IterableOps[AnyRef, Iterable, Iterable[AnyRef]]
trait IterableOnceOps[AnyRef, Iterable, Iterable[AnyRef]]
trait IterableOnce[AnyRef]
class Object
trait Matchable
class Any
Show all
sealed trait RefValueSet extends Iterable[AnyRef], BaseValueSet

Attributes

Source
ValueSet.scala
Supertypes
trait BaseValueSet
trait Iterable[AnyRef]
trait IterableOps[AnyRef, Iterable, Iterable[AnyRef]]
trait IterableOnceOps[AnyRef, Iterable, Iterable[AnyRef]]
trait IterableOnce[AnyRef]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Refreshable

Marker trait used to indicate that the value in this class may be stale and in need of refresh

Marker trait used to indicate that the value in this class may be stale and in need of refresh

Attributes

Source
Refreshable.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case object Release extends AnnouncementType

Attributes

Source
Announcements.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Release.type
object RemoteFile

Attributes

Companion
class
Source
RemoteFile.scala
Supertypes
class Object
trait Matchable
class Any
Self type
RemoteFile.type
class RemoteFile(filepath: String) extends File

Attributes

Companion
object
Source
RemoteFile.scala
Supertypes
class File
class Object
trait Matchable
class Any

Attributes

Source
RendererInterface.scala
Supertypes
class Object
trait Matchable
class Any
trait Reporter extends PrimitiveReporter

Interface for NetLogo reporters. Reporters are primitives that return a value. All new reporters must implement this interface.

Interface for NetLogo reporters. Reporters are primitives that return a value. All new reporters must implement this interface.

Attributes

Source
Reporter.scala
Supertypes
trait Primitive
class Object
trait Matchable
class Any

This is used by SliderConstraint. Sliders have snippets of Logo code associated with them, which need be to be evaluated to produce numbers for the min, max, and increment. But here in the org.nlogo.agent package we don't know anything about Logo code and how to run it. This interface lets other code keep us in the dark by giving us a black box that magically produces an object whenever we ask for one. (In the case of SliderConstraint the object should be a boxed double.)

This is used by SliderConstraint. Sliders have snippets of Logo code associated with them, which need be to be evaluated to produce numbers for the min, max, and increment. But here in the org.nlogo.agent package we don't know anything about Logo code and how to run it. This interface lets other code keep us in the dark by giving us a black box that magically produces an object whenever we ask for one. (In the case of SliderConstraint the object should be a boxed double.)

Attributes

Source
ReporterLogoThunk.scala
Supertypes
class Object
trait Matchable
class Any
trait ReporterRunnable[T]

Attributes

Source
ReporterRunnable.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
ScalaConversions.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
SimpleChangeEventPublisher.scala
Supertypes
class Object
trait Matchable
class Any
Self type

A most basic event publisher only warning subscribers that "something has changed" Currently used by TreeAgentSet to allow the nw extension to listen for changes and update its graph context accordingly. NP 2013-05-14.

A most basic event publisher only warning subscribers that "something has changed" Currently used by TreeAgentSet to allow the nw extension to listen for changes and update its graph context accordingly. NP 2013-05-14.

Attributes

Source
SimpleChangeEventPublisher.scala
Supertypes
class Object
trait Matchable
class Any
class SimpleJobOwner(val displayName: String, val random: MersenneTwisterFast, val kind: AgentKind) extends JobOwner

Attributes

Source
SimpleJobOwner.scala
Supertypes
trait JobOwner
trait SourceOwner
class Object
trait Matchable
class Any
trait SourceOwner

Source owners are usually parts of the UI. Code comes from buttons, from monitors, from the Code tab, from the Command Center, and so on.

Source owners are usually parts of the UI. Code comes from buttons, from monitors, from the Code tab, from the Command Center, and so on.

SourceOwner has mainly to do with compilation and with what to do if an error occurs during compilation.

"Header source" is distinguished from "inner source" because the latter is the code the user actually wrote, while header and footer source is extra code we wrapped around it. This matters when showing code and showing positions of errors in the UI; we never want to show the user header/footer source, but error locations need to take the length of the header source into account.

See also JobOwner, which extends SourceOwner and adds methods having to do with runtime behavior and runtime error-handling.

Attributes

Source
SourceOwner.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class SteppedValueSet(variableName: String, firstValue: BigDecimal, step: BigDecimal, lastValue: BigDecimal) extends RefValueSet

Attributes

Source
ValueSet.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait RefValueSet
trait BaseValueSet
trait Iterable[AnyRef]
trait IterableOps[AnyRef, Iterable, Iterable[AnyRef]]
trait IterableOnceOps[AnyRef, Iterable, Iterable[AnyRef]]
trait IterableOnce[AnyRef]
class Object
trait Matchable
class Any
Show all
object StringUtils

Attributes

Source
StringUtils.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
NetLogoThreeDDialect.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class Timer

Attributes

Source
Timer.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
TokenizerInterface.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
TrailDrawerInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Turtle extends Agent

Interface provides access to NetLogo turtles.

Interface provides access to NetLogo turtles.

Attributes

Source
Turtle.scala
Supertypes
trait Agent
class Object
trait Matchable
class Any
Known subtypes
trait Turtle3D extends Turtle

Attributes

Source
Turtle3D.scala
Supertypes
trait Turtle
trait Agent
class Object
trait Matchable
class Any
Known subtypes
trait TurtleStamp3D extends Turtle3D

Attributes

Source
TurtleStamp3D.scala
Supertypes
trait Turtle3D
trait Turtle
trait Agent
class Object
trait Matchable
class Any
Show all
Known subtypes
object TypeNames

Attributes

Source
TypeNames.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TypeNames.type

Attributes

Companion
trait
Source
ValueConstraint.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Interface for objects which provide constraints for values

Interface for objects which provide constraints for values

Attributes

Companion
object
Source
ValueConstraint.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Vect

Attributes

Companion
class
Source
Vect.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Vect.type
case class Vect(x: Double, y: Double, z: Double)

Attributes

Companion
object
Source
Vect.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Version

Attributes

Companion
object
Source
Version.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Version
object Version extends Version

Attributes

Companion
trait
Source
Version.scala
Supertypes
trait Version
class Object
trait Matchable
class Any
Self type
Version.type

Attributes

Source
VersionHistory.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
ViewInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ViewSettings

Attributes

Source
ViewSettings.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
Workspace.scala
Supertypes
trait Controllable
trait ViewSettings
trait ImporterUser
trait WorldResizer
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Workspace
trait World

Attributes

Source
World.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait World3D
class World3D
trait CoreWorld
class World2D
class World
Show all
trait World3D extends World

Attributes

Source
World3D.scala
Supertypes
trait World
class Object
trait Matchable
class Any
Known subtypes
class World3D
class WorldDimensionException extends Exception

Attributes

Source
WorldDimensionException.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Source
WorldPropertiesInterface.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
WorldRenderable.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CoreWorld
class World2D
class World3D
class World
Show all
trait WorldResizer

used by Importer for resizing the world during an import. also used by BehaviorSpace when the experiment varies the world size

used by Importer for resizing the world during an import. also used by BehaviorSpace when the experiment varies the world size

Attributes

Source
WorldResizer.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ImporterUser
trait Workspace
trait Workspace

Attributes

Source
WorldRenderable.scala
Supertypes
trait World
class Object
trait Matchable
class Any
Known subtypes
trait CoreWorld
class World2D
class World3D
class World
object XMLReader

Attributes

Source
XMLUtils.scala
Supertypes
class Object
trait Matchable
class Any
Self type
XMLReader.type
class XMLWriter(dest: Writer) extends NLogoXMLWriter

Attributes

Source
XMLUtils.scala
Supertypes
class Object
trait Matchable
class Any

Deprecated classlikes

case class EnumeratedValueSet(variableName: String, values: List[Any]) extends ValueSet

Attributes

Deprecated
[Since version use RefEnumeratedValueSet instead] 6.0.2
Source
ValueSet.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ValueSet
trait BaseValueSet
trait Iterable[Any]
trait IterableOps[Any, Iterable, Iterable[Any]]
trait IterableOnceOps[Any, Iterable, Iterable[Any]]
trait IterableOnce[Any]
class Object
trait Matchable
class Any
Show all
trait TokenHolder

Attributes

Deprecated
[Since version Use core.TokenHolder instead] 6.0.3
Source
TokenHolder.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait ValueSet extends Iterable[Any], BaseValueSet

Attributes

Deprecated
[Since version use RefValueSet instead] 6.0.2
Source
ValueSet.scala
Supertypes
trait BaseValueSet
trait Iterable[Any]
trait IterableOps[Any, Iterable, Iterable[Any]]
trait IterableOnceOps[Any, Iterable, Iterable[Any]]
trait IterableOnce[Any]
class Object
trait Matchable
class Any
Show all
Known subtypes