Event.Store

class Store extends _events with _entries with _activation with _properties

Event.Store is a shared linked list container for keeping primarily _events definitions.

But it also can store/access any generic objects through _entries interface.

Event.Store has an idea of 'id' space or scope. Entries are added with specific 'id' and can only be accessible if this 'id' is provided. So, different types of entries defined in curent or extending types can share a single store instance.

The removal of entries is lazy after an Entry method 'cancel' is invoked. Though events do provide direct removal as well.

Source
__.scala
trait _entries
class _events
class java.lang.Object
trait scala.Matchable
class Any

Def

def activate(activeRule: () => Boolean): Unit
Inherited from
_activation
Source
_activation.scala
def add(typ: AnyRef, v: Any): Event.Control
Source
__.scala
def count: Int
Inherited from
_entries
Source
_entries.scala
def findOpt(typ: AnyRef): Opt[Event.Store.Entry]
Inherited from
_entries
Source
_entries.scala
def fireEvent0[U](typ: AnyRef): Int
Inherited from
_events
Source
_events.scala
def fireEvent1[P1](typ: AnyRef, p1: P1): Int
Inherited from
_events
Source
_events.scala
def fireEvent2[P1, P2](typ: AnyRef, p1: P1, p2: P2): Int
Inherited from
_events
Source
_events.scala
def fireEvent3[P1, P2, P3](typ: AnyRef, p1: P1, p2: P2, p3: P3): Int
Inherited from
_events
Source
_events.scala
def fireEvent4[P1, P2, P3, P4](typ: AnyRef, p1: P1, p2: P2, p3: P3, p4: P4): Int
Inherited from
_events
Source
_events.scala
def getPropertyOpt[B](id: AnyRef, dfltOpt: => Opt[B]): Opt[B]
Inherited from
_properties
Source
_properties.scala
def isActive: Boolean
Inherited from
_activation
Source
_activation.scala
def isEmpty: Boolean
Inherited from
_entries
Source
_entries.scala
def onActivateDeactivate[U](f: Boolean => U): Event.Control
Inherited from
_activation
Source
_activation.scala
def onActivateRun(f: => Unit): Event.Control
Inherited from
_activation
Source
_activation.scala
def onDeactivateRun(f: => Unit): Event.Control
Inherited from
_activation
Source
_activation.scala
def onEvent0(typ: AnyRef, f: () => Any): Event.Control
Inherited from
_events
Source
_events.scala
def onEvent1[P1](typ: AnyRef, f: P1 => Any): Event.Control
Inherited from
_events
Source
_events.scala
def onEvent2[P1, P2](typ: AnyRef, f: (P1, P2) => Any): Event.Control
Inherited from
_events
Source
_events.scala
def onEvent3[P1, P2, P3](typ: AnyRef, f: (P1, P2, P3) => Any): Event.Control
Inherited from
_events
Source
_events.scala
def onEvent4[P1, P2, P3, P4](typ: AnyRef, f: (P1, P2, P3, P4) => Any): Event.Control
Inherited from
_events
Source
_events.scala
def removePropertyOpt[B](id: AnyRef): Opt[B]
Inherited from
_properties
Source
_properties.scala
def setPropertyOpt[B](id: AnyRef, value: B): Opt[B]
Inherited from
_properties
Source
_properties.scala
def setupEvent(typ: AnyRef, v: AnyRef): Event.Control
Inherited from
_events
Source
_events.scala
def stream(typ: AnyRef): Stream[Event.Store.Entry]
Inherited from
_entries
Source
_entries.scala
def toText(label: Opt[String]): String
Inherited from
_entries
Source
_entries.scala