Object/Trait

com.thoughtworks.binding

Binding

Related Docs: trait Binding | package binding

Permalink

object Binding extends WithTypeClass[Monad, Binding]

Author:

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

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

Type Members

  1. sealed trait BindingSeq[+A] extends AnyRef

    Permalink

    Data binding expression of a sequence

  2. final case class Constant[+A](value: A) extends Binding[A] with Product with Serializable

    Permalink

    A data binding expression that never changes.

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

    Permalink

    An data binding expression of sequence that never changes.

  4. type F[A] = Binding[A]

    Permalink
    Definition Classes
    WithTypeClass
  5. type M[F[_]] = Monad[F]

    Permalink
    Definition Classes
    WithTypeClass
  6. abstract class MultiMountPoint[-Element] extends MountPoint

    Permalink

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

  7. abstract class SingleMountPoint[-Value] extends MountPoint

    Permalink

    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.

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

    Permalink

    A BindingSeq that contains only one element

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

    Permalink

    Source variable of data binding expression.

    Source variable of data binding expression.

    You can manually change the value:

    val bindingVar = Var("initial value")
    bindingVar.value = "changed value"

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

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

    Permalink

    Source sequence of data binding expression.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit object BindingInstances extends Monad[Binding]

    Permalink

    Monad instances for Binding.

  5. object BindingSeq

    Permalink

    The companion of a data binding expression of a sequence

  6. object Constants

    Permalink
  7. object Var

    Permalink

  8. object Vars

    Permalink

  9. macro def apply[A](body: ⇒ A): F[A]

    Permalink
    Definition Classes
    WithTypeClass
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. val typeClass: BindingInstances.type

    Permalink
    Definition Classes
    Binding → WithTypeClass
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WithTypeClass[Monad, Binding]

Inherited from AnyRef

Inherited from Any

Binding Expressions

AST nodes of binding expressions

Type class instance

Ungrouped