Packages

final case class Constants[+A](get: A*) extends AnyVal with BindingSeq[A] with Product with Serializable

An data binding expression of sequence that never changes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Constants
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BindingSeq
  7. AnyVal
  8. Any
Implicitly
  1. by AsBinding
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Constants(get: A*)

Type Members

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Constants[A] to any2stringadd[Constants[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Constants[A], B)
    Implicit
    This member is added by an implicit conversion from Constants[A] to ArrowAssoc[Constants[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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 current bind expression will be re-evaluated if the current @dom method is #watching. However, code in current @dom method and before the current bind 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 Constants[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.

  8. def ensuring(cond: (Constants[A]) ⇒ Boolean, msg: ⇒ Any): Constants[A]
    Implicit
    This member is added by an implicit conversion from Constants[A] to Ensuring[Constants[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Constants[A]) ⇒ Boolean): Constants[A]
    Implicit
    This member is added by an implicit conversion from Constants[A] to Ensuring[Constants[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): Constants[A]
    Implicit
    This member is added by an implicit conversion from Constants[A] to Ensuring[Constants[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Constants[A]
    Implicit
    This member is added by an implicit conversion from Constants[A] to Ensuring[Constants[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. 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

    Definition Classes
    BindingSeq
    Note

    This method is only available in a Binding { ??? } block or a @dom method.

  13. final def flatMapBinding[B](f: (A) ⇒ Binding[BindingSeq[B]]): BindingSeq[B]

    Underlying implementation of #flatMap.

    Underlying implementation of #flatMap.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  14. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Constants[A] to StringFormat[Constants[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. val get: A*
    Definition Classes
    ConstantsBindingSeq
  16. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def length: Binding[Int]
    Definition Classes
    BindingSeq
  19. 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

    Definition Classes
    BindingSeq
    Note

    This method is only available in a Binding { ??? } block or a @dom method.

  20. final def mapBinding[B](f: (A) ⇒ Binding[B]): BindingSeq[B]

    Underlying implementation of #map.

    Underlying implementation of #map.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  21. 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.

  22. 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.

  23. macro def withFilter(condition: (A) ⇒ 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
  24. final def withFilterBinding(condition: (A) ⇒ Binding[Boolean]): WithFilter

    Underlying implementation of #withFilter.

    Underlying implementation of #withFilter.

    Definition Classes
    BindingSeq
    Annotations
    @inline()
    Note

    Don't use this method in user code.

  25. def [B](y: B): (Constants[A], B)
    Implicit
    This member is added by an implicit conversion from Constants[A] to ArrowAssoc[Constants[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. final def unwatch(): Unit

    Disable automatic recalculation.

    Disable automatic recalculation.

    Implicit
    This member is added by an implicit conversion from Constants[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:
    (constants: 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.

  2. 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 Constants[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:
    (constants: 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

  1. final macro def each: Seq[A]
    Implicit
    This member is added by an implicit conversion from Constants[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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BindingSeq[A]

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion AsBinding from Constants[A] to AsBinding[A]

Inherited by implicit conversion any2stringadd from Constants[A] to any2stringadd[Constants[A]]

Inherited by implicit conversion StringFormat from Constants[A] to StringFormat[Constants[A]]

Inherited by implicit conversion Ensuring from Constants[A] to Ensuring[Constants[A]]

Inherited by implicit conversion ArrowAssoc from Constants[A] to ArrowAssoc[Constants[A]]

Ungrouped