t

reactify

DirtyState

trait DirtyState[T] extends AbstractState[T]

Linear Supertypes
AbstractState[T], State[T], Observable[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DirtyState
  2. AbstractState
  3. State
  4. Observable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def and(that: Observable[T]): Observable[T]
    Definition Classes
    Observable
  5. def apply(): T
    Definition Classes
    State
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def attach(f: (T) ⇒ Unit, priority: Double = Observer.Priority.Normal): Observer[T]

    Attaches a function to observe values fired against this Observable.

    Attaches a function to observe values fired against this Observable.

    f

    function observer

    returns

    the supplied function. This reference is useful for detaching the function later

    Definition Classes
    Observable
  8. def attachAndFire(f: (T) ⇒ Unit): Observer[T]
    Definition Classes
    State
  9. def changed(value: T, previous: T, type: InvocationType): Unit
    Attributes
    protected[reactify]
    Definition Classes
    State
  10. def changes(observer: ChangeObserver[T]): Observer[T]

    Works similarly to attach, but also references the previous value that was fired.

    Works similarly to attach, but also references the previous value that was fired. This is useful when you need to handle changes, not just new values.

    observer

    the ChangeObserver

    returns

    the observer attached. This can be passed to detach to remove this observer

    Definition Classes
    StateObservable
  11. def clearObservers(): Unit

    Clears all attached observers from this Observable.

    Clears all attached observers from this Observable.

    Definition Classes
    Observable
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def collect[R](f: PartialFunction[T, R]): Observable[R]
    Definition Classes
    Observable
  14. def detach(observer: Observer[T]): Unit

    Detaches a function from observing this Observable.

    Detaches a function from observing this Observable.

    observer

    function observer that was previously attached

    Definition Classes
    Observable
  15. def dispose(): Unit

    Cleans up all cross references in preparation for releasing for GC.

    Cleans up all cross references in preparation for releasing for GC.

    Definition Classes
    Observable
  16. val distinct: Boolean
    Definition Classes
    AbstractStateState
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def fire(value: T, type: InvocationType): Unit
    Attributes
    protected[reactify]
    Definition Classes
    Observable
  21. final def fireRecursive(value: T, type: InvocationType, invocation: Invocation, observers: List[Observer[T]]): Unit
    Attributes
    protected
    Definition Classes
    Observable
  22. def future(condition: (T) ⇒ Boolean = (_: T) => true): Future[T]

    Returns a Future[T] that represents the value of the next firing of this Observable.

    Returns a Future[T] that represents the value of the next firing of this Observable.

    condition

    the condition under which the observer will be invoked. Defaults to always return true.

    Definition Classes
    Observable
  23. final def get: T
    Definition Classes
    State
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  26. def isDirty: Boolean
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val manager: StateInstanceManager[T]
    Definition Classes
    AbstractState
  29. def map[R](f: (T) ⇒ R): Observable[R]

    Maps the Observable to another type.

    Maps the Observable to another type.

    R

    the type of the new Observable

    f

    function to handle the mapping from T to R

    returns

    Observable[R]

    Definition Classes
    Observable
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  33. def observe(observer: Observer[T]): Observer[T]

    Direct attachment of a observer.

    Direct attachment of a observer.

    observer

    the observer to attach

    returns

    the same observer supplied

    Definition Classes
    Observable
  34. def observers: List[Observer[T]]

    List of all the observers currently observing changes to this Observable.

    List of all the observers currently observing changes to this Observable.

    Definition Classes
    Observable
  35. def observing: Set[Observable[_]]
    Definition Classes
    AbstractStateState
  36. def on(f: ⇒ Unit, priority: Double = Observer.Priority.Normal): Observer[T]

    Works like attach, but doesn't receive the fired value.

    Works like attach, but doesn't receive the fired value.

    f

    function to invoke on fire

    returns

    observer

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

    Invokes the observer only one time and then detaches itself.

    Invokes the observer only one time and then detaches itself. If supplied, the condition filters the scenarios in which the observer will be invoked.

    f

    the function observer

    condition

    the condition under which the observer will be invoked. Defaults to always return true.

    Definition Classes
    Observable
  38. def set(value: ⇒ T): Unit
    Attributes
    protected
    Definition Classes
    AbstractStateState
  39. def static(value: T): Unit
    Attributes
    protected
    Definition Classes
    State
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def update(): Boolean
  43. def value(): T
    Attributes
    protected
    Definition Classes
    AbstractStateState
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AbstractState[T]

Inherited from State[T]

Inherited from Observable[T]

Inherited from AnyRef

Inherited from Any

Ungrouped