Packages

final class ValueCell[A] extends Cell[A] with LiftValue[A]

A ValueCell holds a value that can be mutated.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValueCell
  2. LiftValue
  3. PSettableValueHolder
  4. SettableValueHolder
  5. Settable
  6. PValueHolder
  7. ValueHolder
  8. Cell
  9. Dependent
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ValueCell(initialValue: A)

Type Members

  1. type ValueType = A
    Definition Classes
    PValueHolderValueHolder

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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

    Definition Classes
    Cell
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def atomicUpdate(f: (ValueType) ⇒ ValueType): ValueType

    Perform an atomic update of this Settable.

    Perform an atomic update of this Settable. The current value is passed to the function and the ValueHolder is set to the result of the function. This is enclosed in the performAtomicOperation method which will, by default, synchronize this instance

    Definition Classes
    Settable
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def currentValue: (A, Long)

    The cell's value and most recent change time

    The cell's value and most recent change time

    Definition Classes
    ValueCellCell
  9. def dependents: Seq[Dependent]

    Get a List of the Dependents

    Get a List of the Dependents

    Definition Classes
    Cell
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean
    Definition Classes
    ValueCell → AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def get: A

    Get the cell's value

    Get the cell's value

    Definition Classes
    Cell
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    ValueCell → AnyRef → Any
  16. def is: A
    Definition Classes
    LiftValue
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def lift[A, B](cell: Cell[B])(f: (A, B) ⇒ A): Cell[A]
    Definition Classes
    Cell
  19. def lift[A](f: (A) ⇒ A): Cell[A]

    Create a new Cell by applying the function to this cell

    Create a new Cell by applying the function to this cell

    Definition Classes
    Cell
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  23. 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

    Definition Classes
    Cell
  24. def performAtomicOperation[T](f: ⇒ T): T

    Perform an atomic operation on the Settable.

    Perform an atomic operation on the Settable. By default synchronizes the instance, but it could use other mechanisms

    Definition Classes
    Settable
  25. def predicateChanged(which: Cell[_]): Unit

    If the predicate cell changes, the Dependent will be notified.

    If the predicate cell changes, the Dependent will be notified. A ValueCell cannot have predicates

    Definition Classes
    ValueCellDependent
  26. def removeDependent[T <: Dependent](dep: T): T

    Remove a Dependent to this cell.

    Remove a Dependent to this cell.

    Definition Classes
    Cell
  27. def set(v: A): A

    Get the cell's value

    Get the cell's value

    Definition Classes
    ValueCellSettable
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    ValueCell → AnyRef → Any
  30. def unregisterFromAllDependencies(): Unit

    Remove from all dependencies

    Remove from all dependencies

    Attributes
    protected
    Definition Classes
    Dependent
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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
  35. def youDependOnMe(who: Cell[_]): Unit

    The Cell notifies the Dependent of the dependency

    The Cell notifies the Dependent of the dependency

    Definition Classes
    Dependent
  36. 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

Inherited from LiftValue[A]

Inherited from PSettableValueHolder[A]

Inherited from SettableValueHolder

Inherited from Settable

Inherited from PValueHolder[A]

Inherited from ValueHolder

Inherited from Cell[A]

Inherited from Dependent

Inherited from AnyRef

Inherited from Any

Ungrouped