trait Cell[T] extends Dependent
A wiring Cell. A Cell can be a ValueCell which holds a value which can be set (and thus update the dependencies), a FuncCell (a cell that is a function that depends on other cells), or a DynamicCell which has a value that updates each time the cell is accessed.
- Alphabetic
- By Inheritance
- Cell
- Dependent
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addDependent[T <: Dependent](dep: T): T
Add a Dependent to this cell.
Add a Dependent to this cell. The Dependent will be notified when the Cell's value changes. Dependents are kept around as WeakReferences so they do not have to be explicitly removed from the List
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def dependents: Seq[Dependent]
Get a List of the Dependents
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get: T
Get the cell's value
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lift[A, B](cell: Cell[B])(f: (T, B) => A): Cell[A]
- def lift[A](f: (T) => A): Cell[A]
Create a new Cell by applying the function to this cell
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def notifyDependents(): Unit
Notify dependents of a state change.
Notify dependents of a state change. Note this will be performed on a separate thread asynchronously
- def removeDependent[T <: Dependent](dep: T): T
Remove a Dependent to this cell.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unregisterFromAllDependencies(): Unit
Remove from all dependencies
Remove from all dependencies
- Attributes
- protected
- Definition Classes
- Dependent
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def whoDoIDependOn: Seq[Cell[_]]
Get a list of all the cells this Dependency depends on
Get a list of all the cells this Dependency depends on
- Attributes
- protected
- Definition Classes
- Dependent
- def youDependOnMe(who: Cell[_]): Unit
The Cell notifies the Dependent of the dependency
The Cell notifies the Dependent of the dependency
- Definition Classes
- Dependent
- def youDontDependOnMe(who: Cell[_]): Unit
The Cell notifies the Dependent of the removed dependency
The Cell notifies the Dependent of the removed dependency
- Definition Classes
- Dependent