BindingSeq

com.thoughtworks.binding.Binding$.BindingSeq
See theBindingSeq companion object
trait BindingSeq[+A] extends Watchable[A] with BindingSeq2Or3[A]

Data binding expression of a sequence

Attributes

Companion:
object
Graph
Supertypes
trait BindingSeq2Or3[A]
trait BindingSeqOrWithFilter[A]
trait Watchable[A]
class Object
trait Matchable
class Any
Known subtypes
class FlatMap[A, B]
class MapBinding[A, B]
class Constants[A]
class Vars[A]

Members list

Concise view

Type members

Types

type All[+A] <: SeqOpsIterable[A]

The value type of all

The value type of all

Attributes

Value members

Concrete 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

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.

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.

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.

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.

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.

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.