Vars

com.thoughtworks.binding.Binding$.Vars
See theVars companion object
final class Vars[A] extends BindingSeq[A] with HasCache[A]

Source sequence of data binding expression.

Attributes

Companion:
object
Source:
Binding.scala
Graph
Supertypes
trait HasCache[A]
trait BindingSeq[A]
trait BindingSeq2Or3[A]
trait BindingSeqOrWithFilter[A]
trait Watchable[A]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

type All[+A] = Buffer[_ <: A] & SeqOpsIterable[A]

The value type of all

The value type of all

Attributes

Source:
Binding.scala

Value members

Concrete methods

override def value: Buffer[A]

Returns a scala.collection.mutable.Buffer that allow you change the content of this Vars.

Returns a scala.collection.mutable.Buffer that allow you change the content of this Vars.

Whenever you change the returned data, other binding expressions that depend on this Vars will be automatically changed.

Attributes

Note:

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

Definition Classes
Source:
Binding.scala

Inherited methods

final def all: Binding[All[A]]

Returns a new Binding expression of all elements in this BindingSeq.

Returns a new Binding expression of all elements in this BindingSeq.

Attributes

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

The underlying implementation of flatMap.

The underlying implementation of flatMap.

Attributes

Note:

Don't use this method in user code.

Inherited from:
BindingSeq
Source:
Binding.scala
def foreachBinding[U](f: A => Binding[U]): Binding[Unit]

The underlying implementation of foreach.

The underlying implementation of foreach.

Attributes

Note:

Don't use this method in user code.

Inherited from:
BindingSeq
Source:
Binding.scala

Attributes

Inherited from:
BindingSeq
Source:
Binding.scala

Attributes

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

The underlying implementation of map.

The underlying implementation of map.

Attributes

Note:

Don't use this method in user code.

Inherited from:
BindingSeq
Source:
Binding.scala

Attributes

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

Disables automatic recalculation.

Disables automatic recalculation.

Attributes

Note:

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

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

Enables automatic recalculation.

Enables 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 BindingSeq will be watched as well.

Inherited from:
BindingSeq
Source:
Binding.scala
final def withFilterBinding(condition: A => Binding[Boolean]): WithFilter[A]

The underlying implementation of withFilter.

The underlying implementation of withFilter.

Attributes

Note:

Don't use this method in user code.

Inherited from:
BindingSeq
Source:
Binding.scala