Packages

t

org.nlogo.api

Reporter

trait Reporter extends PrimitiveReporter

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

Source
Reporter.scala
Linear Supertypes
PrimitiveReporter, Primitive, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Reporter
  2. PrimitiveReporter
  3. Primitive
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getSyntax: Syntax
    Definition Classes
    Primitive
  2. abstract def report(args: Array[Argument], context: Context): AnyRef

    Executes this Reporter.

    Executes this Reporter. Called by NetLogo when this Reporter is called in a running NetLogo model.

    args

    The Arguments that were included with the command in the NetLogo code. (May be a Reporter or a constant.)

    context

    The current Context allows access to NetLogo internal methods.

    returns

    the object to be reported

    Annotations
    @throws( classOf[ExtensionException] )
    Exceptions thrown