final class MapBinding[A, B] extends BindingSeq[B] with HasCache[Binding[B]]
- Alphabetic
- By Inheritance
- MapBinding
- HasCache
- BindingSeq
- AnyRef
- Any
- by AsBinding
- by AsBinding
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MapBinding(upstream: BindingSeq[A], f: (A) ⇒ Binding[B])
Type Members
-
final
class
WithFilter extends AnyRef
A helper to build complicated comprehension expressions for BindingSeq
A helper to build complicated comprehension expressions for BindingSeq
- Definition Classes
- BindingSeq
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to any2stringadd[MapBinding[A, B]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (MapBinding[A, B], B)
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to ArrowAssoc[MapBinding[A, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addPatchedListener(listener: PatchedListener[B]): Unit
- Attributes
- protected
- Definition Classes
- MapBinding → BindingSeq
-
final
def
all: Binding[Seq[B]]
Returns a new Binding expression of all elements in this BindingSeq.
Returns a new Binding expression of all elements in this BindingSeq.
- Definition Classes
- BindingSeq
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
ensuring(cond: (MapBinding[A, B]) ⇒ Boolean, msg: ⇒ Any): MapBinding[A, B]
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to Ensuring[MapBinding[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (MapBinding[A, B]) ⇒ Boolean): MapBinding[A, B]
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to Ensuring[MapBinding[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): MapBinding[A, B]
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to Ensuring[MapBinding[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): MapBinding[A, B]
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to Ensuring[MapBinding[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
macro
def
flatMap[B](f: (B) ⇒ 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
- f
The mapper function, which may contain magic bind calls.
- Definition Classes
- BindingSeq
-
final
def
flatMapBinding[B](f: (B) ⇒ Binding[BindingSeq[B]]): BindingSeq[B]
The underlying implementation of flatMap.
The underlying implementation of flatMap.
- Definition Classes
- BindingSeq
- Annotations
- @inline()
- Note
Don't use this method in user code.
-
macro
def
foreach[U](f: (B) ⇒ U): Unit
- Definition Classes
- BindingSeq
-
def
foreachBinding[U](f: (B) ⇒ Binding[U]): Binding[Unit]
The underlying implementation of foreach.
The underlying implementation of foreach.
- Definition Classes
- BindingSeq
- 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 MapBinding[A, B] to StringFormat[MapBinding[A, B]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isEmpty: Binding[Boolean]
- Definition Classes
- BindingSeq
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
length: Binding[Int]
- Definition Classes
- BindingSeq
-
macro
def
map[B](f: (B) ⇒ 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
- f
The mapper function, which may contain magic bind calls.
- Definition Classes
- BindingSeq
-
final
def
mapBinding[B](f: (B) ⇒ Binding[B]): BindingSeq[B]
The underlying implementation of map.
The underlying implementation of map.
- Definition Classes
- BindingSeq
- Annotations
- @inline()
- Note
Don't use this method in user code.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonEmpty: Binding[Boolean]
- Definition Classes
- BindingSeq
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
removePatchedListener(listener: PatchedListener[B]): Unit
- Attributes
- protected
- Definition Classes
- MapBinding → BindingSeq
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
unwatch(): Unit
Disables automatic recalculation.
Disables automatic recalculation.
- Definition Classes
- BindingSeq
- Annotations
- @inline()
- Note
This method is recursive, which means that the dependencies of this BindingSeq will be unwatched as well.
-
def
value: Seq[B]
Returns the current value of this BindingSeq.
Returns the current value of this BindingSeq.
- Definition Classes
- MapBinding → BindingSeq
- Note
This method must not be invoked inside a
@dom
method body or aBinding { ... }
block..
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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.
- Definition Classes
- BindingSeq
- Annotations
- @inline()
- Note
This method is recursive, which means that the dependencies of this BindingSeq will be watched as well.
-
macro
def
withFilter(condition: (B) ⇒ Boolean): WithFilter
Returns a view of this BindingSeq that applied a filter of
condition
Returns a view of this BindingSeq that applied a filter of
condition
- Definition Classes
- BindingSeq
-
final
def
withFilterBinding(condition: (B) ⇒ Binding[Boolean]): WithFilter
The underlying implementation of withFilter.
The underlying implementation of withFilter.
- Definition Classes
- BindingSeq
- Annotations
- @inline()
- Note
Don't use this method in user code.
-
def
→[B](y: B): (MapBinding[A, B], B)
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to ArrowAssoc[MapBinding[A, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
final macro
def
bind: Seq[B]
Returns the current value of this Binding and marks the current
@dom
method depend on this Binding.Returns the current value of this Binding and marks 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. The above rule is not applied to DOM nodes created by XHTML literal. Abind
expression under a DOM node does not affect siblings and parents of that node.- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(mapBinding: AsBinding[B]).bind
- Definition Classes
- Binding
- Note
This method must be invoked inside a
@dom
method body or aBinding { ... }
block..
-
final macro
def
bind: Seq[B]
Returns the current value of this Binding and marks the current
@dom
method depend on this Binding.Returns the current value of this Binding and marks 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. The above rule is not applied to DOM nodes created by XHTML literal. Abind
expression under a DOM node does not affect siblings and parents of that node.- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(mapBinding: AsBinding[B]).bind
- Definition Classes
- Binding
- Note
This method must be invoked inside a
@dom
method body or aBinding { ... }
block..
-
final
def
unwatch(): Unit
Disable automatic recalculation.
Disable automatic recalculation.
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to AsBinding[B] 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:(mapBinding: AsBinding[B]).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
unwatch(): Unit
Disable automatic recalculation.
Disable automatic recalculation.
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to AsBinding[B] 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:(mapBinding: AsBinding[B]).unwatch()
- Definition Classes
- Binding
- Annotations
- @inline()
- Note
This method is recursive, which means that the dependencies of this Binding will be unwatched as well.
-
def
value: Seq[B]
Returns the current value of this Binding
Returns the current value of this Binding
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to AsBinding[B] 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:(mapBinding: AsBinding[B]).value
- Definition Classes
- AsBinding → Binding
- Annotations
- @inline()
- Note
This method must not be invoked inside a
@dom
method body or aBinding { ... }
block..
-
def
value: Seq[B]
Returns the current value of this Binding
Returns the current value of this Binding
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to AsBinding[B] 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:(mapBinding: AsBinding[B]).value
- Definition Classes
- AsBinding → Binding
- Annotations
- @inline()
- Note
This method must not be invoked inside a
@dom
method body or aBinding { ... }
block..
-
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 MapBinding[A, B] to AsBinding[B] 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:(mapBinding: AsBinding[B]).watch()
- Definition Classes
- Binding
- Annotations
- @inline()
- Note
This method is recursive, which means that the dependencies of this Binding will be watched 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 MapBinding[A, B] to AsBinding[B] 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:(mapBinding: AsBinding[B]).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[B]
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(mapBinding: AsBinding[B]).each
- Definition Classes
- Binding
- Annotations
- @deprecated
- Deprecated
(Since version 7.0.0) Use bind instead
-
final macro
def
each: Seq[B]
- Implicit
- This member is added by an implicit conversion from MapBinding[A, B] to AsBinding[B] performed by method AsBinding in com.thoughtworks.binding.Binding.BindingSeq.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(mapBinding: AsBinding[B]).each
- Definition Classes
- Binding
- Annotations
- @deprecated
- Deprecated
(Since version 7.0.0) Use bind instead