NetLogo 6.2.2 - org.nlogo.agent.AgentColors
Keywords: NetLogo 6.2.2 org.nlogo.agent.AgentColors

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package agent
  Definition Classes
    nlogo
- AbstractExporter
- Agent
- Agent3D
- AgentBit
- AgentColors
- AgentIterator
- AgentManagement
- AgentParserCreator
- AgentSet
- AgentSetBuilder
- AllStoredValues
- ArrayAgentSet
- BooleanConstraint
- Box
- BreedShapes
- ChooserConstraint
- CompilationManagement
- ConstantSliderConstraint
- Constraints
- CoreWorld
- DimensionManagement
- Directedness
- Drawing3D
- DrawingLine3D
- DummyLink
- DynamicSliderConstraint
- Gamma
- GrossWorldState
- HeadingSmoother
- HorizCylinder
- ImportPatchColors
- Importer
- Importer3D
- ImporterJ
- InRadiusOrCone
- InRadiusOrCone3D
- InRadiusSimple
- IndexedAgentSet
- InputBoxConstraint
- Layouts
- Link
- Link3D
- LinkFactory
- LinkManagement
- LinkManager
- LinkManagerImpl
- LinkStamp3D
- LiteralAgentParser
- Neighbors
- NumericConstraint
- Observer
- Observer3D
- ObserverManagement
- OrientatableObserver
- OutputObject
- Patch
- Patch3D
- PatchException
- Protractor
- Protractor3D
- Realloc
- RootsTable
- Rotations3D
- SliderConstraint
- TickCounter
- TieManager
- TieManager3D
- Topology
- Topology3D
- Torus
- Torus3D
- Trail
- TreeAgentSet
- TrigTables
- Turtle
- Turtle2D
- Turtle3D
- TurtleManagement
- TurtleStamp3D
- VertCylinder
- WatcherManagement
- World
- World2D
- World3D
- WorldKernel
- XBlocks
- XWraps
- YBlocks
- YWraps

t

org.nlogo.agent

# AgentColors 

###

#### trait AgentColors extends Agent

Source
  AgentColors.scala

Linear Supertypes
Agent, Comparable[Agent], api.Agent, AgentJ, AnyRef, Any
Known Subclasses
DummyLink, Link, Link3D, Patch, Patch3D, Turtle, Turtle2D, Turtle3D
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. AgentColors
2. Agent
3. Comparable
4. Agent
5. AgentJ
6. AnyRef
7. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Abstract Value Members

1.  abstract def agentBit: Int
   Definition Classes
     Agent
2.  abstract def alpha: Int

   0-255, 0 = invisible, 255 = opaque

   0-255, 0 = invisible, 255 = opaque

   Definition Classes
     Agent
3.  abstract def classDisplayName: String

   Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)

   Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)

   Definition Classes
     Agent → Agent
4.  abstract def getBreedVariable(name: String): AnyRef
   Definition Classes
     Agent
   Annotations
     @throws( classOf[AgentException] )
5.  abstract def getLinkBreedVariable(name: String): AnyRef
   Definition Classes
     Agent
   Annotations
     @throws( classOf[AgentException] )
6.  abstract def getLinkVariable(vn: Int): AnyRef
   Definition Classes
     Agent
   Annotations
     @throws( classOf[AgentException] )
7.  abstract def getPatchAtOffsets(dx: Double, dy: Double): Patch
   Definition Classes
     Agent
   Annotations
     @throws( classOf[AgentException] )
8.  abstract def getPatchVariable(vn: Int): AnyRef
   Definition Classes
     Agent
   Annotations
     @throws( classOf[AgentException] )
9.  abstract def getTurtleOrLinkVariable(varName: String): AnyRef
   Definition Classes
     Agent
   Annotations
     @throws( classOf[AgentException] )
10.  abstract def getTurtleVariable(vn: Int): AnyRef
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
11.  abstract def getVariable(vn: Int): AnyRef

    Returns the value of the variable in the given position of the agent variable array

    Returns the value of the variable in the given position of the agent variable array

    vn

      the index into the agent variable array

    Definition Classes
      Agent → Agent
12.  abstract def kind: AgentKind

    Returns the kind of this agent (Turtle, Link, Patch, Observer).

    Returns the kind of this agent (Turtle, Link, Patch, Observer).

    Definition Classes
      Agent
13.  abstract def setBreedVariable(name: String, value: AnyRef): Unit
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
14.  abstract def setLinkBreedVariable(name: String, value: AnyRef): Unit
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
15.  abstract def setLinkVariable(vn: Int, value: Double): Unit
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
16.  abstract def setLinkVariable(vn: Int, value: AnyRef): Unit
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
17.  abstract def setPatchVariable(vn: Int, value: Double): Unit
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
18.  abstract def setPatchVariable(vn: Int, value: AnyRef): Unit
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
19.  abstract def setTurtleOrLinkVariable(varName: String, value: AnyRef): Unit
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
20.  abstract def setTurtleVariable(vn: Int, value: Double): Unit
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
21.  abstract def setTurtleVariable(vn: Int, value: AnyRef): Unit
    Definition Classes
      Agent
    Annotations
      @throws( classOf[AgentException] )
22.  abstract def setVariable(vn: Int, value: AnyRef): Unit

    Sets the variable in the position vn of the agent variable array to value

    Sets the variable in the position vn of the agent variable array to value

    vn

      the index into the agent variable array

    value

      the new value for the variable

    Definition Classes
      Agent → Agent
    Annotations
      @throws( classOf[AgentException] )
    Exceptions thrown

      `api.AgentException` If value is the wrong type for the given variable or if you try to change variables that cannot be changed

23.  abstract def shape: String

    Returns the name of the current shape, empty string in the case of patches.

    Returns the name of the current shape, empty string in the case of patches.

    Definition Classes
      Agent
24.  abstract def size: Double

    Returns the size of this agent

    Returns the size of this agent

    Definition Classes
      Agent
25.  abstract def variableName(vn: Int): String

    Returns the name of the variable with the given index.

    Returns the name of the variable with the given index. Works for built-in, *-own, and breed variables.

    vn

      the index of the variable

    Definition Classes
      Agent

### Concrete Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... ) @native()
6.  def compareTo(a: Agent): Int
   Definition Classes
     Agent → Comparable
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def finalize(): Unit
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )
10.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
11.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
12.  def id: Long

    Returns the id number of this agent.

    Returns the id number of this agent. The who number in the case of a turtle, index into the array in the case of patches

    Definition Classes
      Agent → Agent
13.  def id_=(newId: Long): Unit
    Definition Classes
      Agent
14.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
15.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
16.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
17.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
18.  def setId(newId: Long): Unit
    Definition Classes
      Agent
19.  def setVariables(v: Array[AnyRef]): Unit
    Definition Classes
      Agent
20.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
21.  def toString(): String
    Definition Classes
      AnyRef → Any
22.  def validRGBList(rgb: LogoList, allowAlpha: Boolean): Unit
    Annotations
      @throws( classOf[AgentException] )
23.  def variables: Array[AnyRef]

    Returns raw array of all agent variables.

    Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.

    Definition Classes
      Agent → Agent
24.  def variables_=(v: Array[AnyRef]): Unit
    Definition Classes
      Agent
25.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
26.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
27.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
28.  def world: World

    Returns the world object associated with this agent

    Returns the world object associated with this agent

    Definition Classes
      Agent → Agent

### Inherited from Agent

### Inherited from Comparable[Agent]

### Inherited from api.Agent

### Inherited from AgentJ

### Inherited from AnyRef

### Inherited from Any

### Ungrouped