Packages

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

Type Members

  1. trait BindingSeq[+A] extends Watchable[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 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.

  17. 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. val typeClass: BindingInstances.type
    Definition Classes
    Binding → WithTypeClass
  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. implicit object BindingInstances extends Monad[Binding]

    Monad instances for Binding.

  22. object BindingSeq

    The companion of a data binding expression of a sequence

  23. object Constants

  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

Inherited from WithTypeClass[Monad, Binding]

Inherited from AnyRef

Inherited from Any

Binding Expressions

AST nodes of binding expressions

Type class instance

Ungrouped