org.nlogo

api

package api

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

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

Visibility
  1. Public
  2. All

Type Members

  1. trait Agent extends AnyRef

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

  2. class AgentException extends Exception

  3. trait AgentSet extends AnyRef

    Interface provides access to NetLogo agentsets.

  4. final class AgentVariableNumbers extends AnyRef

  5. trait AggregateManagerInterface extends SourceOwner

  6. trait Argument extends AnyRef

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

  7. class CSV extends AnyRef

  8. trait ClassManager extends AnyRef

  9. trait Command extends Primitive

    Interface for NetLogo extension commands.

  10. trait CommandLogoThunk extends AnyRef

  11. trait CommandRunnable extends AnyRef

  12. trait CommandTask extends Task

  13. class CompilerException extends Exception

    Exception thrown by various methods that accept NetLogo code as input and cause that code to be compiled; indicates the code was invalid.

  14. trait CompilerServices extends AnyRef

  15. trait Context extends AnyRef

    Provides access to the current execution environment.

  16. abstract class DefaultClassManager extends ClassManager

  17. abstract class DefaultCommand extends Command

    Partial implementation of Command provides common implentations of some methods.

  18. abstract class DefaultReporter extends Reporter

    Partial implementation of Reporter provides common implementations of some methods.

  19. trait Drawing3D extends AnyRef

  20. trait DrawingInterface extends AnyRef

  21. trait DrawingLine3D extends AnyRef

  22. class DummyCompilerServices extends CompilerServices

  23. trait DummyEditable extends Editable with DummyErrorHandler

  24. trait DummyErrorHandler extends AnyRef

  25. class DummyExtensionManager extends ExtensionManager

  26. class DummyLogoThunkFactory extends LogoThunkFactory

  27. trait Editable extends AnyRef

  28. trait EditorAreaInterface extends AnyRef

  29. class ErrorSource extends AnyRef

  30. class ExtensionException extends Exception

    Wrapper class for exceptions thrown by NetLogo extensions.

  31. trait ExtensionManager extends AnyRef

    ExtensionManager provides some methods that can be used in runOnce

  32. trait ExtensionObject extends AnyRef

    Interface which all NetLogo objects defined in Extensions must support

  33. abstract class File extends AnyRef

  34. sealed trait FileMode extends AnyRef

  35. class Graphics2DWrapper extends GraphicsInterface

  36. trait GraphicsInterface extends AnyRef

  37. trait HubNetInterface extends ViewInterface

  38. trait HubNetWorkspaceInterface extends CompilerServices

  39. trait I18NJava extends AnyRef

  40. trait ImportErrorHandler extends AnyRef

  41. trait ImporterUser extends WorldResizer

  42. trait JobOwner extends SourceOwner

    Like source owners, job owners are usually parts of the UI.

  43. final case class Let(varName: String, startPos: Int, endPos: Int, children: List[Let]) extends Product with Serializable

  44. trait Link extends Agent

    Interface provides access to NetLogo links.

  45. trait Link3D extends Link

  46. trait LinkStamp3D extends Link3D

  47. class LocalFile extends File

  48. abstract class LogoException extends Exception

    A runtime error that has occurred in NetLogo code.

  49. class LogoList extends AbstractSequentialList[AnyRef] with Serializable

  50. class LogoListBuilder extends AnyRef

  51. trait LogoThunkFactory extends AnyRef

  52. class Matrix3D extends AnyRef

  53. sealed trait ModelSection extends AnyRef

  54. sealed trait ModelType extends AnyRef

    how a model was loaded.

  55. trait ModelingCommonsInterface extends AnyRef

  56. trait MultiErrorHandler extends AnyRef

  57. trait NetLogoAdapter extends NetLogoListener

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

  58. trait NetLogoListener extends EventListener

    A host application should implement this interface in order to be notified of events occurring within NetLogo.

  59. trait Observer extends Agent

    Provides access to NetLogo observer

  60. class Options[T] extends AnyRef

  61. trait Patch extends Agent

    Provides access to NetLogo patches.

  62. trait Patch3D extends Patch

  63. sealed abstract class Perspective extends AnyRef

  64. trait PlotInterface extends AnyRef

  65. trait PlotPenInterface extends AnyRef

  66. trait Primitive extends AnyRef

    Top-level interface for primitives (commands or reporters).

  67. trait PrimitiveManager extends AnyRef

    Ships extension primitives and associated names to NetLogo.

  68. final class Program extends AnyRef

  69. case class Property(accessString: String, tyype: Type, name: String, notes: String, gridWidth: Int, focus: Boolean, setLive: Boolean, enabled: Boolean, collapsible: Boolean, collapseByDefault: Boolean) extends Product with Serializable

  70. trait Protractor extends AnyRef

  71. trait Protractor3D extends Protractor

  72. trait RandomServices extends AnyRef

  73. class RemoteFile extends File

  74. trait RendererInterface extends AnyRef

  75. trait Reporter extends Primitive

    Interface for NetLogo reporters.

  76. trait ReporterLogoThunk extends AnyRef

    This is used by SliderConstraint.

  77. trait ReporterRunnable[T] extends AnyRef

  78. trait ReporterTask extends Task

  79. trait Shape extends AnyRef

  80. class ShapeList extends AnyRef

  81. class SimpleChangeEventPublisher extends Publisher[org.nlogo.api.SimpleChangeEvent.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.

  82. class SimpleJobOwner extends JobOwner

  83. trait SingleErrorHandler extends AnyRef

  84. trait SourceOwner extends AnyRef

    Source owners are usually parts of the UI.

  85. case class Syntax(precedence: Int, left: Int, right: Array[Int], ret: Int, defaultOption: Option[Int], minimumOption: Option[Int], isRightAssociative: Boolean, agentClassString: String, blockAgentClassString: String, switches: Boolean) extends Product with Serializable

    Specifies the arguments accepted by a primitive.

  86. sealed trait Task extends AnyRef

  87. case class Token(name: String, tyype: TokenType, value: AnyRef, startPos: Int, endPos: Int, fileName: String) extends Product with Serializable

  88. trait TokenHolder extends AnyRef

  89. trait TokenMapperInterface extends AnyRef

  90. trait TokenReaderInterface extends Iterator[Token]

  91. sealed trait TokenType extends AnyRef

  92. trait TokenizerInterface extends AnyRef

  93. trait TrailDrawerInterface extends DrawingInterface

  94. trait Turtle extends Agent

    Interface provides access to NetLogo turtles.

  95. trait Turtle3D extends Turtle

  96. trait TurtleStamp3D extends Turtle3D

  97. trait ValueConstraint extends AnyRef

    Interface for objects which provide constraints for values

  98. case class Vect(x: Double, y: Double, z: Double) extends Product with Serializable

  99. trait ViewInterface extends AnyRef

  100. trait ViewSettings extends AnyRef

  101. trait World extends AnyRef

  102. trait World3D extends World

  103. class WorldDimensionException extends Exception

  104. class WorldDimensions extends AnyRef

    for wrapping up dimensions to resize the world using WorldResizer

  105. class WorldDimensions3D extends WorldDimensions

    for wrapping up dimensions to resize the world using WorldResizer

  106. trait WorldPropertiesInterface extends AnyRef

  107. trait WorldResizer extends AnyRef

    used by Importer for resizing the world during an import.

Value Members

  1. object APIVersion extends AnyRef

  2. object AgentVariableNumbers extends

  3. object AgentVariables extends AnyRef

  4. object Approximate extends AnyRef

  5. object Color extends AnyRef

  6. object CompilerException extends Serializable

  7. object Constants extends AnyRef

  8. object Dump extends AnyRef

  9. object Equality extends AnyRef

  10. object FileIO extends AnyRef

  11. object FileMode extends AnyRef

  12. object FileModeJ extends AnyRef

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

  13. object I18N extends AnyRef

  14. object JavaLibraryPath extends AnyRef

    This code came from http://forum.

  15. object LogoList extends Serializable

  16. object ModelReader extends AnyRef

  17. object ModelSection extends AnyRef

  18. object ModelSectionJ extends AnyRef

  19. object ModelType extends AnyRef

  20. object ModelTypeJ extends AnyRef

  21. object Nobody extends AnyRef

  22. object NumberParser extends AnyRef

  23. object PeriodicUpdateDelay extends AnyRef

    Created by IntelliJ IDEA.

  24. object Perspective extends AnyRef

  25. object PerspectiveJ extends AnyRef

  26. object PlotPenInterface extends AnyRef

  27. object Property extends Serializable

  28. object RandomSeedGenerator extends AnyRef

  29. object RemoteFile extends AnyRef

  30. object ScalaConversions extends AnyRef

  31. object ShapeList extends AnyRef

  32. object SimpleChangeEvent extends AnyRef

  33. object StringUtils extends AnyRef

  34. object Syntax extends Serializable

  35. object Token extends Serializable

  36. object TokenType extends AnyRef

  37. object TypeNames extends AnyRef

  38. object ValueConstraint extends AnyRef

  39. object Vect extends Serializable

  40. object Version extends AnyRef

  41. object VersionHistory extends AnyRef