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. class AgentVariableNumbers extends AnyRef

    Attributes
    final
  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. class DefaultClassManager extends ClassManager

    Attributes
    abstract
  17. class DefaultCommand extends Command

    Partial implementation of Command provides common implentations of some methods.

  18. 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. class File extends AnyRef

    Attributes
    abstract
  34. trait FileMode extends AnyRef

    Attributes
    sealed
  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

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

    Attributes
    final
  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. 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. trait ModelSection extends AnyRef

    Attributes
    sealed
  54. trait ModelType extends AnyRef

    how a model was loaded.

  55. trait MultiErrorHandler extends AnyRef

  56. trait NetLogoAdapter extends NetLogoListener

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

  57. trait NetLogoListener extends EventListener

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

  58. trait Observer extends Agent

    Provides access to NetLogo observer

  59. class Options [T] extends AnyRef

  60. trait Patch extends Agent

    Provides access to NetLogo patches.

  61. trait Patch3D extends Patch

  62. class Perspective extends AnyRef

    Attributes
    sealed abstract
  63. trait PlotInterface extends AnyRef

  64. trait PlotPenInterface extends AnyRef

  65. trait Primitive extends AnyRef

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

  66. trait PrimitiveManager extends AnyRef

    Ships extension primitives and associated names to NetLogo.

  67. class Program extends AnyRef

    Attributes
    final
  68. 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

  69. trait Protractor extends AnyRef

  70. trait Protractor3D extends Protractor

  71. trait RandomServices extends AnyRef

  72. class RemoteFile extends File

  73. trait RendererInterface extends AnyRef

  74. trait Reporter extends Primitive

    Interface for NetLogo reporters.

  75. trait ReporterLogoThunk extends AnyRef

    This is used by SliderConstraint.

  76. trait ReporterRunnable [T] extends AnyRef

  77. trait ReporterTask extends Task

  78. trait Shape extends AnyRef

  79. class ShapeList extends AnyRef

  80. class SimpleJobOwner extends JobOwner

  81. trait SingleErrorHandler extends AnyRef

  82. trait SourceOwner extends AnyRef

  83. 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.

  84. trait Task extends AnyRef

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

  86. trait TokenHolder extends AnyRef

  87. trait TokenMapperInterface extends AnyRef

  88. trait TokenReaderInterface extends Iterator[Token]

  89. trait TokenType extends AnyRef

    Attributes
    sealed
  90. trait TokenizerInterface extends AnyRef

  91. trait TrailDrawerInterface extends DrawingInterface

  92. trait Turtle extends Agent

    Interface provides access to NetLogo turtles.

  93. trait Turtle3D extends Turtle

  94. trait TurtleStamp3D extends Turtle3D

  95. trait ValueConstraint extends AnyRef

    Interface for objects which provide constraints for values

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

  97. trait ViewInterface extends AnyRef

  98. trait ViewSettings extends AnyRef

  99. trait World extends AnyRef

  100. trait World3D extends World

  101. class WorldDimensionException extends Exception

  102. class WorldDimensions extends AnyRef

    for wrapping up dimensions to resize the world using WorldResizer

  103. class WorldDimensions3D extends WorldDimensions

    for wrapping up dimensions to resize the world using WorldResizer

  104. trait WorldPropertiesInterface extends AnyRef

  105. 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 StringUtils extends AnyRef

  33. object Syntax extends Serializable

  34. object Token extends Serializable

  35. object TokenType extends AnyRef

  36. object TypeNames extends AnyRef

  37. object ValueConstraint extends AnyRef

  38. object Vect extends Serializable

  39. object Version extends AnyRef

  40. object VersionHistory extends AnyRef