Trait/Object

net.liftweb.util

Cell

Related Docs: object Cell | package util

Permalink

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
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Cell
  2. Dependent
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def currentValue: (T, Long)

    Permalink

    The cell's value and most recent change time

  2. abstract def predicateChanged(which: Cell[_]): Unit

    Permalink

    If the predicate cell changes, the Dependent will be notified

    If the predicate cell changes, the Dependent will be notified

    Definition Classes
    Dependent

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addDependent[T <: Dependent](dep: T): T

    Permalink

    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

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Permalink

    Get a List of the Dependents

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get: T

    Permalink

    Get the cell's value

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def lift[A, B](cell: Cell[B])(f: (T, B) ⇒ A): Cell[A]

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

    Permalink

    Create a new Cell by applying the function to this cell

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def notifyDependents(): Unit

    Permalink

    Notify dependents of a state change.

    Notify dependents of a state change. Note this will be performed on a separate thread asynchronously

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

    Permalink

    Remove a Dependent to this cell.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. def unregisterFromAllDependencies(): Unit

    Permalink

    Remove from all dependencies

    Remove from all dependencies

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def whoDoIDependOn: Seq[Cell[_]]

    Permalink

    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
  29. def youDependOnMe(who: Cell[_]): Unit

    Permalink

    The Cell notifies the Dependent of the dependency

    The Cell notifies the Dependent of the dependency

    Definition Classes
    Dependent
  30. def youDontDependOnMe(who: Cell[_]): Unit

    Permalink

    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

Ungrouped