net.liftweb.util

Cell

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.

Linear Supertypes
Dependent, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Cell
  2. Dependent
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def currentValue : (T, Long)

    The cell's value and most recent change time

    The cell's value and most recent change time

    Attributes
    abstract
  2. def predicateChanged (which: net.liftweb.util.Cell[_]): Unit

    If the predicate cell changes, the Dependent will be notified

    If the predicate cell changes, the Dependent will be notified

    Attributes
    abstract
    Definition Classes
    Dependent

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. 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

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def dependents : Seq[Dependent]

    Get a List of the Dependents

  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def get : T

    Get the cell's value

  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  15. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  16. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  17. def lift [A, B] (cell: Cell[B])(f: (T, B) ⇒ A): Cell[A]

  18. def lift [A] (f: (T) ⇒ A): Cell[A]

    Create a new Cell by applying the function to this cell

  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. 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

  23. def removeDependent [T <: Dependent] (dep: T): T

    Remove a Dependent to this cell.

  24. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  25. def toString (): String

    Definition Classes
    AnyRef → Any
  26. def unregisterFromAllDepenencies (): Unit

    Remove from all dependencies

    Remove from all dependencies

    Attributes
    protected
    Definition Classes
    Dependent
  27. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. def whoDoIDependOn : Seq[net.liftweb.util.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
  31. def youDependOnMe (who: net.liftweb.util.Cell[_]): Unit

    The Cell notifies the Dependent of the dependency

    The Cell notifies the Dependent of the dependency

    Definition Classes
    Dependent
  32. def youDontDependOnMe (who: net.liftweb.util.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 Dependent

Inherited from AnyRef

Inherited from Any