Packages

object Binding extends Companion

Author:

杨博 (Yang Bo) <[email protected]>

Source
Binding.scala
Linear Supertypes
Companion, WithTypeClass[Monad, Binding], AnyRef, Any
Content Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. Binding
  2. Companion
  3. WithTypeClass
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait BindingSeq[+A] extends Watchable[A] with BindingSeq2Or3[A]

    Data binding expression of a sequence

  2. final class ChangedEvent[+Value] extends EventObject
  3. trait ChangedListener[-Value] extends AnyRef
  4. final case class Constant[+A](value: A) extends Stable[A] with Product with Serializable

    A data binding expression that never changes.

  5. final class Constants[+A] extends BindingSeq[A]

    An data binding expression of sequence that never changes.

  6. type F[A] = Binding[A]
    Definition Classes
    WithTypeClass
  7. final class FlatMap[A, B] extends Binding[B] with ChangedListener[B]

  8. type M[F[_]] = Monad[F]
    Definition Classes
    WithTypeClass
  9. final class Map[A, B] extends Binding[B] with ChangedListener[A]

  10. abstract class MultiMountPoint[-Element] extends Binding.BindingSeq.MultiMountPoint[Element]

    A mechanism that mounts the result of a data binding expression of a sequence into DOM or other system.

  11. final class PatchedEvent[+Element] extends EventObject
  12. trait PatchedListener[-Element] extends AnyRef
  13. abstract class SingleMountPoint[-Value] extends MountPoint

    A mechanism that mounts the result of a data binding expression of a single value into DOM or other system.

    A mechanism that mounts the result of a data binding expression of a single value into DOM or other system.

    Use this class only if you must override mount or unmount. If you only want to override set, you can use Binding[Unit] { onUpstreamChange(upstream.bind) } instead.

  14. final case class SingletonBindingSeq[A](upstream: Binding[A]) extends BindingSeq[A] with Product with Serializable

    A BindingSeq that contains only one element

  15. trait Stable[+A] extends Binding[A]

    A data binding expression that has a stable referecence of value.

    A data binding expression that has a stable referecence of value.

    Note

    Even though value always references to the same object, the content of the object could be mutable.

  16. final class Var[A] extends Binding[A]

    Source variable of data binding expression.

    Source variable of data binding expression.

    You can manually change the value:

    import com.thoughtworks.binding.Binding.Var
    val bindingVar = Var("initial value")
    bindingVar.value = "changed value"

    Then, any data binding expressions that depend on this Var will be changed automatically.

  17. final class Vars[A] extends BindingSeq[A] with HasCache[A]

    Source sequence of data binding expression.

  18. sealed trait Watchable[+A] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. macro def apply[A](body: => A): F[A]
    Definition Classes
    WithTypeClass
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. implicit val typeClass: BindingInstances.type
    Definition Classes
    Companion → WithTypeClass
    Annotations
    @nowarn()
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. object BindingSeq

    The companion of a data binding expression of a sequence

  22. object Constants

  23. object Rx

    Reactive operators for Observables.

    Reactive operators for Observables.

    Note

    Rx operators are incomplete. Feel free to create a Pull Request if you need a certain operator.

    See also

    ReactiveX

  24. object Var

  25. object Vars

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated
  2. object BindingInstances extends BindingInstances2Or3

    Monad instances for Binding.

    Monad instances for Binding.

    Annotations
    @deprecated
    Deprecated

    (Since version Binding.scala 12.2.0) Binding.scala for Scala 3 does not provide scalaz instances any more out-of-box.

Inherited from Companion

Inherited from WithTypeClass[Monad, Binding]

Inherited from AnyRef

Inherited from Any

Binding Expressions

AST nodes of binding expressions

Type class instance

Ungrouped