Trait/Object

reactify.reaction

Reaction

Related Docs: object Reaction | package reaction

Permalink

trait Reaction[T] extends Ordered[Reaction[T]]

Reaction may be thought of similar to Observer or Listener in other libraries. A Reaction may be added to a Reactive in order react when a value is fired upon it.

T

the type received by this Reaction

Linear Supertypes
Ordered[Reaction[T]], Comparable[Reaction[T]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Reaction
  2. Ordered
  3. Comparable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(value: T, previous: Option[T]): ReactionStatus

    Permalink

    Invoked when a new value is received by the associated Reactive

    Invoked when a new value is received by the associated Reactive

    value

    the new value

    previous

    the previous value, if one was defined

Concrete 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: Reaction[T]): Boolean

    Permalink
    Definition Classes
    Ordered
  4. def <=(that: Reaction[T]): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >(that: Reaction[T]): Boolean

    Permalink
    Definition Classes
    Ordered
  7. def >=(that: Reaction[T]): Boolean

    Permalink
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compare(that: Reaction[T]): Int

    Permalink
    Definition Classes
    Reaction → Ordered
  11. def compareTo(that: Reaction[T]): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  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. def priority: Double

    Permalink

    Priority of this Reaction in contrast to other Reactions attached to the same Reactive.

    Priority of this Reaction in contrast to other Reactions attached to the same Reactive. A higher value represents a higher position in reactions list. See Priority for pre-defined values.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  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 Ordered[Reaction[T]]

Inherited from Comparable[Reaction[T]]

Inherited from AnyRef

Inherited from Any

Ungrouped