Class

reactify.group

ValGroup

Related Doc: package group

Permalink

case class ValGroup[T](items: List[Val[T]]) extends Val[T] with Group[T, Val[T]] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Group[T, Val[T]], Val[T], Stateful[T], Reactive[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValGroup
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Group
  7. Val
  8. Stateful
  9. Reactive
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ValGroup(items: List[Val[T]])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &(that: Val[T]): Val[T]

    Permalink

    Group multiple Vals together

    Group multiple Vals together

    Definition Classes
    Val
  4. def &(that: Stateful[T]): Stateful[T]

    Permalink

    Group multiple Statefuls together

    Group multiple Statefuls together

    Definition Classes
    Stateful
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. var _references: Set[Val[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    Val
  7. def and(that: Val[T]): Val[T]

    Permalink

    Group multiple Vals together

    Group multiple Vals together

    Definition Classes
    ValGroupVal
  8. def and(that: Stateful[T]): Stateful[T]

    Permalink

    Group multiple Statefuls together

    Group multiple Statefuls together

    Definition Classes
    Stateful
  9. def apply(): T

    Permalink

    Convenience wrapper around get

    Convenience wrapper around get

    Definition Classes
    Stateful
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def attach(f: (T) ⇒ Unit, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience method to create a Reaction to attach to this Reactive

    Convenience method to create a Reaction to attach to this Reactive

    f

    the function reaction

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    created Reaction[T]

    Definition Classes
    Reactive
  12. def attachAndFire(f: (T) ⇒ Unit, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience functionality to attach a Reaction and immediately fire the current state on the Reaction.

    Convenience functionality to attach a Reaction and immediately fire the current state on the Reaction.

    f

    the function reaction

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    Reaction[T]

    Definition Classes
    Stateful
  13. def changes(f: (T, T) ⇒ Unit, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience method to create a Reaction to monitor changes to this Reactive

    Convenience method to create a Reaction to monitor changes to this Reactive

    f

    the function reaction to receive changes

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    created Reaction[T]

    Definition Classes
    Reactive
  14. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  16. def equality(t1: T, t2: T): Boolean

    Permalink
    Definition Classes
    Val
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def fire(value: T, previous: Option[T], reactions: List[Reaction[T]] = this.reactions()): ReactionStatus

    Permalink

    Fires the value to the Reactions

    Fires the value to the Reactions

    Attributes
    protected
    Definition Classes
    Reactive
  19. var function: () ⇒ T

    Permalink
    Attributes
    protected
    Definition Classes
    Val
  20. def future(condition: (T) ⇒ Boolean = _ => true): Future[T]

    Permalink

    Convenience method to create a Future[T] that will complete upon the next reaction that meets to supplied condition.

    Convenience method to create a Future[T] that will complete upon the next reaction that meets to supplied condition.

    condition

    optional condition that must be true for this to fire (Defaults to accept anything)

    returns

    Future[T]

    Definition Classes
    Reactive
  21. def get: T

    Permalink

    Gets the current value from the current State

    Gets the current value from the current State

    Definition Classes
    ValGroupValStateful
  22. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  24. val items: List[Val[T]]

    Permalink
    Definition Classes
    ValGroupGroup
  25. def map[R](f: (T) ⇒ R): Val[R]

    Permalink

    Maps this Val to another type.

    Maps this Val to another type.

    Definition Classes
    Val
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def on(f: ⇒ Unit, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience method to create a Reaction to monitor changes to this Reactive when you don't care about the actual value.

    Convenience method to create a Reaction to monitor changes to this Reactive when you don't care about the actual value.

    f

    the function reaction to invoke in reaction to a value received

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    created Reaction[T]

    Definition Classes
    Reactive
  30. def once(f: (T) ⇒ Unit, condition: (T) ⇒ Boolean = _ => true, priority: Double = Priority.Normal): Reaction[T]

    Permalink

    Convenience method to create a Reaction to monitor a single reaction based on an optional condition.

    Convenience method to create a Reaction to monitor a single reaction based on an optional condition.

    f

    the function reaction

    condition

    optional condition that must be true for this to fire (Defaults to accept anything)

    priority

    the priority in comparison to other reactions (Defaults to Priority.Normal)

    returns

    created Reaction[T]

    Definition Classes
    Reactive
  31. def option: Option[T]

    Permalink
    Definition Classes
    Val
  32. var previous: Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    Val
  33. lazy val reactions: Reactions[T]

    Permalink

    Reactions currently associated with this Reactive

    Reactions currently associated with this Reactive

    Definition Classes
    ValGroupReactive
  34. def references: Set[Val[_]]

    Permalink
    Definition Classes
    Val
  35. def set(value: ⇒ T): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Val
  36. var state: Try[T]

    Permalink
    Attributes
    protected
    Definition Classes
    Val
  37. def static(value: T): Unit

    Permalink
    Definition Classes
    Val
  38. def status: Option[ReactionStatus]

    Permalink

    If the current thread is reacting to a value currently, status represents the status of the reaction.

    If the current thread is reacting to a value currently, status represents the status of the reaction. This can be set to ReactionStatus.Stop in order to stop propagation. This can also be achieved via stopPropagation().

    Definition Classes
    Reactive
  39. def status_=(status: ReactionStatus): Unit

    Permalink
    Definition Classes
    Reactive
  40. def stopPropagation(): Unit

    Permalink

    Shortcut functionality to call status = ReactionStatus.Stop

    Shortcut functionality to call status = ReactionStatus.Stop

    Definition Classes
    Reactive
  41. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Val → AnyRef → Any
  43. def toTry: Try[T]

    Permalink
    Definition Classes
    Val
  44. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Group[T, Val[T]]

Inherited from Val[T]

Inherited from Stateful[T]

Inherited from Reactive[T]

Inherited from AnyRef

Inherited from Any

Ungrouped