org.nlogo.api

Argument

trait Argument extends AnyRef

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.

Source
Argument.scala
See also

Reporter#report(Argument[], Context)

,

Command#perform(Argument[], Context)

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Argument
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def get : AnyRef

    Returns the argument as an Object without type checking.

    Returns the argument as an Object without type checking.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  2. def getAgent : Agent

    Returns the argument as an Agent.

    Returns the argument as an Agent.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  3. def getAgentSet : AgentSet

    Returns the argument as an org.nlogo.api.AgentSet.

    Returns the argument as an org.nlogo.api.AgentSet.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  4. def getBoolean : Boolean

    Returns the argument as a boxed java.lang.Boolean

    Returns the argument as a boxed java.lang.Boolean

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  5. def getBooleanValue : Boolean

    Returns the value of the argument as an unboxed boolean.

    Returns the value of the argument as an unboxed boolean.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  6. def getCommandTask : CommandTask

    Returns the argument as a org.nlogo.api.CommandTask.

    Returns the argument as a org.nlogo.api.CommandTask.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  7. def getDoubleValue : Double

    Returns the value of the argument as an unboxed double.

    Returns the value of the argument as an unboxed double.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  8. def getIntValue : Int

    Returns the value of the argument as an unboxed int.

    Returns the value of the argument as an unboxed int. Any fractional part is discarded.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  9. def getLink : Link

    Returns the argument as a org.nlogo.api.Link.

    Returns the argument as a org.nlogo.api.Link.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  10. def getList : LogoList

    Returns the argument as a org.nlogo.api.LogoList

    Returns the argument as a org.nlogo.api.LogoList

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  11. def getPatch : Patch

    Returns the argument as an org.nlogo.api.Patch

    Returns the argument as an org.nlogo.api.Patch

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  12. def getReporterTask : ReporterTask

    Returns the argument as a org.nlogo.api.ReporterTask.

    Returns the argument as a org.nlogo.api.ReporterTask.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  13. def getString : String

    Returns the argument as a String

    Returns the argument as a String

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
  14. def getTurtle : Turtle

    Returns the argument as a org.nlogo.api.Turtle.

    Returns the argument as a org.nlogo.api.Turtle.

    Attributes
    abstract
    Annotations
    @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  12. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  13. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  14. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  16. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  17. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  18. def toString (): String

    Definition Classes
    AnyRef → Any
  19. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any