Packages

object Binding extends WithTypeClass[Monad, Binding]

Author:

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

Source
Binding.scala
Linear Supertypes
WithTypeClass[Monad, Binding], AnyRef, Any
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. trait BindingSeq[+A] extends AnyRef

    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 Binding[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. 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:

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

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

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

    Source sequence of data binding expression.

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( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. val typeClass: BindingInstances.type
    Definition Classes
    Binding → WithTypeClass
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. implicit object BindingInstances extends Monad[Binding]

    Monad instances for Binding.

  23. object BindingSeq

    The companion of a data binding expression of a sequence

  24. object Constants

  25. object Var

  26. object Vars

Inherited from WithTypeClass[Monad, Binding]

Inherited from AnyRef

Inherited from Any

Binding Expressions

AST nodes of binding expressions

Type class instance

Ungrouped