Packages

final class StateSnapshot[S] extends Write[CallbackTo, S]

Linear Supertypes
Write[CallbackTo, S], ModState[CallbackTo, S], SetState[CallbackTo, S], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StateSnapshot
  2. Write
  3. ModState
  4. SetState
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StateSnapshot(value: S, underlyingSetFn: Reusable[SetFn[S]], reusability: Reusability[S])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def modState(mod: (S) ⇒ S, callback: Callback): CallbackTo[Unit]
    Definition Classes
    ModState
  13. final def modState(mod: (S) ⇒ S): CallbackTo[Unit]
    Definition Classes
    ModState
  14. def modStateOption(mod: (S) ⇒ Option[S], callback: Callback): Callback

    callback

    Executed regardless of whether state is changed.

    Definition Classes
    StateSnapshot → ModState
  15. final def modStateOption(mod: (S) ⇒ Option[S]): CallbackTo[Unit]
    Definition Classes
    ModState
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def setState(newState: S, callback: Callback): CallbackTo[Unit]
    Definition Classes
    SetState
  20. final def setState(newState: S): CallbackTo[Unit]
    Definition Classes
    SetState
  21. def setStateOption(newState: Option[S], callback: Callback): Callback

    callback

    Executed regardless of whether state is changed.

    Definition Classes
    StateSnapshot → SetState
  22. final def setStateOption(newState: Option[S]): CallbackTo[Unit]
    Definition Classes
    SetState
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toModStateFn: ModStateFn[CallbackTo, S]
    Definition Classes
    ModState
  25. def toSetStateFn: SetStateFn[CallbackTo, S]
    Definition Classes
    SetState
  26. def toString(): String
    Definition Classes
    StateSnapshot → AnyRef → Any
  27. val underlyingSetFn: Reusable[SetFn[S]]
  28. val value: S
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  32. def withReuse: InstanceMethodsWithReuse[S]
  33. def xmapState[T](f: (S) ⇒ T)(g: (T) ⇒ S): StateSnapshot[T]

    THIS WILL VOID REUSABILITY.

    THIS WILL VOID REUSABILITY.

    The resulting StateSnapshot[T] will not be reusable.

  34. def zoomState[T](f: (S) ⇒ T)(g: (T) ⇒ (S) ⇒ S): StateSnapshot[T]

    THIS WILL VOID REUSABILITY.

    THIS WILL VOID REUSABILITY.

    The resulting StateSnapshot[T] will not be reusable.

Deprecated Value Members

  1. final def modStateFn[I](f: (I) ⇒ (S) ⇒ S, callback: Callback): (I) ⇒ CallbackTo[Unit]
    Definition Classes
    ModState
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Create a function yourself. If you're using this in Reusable.fn(…), use Reusable.fn.state(this.zoom…).mod instead

  2. final def modStateOptionFn[I](f: (I) ⇒ (S) ⇒ Option[S], callback: Callback): (I) ⇒ CallbackTo[Unit]
    Definition Classes
    ModState
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Create a function yourself. If you're using this in Reusable.fn(…), use Reusable.fn.state(this.zoom…).modOption instead

  3. final def setStateFn[I](f: (I) ⇒ S, callback: Callback): (I) ⇒ CallbackTo[Unit]
    Definition Classes
    SetState
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Create a function yourself. If you're using this in Reusable.fn(…), use Reusable.fn.state(this.zoom…).set instead

  4. final def setStateOptionFn[I](f: (I) ⇒ Option[S], callback: Callback): (I) ⇒ CallbackTo[Unit]
    Definition Classes
    SetState
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.0) Create a function yourself. If you're using this in Reusable.fn(…), use Reusable.fn.state(this.zoom…).setOption instead

Inherited from Write[CallbackTo, S]

Inherited from ModState[CallbackTo, S]

Inherited from SetState[CallbackTo, S]

Inherited from AnyRef

Inherited from Any

Ungrouped