final class StateSnapshot[S] extends Write[CallbackTo, S]
- Alphabetic
- By Inheritance
- StateSnapshot
- Write
- ModState
- SetState
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
modState(mod: (S) ⇒ S, callback: Callback): CallbackTo[Unit]
- Definition Classes
- ModState
-
final
def
modState(mod: (S) ⇒ S): CallbackTo[Unit]
- Definition Classes
- ModState
-
def
modStateOption(mod: (S) ⇒ Option[S], callback: Callback): Callback
- callback
Executed regardless of whether state is changed.
- Definition Classes
- StateSnapshot → ModState
-
final
def
modStateOption(mod: (S) ⇒ Option[S]): CallbackTo[Unit]
- Definition Classes
- ModState
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setState(newState: S, callback: Callback): CallbackTo[Unit]
- Definition Classes
- SetState
-
final
def
setState(newState: S): CallbackTo[Unit]
- Definition Classes
- SetState
-
def
setStateOption(newState: Option[S], callback: Callback): Callback
- callback
Executed regardless of whether state is changed.
- Definition Classes
- StateSnapshot → SetState
-
final
def
setStateOption(newState: Option[S]): CallbackTo[Unit]
- Definition Classes
- SetState
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toModStateFn: ModStateFn[CallbackTo, S]
- Definition Classes
- ModState
-
def
toSetStateFn: SetStateFn[CallbackTo, S]
- Definition Classes
- SetState
-
def
toString(): String
- Definition Classes
- StateSnapshot → AnyRef → Any
- val underlyingSetFn: Reusable[SetFn[S]]
- val value: S
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def withReuse: InstanceMethodsWithReuse[S]
-
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. -
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
-
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
-
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
-
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
-
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