ActionBroker

org.nlogo.api.ActionBroker
trait ActionBroker[A <: Action] extends Publisher[A]

Attributes

Source
Action.scala
Graph
Supertypes
trait Publisher[A]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def publish(action: A): Unit

Attributes

Definition Classes
Source
Action.scala
def publishWithoutRunning(action: A): Unit

Normally, you would not want to do that. The one use case we have is the Stamp drawing action which, when recorded through an ActionBroker, calls trailDrawer.stamp() directly and grabs a bitmap that will be stored in the Action. No need, then, to re-import that bitmap through the runner. But this is very much a hack and I wish we had another way of handling stamping so we could (amongst other things) get rid of this method. NP 2013-02-04

Normally, you would not want to do that. The one use case we have is the Stamp drawing action which, when recorded through an ActionBroker, calls trailDrawer.stamp() directly and grabs a bitmap that will be stored in the Action. No need, then, to re-import that bitmap through the runner. But this is very much a hack and I wish we had another way of handling stamping so we could (amongst other things) get rid of this method. NP 2013-02-04

Attributes

Source
Action.scala

Inherited methods

def subscribe(listen: A => Unit): Unit

Attributes

Inherited from:
Publisher
Source
Publisher.scala
def subscribe(listener: Listener[A]): Unit

Attributes

Inherited from:
Publisher
Source
Publisher.scala
def unsubscribe(listener: Listener[A]): Unit

Attributes

Inherited from:
Publisher
Source
Publisher.scala

Abstract fields

Attributes

Source
Action.scala