Package

reactify

Permalink

package reactify

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. reactify
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class AbstractState[T] extends State[T]

    Permalink
  2. trait ChangeListener[T] extends AnyRef

    Permalink

    Convenience functionality for classic change management referencing the old value along with the new value.

    Convenience functionality for classic change management referencing the old value along with the new value.

    T

    the type of changes

  3. trait Channel[T] extends Observable[T]

    Permalink
  4. class Dep[T, V] extends StateChannel[T]

    Permalink

    Dep is very much like a Val, but is also a Channel.

    Dep is very much like a Val, but is also a Channel. The basic purpose is to represent a value dependent upon another variable. An example of this might be if you are representing a position left and you also wanted to represent right as well (which would be left + width). These two variables are dependent upon each other and don't fit well as Vars. An example usage might be:

    val left: Var[Double] = Var(0.0) val width: Var[Double] = Var(0.0) val right: Dep[Double, Double] = Dep(left, width)

    If an instance is submissive it removes adjustment from being part of the mutation dependency. For example: in the above scenario if you set width to 100.0 and right to 125.0 then left will be 25.0. Now, what should happen if you change width to 50.0? Should left change to 75.0 (submissive = false) or should right change to 75.0 (submissive = true)?

  5. trait DepConnector[T, V] extends AnyRef

    Permalink
  6. trait DirtyState[T] extends AbstractState[T]

    Permalink
  7. class Invocation extends AnyRef

    Permalink
  8. sealed trait InvocationType extends AnyRef

    Permalink
  9. implicit class ListStateChannel[T] extends AnyRef

    Permalink

    Syntactic sugar for mutating collections in a StateChannel

  10. trait Listener[T] extends Ordered[Listener[T]]

    Permalink
  11. trait Observable[T] extends AnyRef

    Permalink

    Observable, as the name suggests, observes values being fired against it.

    Observable, as the name suggests, observes values being fired against it. This is the core functionality of Reactify and provides the infrastructure used by Channel, Val, Var, Prop, and Dep.

    T

    the type of value this Observable will receive

  12. trait State[T] extends Observable[T]

    Permalink
  13. trait StateChannel[T] extends State[T] with Channel[T]

    Permalink
  14. class Transaction extends AnyRef

    Permalink
  15. class TransactionApplier[T] extends AnyRef

    Permalink
  16. case class TransformResult[T] extends Product with Serializable

    Permalink
  17. trait TransformableChannel[T] extends Channel[T]

    Permalink

    TransformableChannel extends from Channel to provide transforming capabilities before listeners are invoked.

    TransformableChannel extends from Channel to provide transforming capabilities before listeners are invoked.

    T

    the channel's type

  18. case class TransformableValue[T](value: T) extends Product with Serializable

    Permalink
  19. trait TransformingListener[T] extends Ordered[TransformingListener[T]]

    Permalink
  20. class Trigger extends AnyRef

    Permalink

    Trigger works very similar to Channel except it doesn't receive anything.

    Trigger works very similar to Channel except it doesn't receive anything. Listeners are attached like on an Observable, but they receive no arguments.

  21. class Val[T] extends AbstractState[T]

    Permalink

    Val, as the name suggests, is like a Scala val.

    Val, as the name suggests, is like a Scala val. This represents an immutable value that is set in the first place and then not modified. However, since the value set may be built from Observables, the generated value may change over time as its dependencies are modified. This class is Observable and will only fire changes if the underlying value is derived from one or more Observables.

    T

    the type of value retained by this State

  22. class Var[T] extends Val[T] with StateChannel[T]

    Permalink

    Var, as the name suggests, is very similar to a Scala var.

    Var, as the name suggests, is very similar to a Scala var. The value is defined during instantiation, but may be modified later. The value may be a static value, or may be a derived value depending on multiple Observables. If Observables make up the value they will be monitored and events fired on this Observable as the value changes.

    T

    the type of value this channel receives

  23. implicit class VectorStateChannel[T] extends AnyRef

    Permalink
  24. class WrappedObservable[T] extends Observable[T]

    Permalink

Value Members

  1. object ChangeListener

    Permalink
  2. object Channel

    Permalink
  3. object Dep

    Permalink
  4. object Invocation

    Permalink
  5. object InvocationType

    Permalink
  6. object Listener

    Permalink
  7. object Observable

    Permalink
  8. object Transaction

    Permalink
  9. object TransformableChannel

    Permalink
  10. object TransformingListener

    Permalink
  11. object Trigger

    Permalink
  12. object Val

    Permalink
  13. object Var

    Permalink
  14. package bind

    Permalink
  15. implicit val doubleConnector: DepConnector[Double, Double]

    Permalink
  16. implicit def function2Listener[T](f: (T) ⇒ Unit): Listener[T]

    Permalink
  17. package instance

    Permalink
  18. implicit val intConnector: DepConnector[Int, Int]

    Permalink
  19. implicit def state2Value[T](p: State[T]): T

    Permalink

    Converts a State[T] to T implicitly.

    Converts a State[T] to T implicitly. This is useful for DSL type-based operations like 5 + stateVar.

Inherited from AnyRef

Inherited from Any

Ungrouped