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 ~(typ: Ref): ~[Event.Store.Entry]
Inherited from
_entries
Source
_entries.scala
def activate(activeRule: () => Boolean): Unit
Inherited from
_activation
Source
_activation.scala
def add(typ: Ref, v: Any): Event.Control
Source
__.scala
def count: Int
Inherited from
_entries
Source
_entries.scala
Inherited from
_entries
Source
_entries.scala
def fireEvent0[U](typ: Ref): Int
Inherited from
_events
Source
_events.scala
def fireEvent1[P1](typ: Ref, p1: P1): Int
Inherited from
_events
Source
_events.scala
def fireEvent2[P1, P2](typ: Ref, p1: P1, p2: P2): Int
Inherited from
_events
Source
_events.scala
def fireEvent3[P1, P2, P3](typ: Ref, p1: P1, p2: P2, p3: P3): Int
Inherited from
_events
Source
_events.scala
def fireEvent4[P1, P2, P3, P4](typ: Ref, p1: P1, p2: P2, p3: P3, p4: P4): Int
Inherited from
_events
Source
_events.scala
def getProperty_?[T](id: Ref, dfltOpt: => Opt[T]): Opt[T]
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: Ref, f: () => Any): Event.Control
Inherited from
_events
Source
_events.scala
def onEvent1[P1](typ: Ref, f: P1 => Any): Event.Control
Inherited from
_events
Source
_events.scala
def onEvent2[P1, P2](typ: Ref, f: (P1, P2) => Any): Event.Control
Inherited from
_events
Source
_events.scala
def onEvent3[P1, P2, P3](typ: Ref, f: (P1, P2, P3) => Any): Event.Control
Inherited from
_events
Source
_events.scala
def onEvent4[P1, P2, P3, P4](typ: Ref, f: (P1, P2, P3, P4) => Any): Event.Control
Inherited from
_events
Source
_events.scala
def removeProperty_?[T](id: Ref): Opt[T]
Inherited from
_properties
Source
_properties.scala
def setProperty_?[T](id: Ref, value: T): Opt[T]
Inherited from
_properties
Source
_properties.scala
Inherited from
_events
Source
_events.scala
def toText(label: Opt[String]): String
Inherited from
_entries
Source
_entries.scala