Stable

com.thoughtworks.binding.Binding$.Stable
trait Stable[+A] extends Binding[A]

A data binding expression that has a stable referecence of value.

Attributes

Note:

Even though value always references to the same object, the content of the object could be mutable.

Source:
Binding.scala
Graph
Supertypes
trait Binding[A]
trait Watchable[A]
class Object
trait Matchable
class Any
Known subtypes
class Constant[A]

Members list

Concise view

Value members

Inherited methods

final def flatMap[B](f: A => Binding[B]): Binding[B]

Attributes

Inherited from:
Binding
Source:
Binding.scala
final def map[B](f: A => B): Binding[B]

Attributes

Inherited from:
Binding
Source:
Binding.scala
final def unwatch(): Unit

Disable automatic recalculation.

Disable automatic recalculation.

Attributes

Note:

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

Inherited from:
Binding
Source:
Binding.scala
final def watch(): Unit

Enable automatic recalculation.

Enable automatic recalculation.

You may invoke this method more than once. Then, when you want to disable automatic recalculation, you must invoke unwatch same times as the number of calls to this method.

Attributes

Note:

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

Inherited from:
Binding
Source:
Binding.scala

Abstract fields

val value: A

Returns the current value of this Binding

Returns the current value of this Binding

Attributes

Note:

This method must not be invoked inside a @dom method body or a Binding { ... } block..

Source:
Binding.scala