Trait/Object

com.thoughtworks.binding

Binding

Related Docs: object Binding | package binding

Permalink

trait Binding[+A] extends Any

A data binding expression that represent a value that automatically re-calculates when its dependencies change.

You may compose a data binding expression via monadic[Binding] block, or add @dom annotation to methods that produces a data binding expression.

See also

com.thoughtworks.each.Monadic

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Binding
  2. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    Any
  6. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def toString(): String

    Permalink
    Definition Classes
    Any
  9. final def unwatch(): Unit

    Permalink

    Disable automatically re-calculation.

    Disable automatically re-calculation.

    Annotations
    @inline()
    Note

    This method is recursive, which means that the dependencies of this Binding will be unwatched as well.

  10. final def watch(): Unit

    Permalink

    Enable automatically re-calculation.

    Enable automatically re-calculation.

    You may invoke this method more than once. Then, when you want to disable automatically re-calculation, you must invoke #unwatch same times as the number of calls to this method.

    Annotations
    @inline()
    Note

    This method is recursive, which means that the dependencies of this Binding will be watched as well.

Inherited from Any

Ungrouped