sealed trait BindingSeq[+A] extends Any
Data binding expression of a sequence
- Alphabetic
- By Inheritance
- BindingSeq
- Any
- by AsBinding
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Type Members
-
final
class
WithFilter
extends AnyRef
A helper to build complicated comprehension expressions for BindingSeq
Abstract Value Members
-
abstract
def
getClass(): Class[_]
- Definition Classes
- Any
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to any2stringadd[BindingSeq[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (BindingSeq[A], B)
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to ArrowAssoc[BindingSeq[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final macro
def
bind: Seq[A]
Returns the current value of this Binding and mark the current
@dom
method depend on this Binding.Returns the current value of this Binding and mark the current
@dom
method depend on this Binding.Each time the value changes, in the current
@dom
method, all code after the currentbind
expression will be re-evaluated if the current@dom
method is #watching. However, code in current@dom
method and before the currentbind
expression will not be re-evaluated. This rule is not applied to DOM nodes created by XHTML literal. A change related to a DOM node does not affect siblings and parents of the node.- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to AsBinding[A] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
- Definition Classes
- Binding
- Note
This method must be invoked inside a
@dom
method body.
-
def
ensuring(cond: (BindingSeq[A]) ⇒ Boolean, msg: ⇒ Any): BindingSeq[A]
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to Ensuring[BindingSeq[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (BindingSeq[A]) ⇒ Boolean): BindingSeq[A]
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to Ensuring[BindingSeq[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): BindingSeq[A]
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to Ensuring[BindingSeq[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): BindingSeq[A]
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to Ensuring[BindingSeq[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
equals(arg0: Any): Boolean
- Definition Classes
- Any
-
macro
def
flatMap[B](f: (A) ⇒ BindingSeq[B]): BindingSeq[B]
Returns a BindingSeq that flat-maps each element of this BindingSeq via
f
Returns a BindingSeq that flat-maps each element of this BindingSeq via
f
- Note
This method is only available in a
Binding { ??? }
block or a@dom
method.
-
final
def
flatMapBinding[B](f: (A) ⇒ Binding[BindingSeq[B]]): BindingSeq[B]
Underlying implementation of #flatMap.
Underlying implementation of #flatMap.
- Annotations
- @inline()
- Note
Don't use this method in user code.
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to StringFormat[BindingSeq[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
hashCode(): Int
- Definition Classes
- Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def length: Binding[Int]
-
macro
def
map[B](f: (A) ⇒ B): BindingSeq[B]
Returns a BindingSeq that maps each element of this BindingSeq via
f
Returns a BindingSeq that maps each element of this BindingSeq via
f
- Note
This method is only available in a
Binding { ??? }
block or a@dom
method.
-
final
def
mapBinding[B](f: (A) ⇒ Binding[B]): BindingSeq[B]
Underlying implementation of #map.
Underlying implementation of #map.
- Annotations
- @inline()
- Note
Don't use this method in user code.
-
def
toString(): String
- Definition Classes
- Any
-
final
def
unwatch(): Unit
Disables automatic recalculation.
Disables automatic recalculation.
- Annotations
- @inline()
- 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.
- Annotations
- @inline()
- Note
This method is recursive, which means that the dependencies of this BindingSeq will be watched as well.
-
macro
def
withFilter(condition: (A) ⇒ Boolean): WithFilter
Returns a view of this BindingSeq that applied a filter of
condition
-
final
def
withFilterBinding(condition: (A) ⇒ Binding[Boolean]): WithFilter
Underlying implementation of #withFilter.
Underlying implementation of #withFilter.
- Annotations
- @inline()
- Note
Don't use this method in user code.
-
def
→[B](y: B): (BindingSeq[A], B)
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to ArrowAssoc[BindingSeq[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
final
def
unwatch(): Unit
Disable automatic recalculation.
Disable automatic recalculation.
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to AsBinding[A] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(bindingSeq: AsBinding[A]).unwatch()
- Definition Classes
- Binding
- Annotations
- @inline()
- Note
This method is recursive, which means that the dependencies of this Binding will be unwatched as well.
-
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.
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to AsBinding[A] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(bindingSeq: AsBinding[A]).watch()
- Definition Classes
- Binding
- Annotations
- @inline()
- Note
This method is recursive, which means that the dependencies of this Binding will be watched as well.
Deprecated Value Members
-
final macro
def
each: Seq[A]
- Implicit
- This member is added by an implicit conversion from BindingSeq[A] to AsBinding[A] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
- Definition Classes
- Binding
- Annotations
- @deprecated
- Deprecated
(Since version 7.0.0) Use Binding#bind instead