class DummyLink extends Link

Source
DummyLink.scala
Linear Supertypes
Link, api.Link, Agent, Comparable[Agent], api.Agent, Observable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DummyLink
  2. Link
  3. Link
  4. Agent
  5. Comparable
  6. Agent
  7. Observable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DummyLink(world: World, _end1: AnyRef, _end2: AnyRef, breed: AgentSet)

Value Members

  1. def addObserver(arg0: java.util.Observer): Unit
    Definition Classes
    Observable
  2. def agentKey(): AnyRef
    Definition Classes
    LinkAgent
  3. def alpha(): Int

    0-255, 0 = invisible, 255 = opaque

    0-255, 0 = invisible, 255 = opaque

    Definition Classes
    LinkAgent
  4. def bothEnds(): AgentSet
    Definition Classes
    Link
  5. 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
    LinkAgentAgent
  6. def color(rgb: LogoList): Unit
    Definition Classes
    Link
  7. def color(): AnyRef

    Returns the value of the color variable, a Double or LogoList.

    Returns the value of the color variable, a Double or LogoList.

    Definition Classes
    LinkLink
  8. def colorDouble(boxedColor: Double): Unit
    Definition Classes
    Link
  9. def colorDoubleUnchecked(boxedColor: Double): Unit
    Definition Classes
    Link
  10. def compareTo(a: Agent): Int
    Definition Classes
    LinkAgent → Comparable
  11. def countObservers(): Int
    Definition Classes
    Observable
  12. def deleteObserver(arg0: java.util.Observer): Unit
    Definition Classes
    Observable
  13. def deleteObservers(): Unit
    Definition Classes
    Observable
  14. def die(): Unit
    Definition Classes
    Link
  15. def end1(): Turtle

    Returns the first end point of this link.

    Returns the first end point of this link. If the link is directed this is the source turtle if the link is undirected it is the turtle with the lower who number.

    Definition Classes
    LinkLink
  16. def end2(): Turtle

    Returns the second end point of this link.

    Returns the second end point of this link. If the link is directed this is the destination turtle if the link is undirected it is the turtle with the higher who number.

    Definition Classes
    LinkLink
  17. def getAgentBit(): Int
    Definition Classes
    LinkAgent
  18. def getAgentClass(): Class[Link]
    Definition Classes
    LinkAgent
  19. def getBreed(): AgentSet

    Returns the breed AgentSet associated with this link.

    Returns the breed AgentSet associated with this link. Iif the link is unbreeded returns the all links AgentSet.

    Definition Classes
    LinkLink
  20. def getBreedIndex(): Int

    Returns the index of the breed of this link.

    Returns the index of the breed of this link.

    Definition Classes
    LinkLink
  21. def getBreedVariable(name: String): AnyRef
    Definition Classes
    LinkAgent
  22. def getLinkBreedVariable(name: String): AnyRef
    Definition Classes
    LinkAgent
  23. def getLinkVariable(vn: Int): AnyRef
    Definition Classes
    LinkAgent
  24. def getLinkVariableDouble(vn: Int): Double
    Definition Classes
    Link
  25. def getObserverVariable(vn: Int): AnyRef
    Definition Classes
    LinkAgent
  26. def getPatchAtOffsets(dx: Double, dy: Double): Patch
    Definition Classes
    LinkAgent
  27. def getPatchVariable(vn: Int): AnyRef
    Definition Classes
    LinkAgent
  28. def getTurtleOrLinkVariable(varName: String): AnyRef
    Definition Classes
    LinkAgent
  29. def getTurtleVariable(vn: Int): AnyRef
    Definition Classes
    LinkAgent
  30. 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
    LinkAgentAgent
  31. def getVariableCount(): Int
    Definition Classes
    Agent
  32. def hasChanged(): Boolean
    Definition Classes
    Observable
  33. def hasLabel(): Boolean

    Returns true if there is a value in the label variable.

    Returns true if there is a value in the label variable.

    Definition Classes
    LinkLink
  34. def heading(): Double

    Returns the heading towards end2 from end1.

    Returns the heading towards end2 from end1.

    Definition Classes
    LinkLink
  35. def hidden(hidden: Boolean): Unit
    Definition Classes
    Link
  36. def hidden(): Boolean

    Returns the value of the hidden? variable.

    Returns the value of the hidden? variable.

    Definition Classes
    LinkLink
  37. 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
    AgentAgent
  38. def isDirectedLink(): Boolean

    Returns true if this link is directed.

    Returns true if this link is directed.

    Definition Classes
    LinkLink
  39. def isPartiallyTransparent(): Boolean
    Definition Classes
    Agent
  40. def isTied(): Boolean
    Definition Classes
    Link
  41. def kind(): AgentKind

    Returns the kind of this agent (observer, turtle, patch, or link.

    Returns the kind of this agent (observer, turtle, patch, or link.

    Definition Classes
    LinkAgent
  42. def label(label: Any): Unit
    Definition Classes
    Link
  43. def label(): AnyRef
    Definition Classes
    Link
  44. def labelColor(rgb: LogoList): Unit
    Definition Classes
    Link
  45. def labelColor(labelColor: Double): Unit
    Definition Classes
    Link
  46. def labelColor(): AnyRef

    Returns the value of the label-color variable.

    Returns the value of the label-color variable.

    Definition Classes
    LinkLink
  47. def labelString(): String

    Returns the value of the label variable.

    Returns the value of the label variable.

    Definition Classes
    LinkLink
  48. def lineThickness(value: Double): Unit
    Definition Classes
    Link
  49. def lineThickness(): Double

    Returns the value of the thinkness variable.

    Returns the value of the thinkness variable.

    Definition Classes
    LinkLink
  50. def linkDestinationSize(): Double

    Returns the size of end2.

    Returns the size of end2.

    Definition Classes
    LinkLink
  51. def midpointX(): Double

    Returns the x-coordinate of the midpoint of this link taking wrapping in account.

    Returns the x-coordinate of the midpoint of this link taking wrapping in account.

    Definition Classes
    LinkLink
  52. def midpointY(): Double

    Returns the y-coordinate of the midpoint of this link taking wrapping in account.

    Returns the y-coordinate of the midpoint of this link taking wrapping in account.

    Definition Classes
    LinkLink
  53. def mode(mode: String): Unit
    Definition Classes
    Link
  54. def mode(): String
    Definition Classes
    Link
  55. def notifyObservers(arg0: Any): Unit
    Definition Classes
    Observable
  56. def notifyObservers(): Unit
    Definition Classes
    Observable
  57. def otherEnd(parent: Turtle): Turtle
    Definition Classes
    Link
  58. def setBreed(breed: AgentSet): Unit
    Definition Classes
    Link
  59. def setBreedVariable(vn: Int, value: Double): Unit
    Definition Classes
    Link
  60. def setBreedVariable(name: String, value: Any): Unit
    Definition Classes
    LinkAgent
  61. def setLinkBreedVariable(name: String, value: Any): Unit
    Definition Classes
    LinkAgent
  62. def setLinkVariable(vn: Int, value: Any): Unit
    Definition Classes
    LinkAgent
  63. def setLinkVariable(vn: Int, value: Double): Unit
    Definition Classes
    LinkAgent
  64. def setObserverVariable(vn: Int, value: Any): Unit
    Definition Classes
    LinkAgent
  65. def setPatchVariable(vn: Int, value: Double): Unit
    Definition Classes
    LinkAgent
  66. def setPatchVariable(vn: Int, value: Any): Unit
    Definition Classes
    LinkAgent
  67. def setTurtleOrLinkVariable(varName: String, value: Any): Unit
    Definition Classes
    LinkAgent
  68. def setTurtleVariable(vn: Int, value: Double): Unit
    Definition Classes
    LinkAgent
  69. def setTurtleVariable(vn: Int, value: Any): Unit
    Definition Classes
    LinkAgent
  70. def setVariable(vn: Int, value: Any): 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
    LinkAgentAgent
    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

  71. def shape(shape: String): Unit
    Definition Classes
    Link
  72. def shape(): String

    Returns the name of the current shape

    Returns the name of the current shape

    Definition Classes
    LinkLinkAgent
  73. def size(): Double

    Returns the size of this agent

    Returns the size of this agent

    Definition Classes
    LinkAgent
  74. def toString(): String
    Definition Classes
    DummyLinkLink → AnyRef → Any
  75. def untie(): Unit
    Definition Classes
    Link
  76. def variableConstraint(vn: Int, con: ValueConstraint): Unit
    Definition Classes
    Agent
  77. def variableConstraint(vn: Int): ValueConstraint
    Definition Classes
    Agent
  78. 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. Only added in NetLogo 5.0.6.

    vn

    the index of the variable

    Definition Classes
    LinkAgent
  79. 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
    AgentAgent
  80. def world(): World

    Returns the world object associated with this agent

    Returns the world object associated with this agent

    Definition Classes
    AgentAgent
  81. def x1(): Double

    Returns the x-coordinate of end1.

    Returns the x-coordinate of end1.

    Definition Classes
    LinkLink
  82. def x2(): Double

    Returns the x-coordinate of end2.

    Returns the x-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.

    Definition Classes
    LinkLink
  83. def y1(): Double

    Returns the y-coordinate of end1.

    Returns the y-coordinate of end1.

    Definition Classes
    LinkLink
  84. def y2(): Double

    Returns the y-coordinate of end2.

    Returns the y-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.

    Definition Classes
    LinkLink