public static interface StateMachine.ObservableStateBuilder<S>
| Modifier and Type | Method and Description |
|---|---|
<I> StateMachine.ObservableStateBuilderOn<S,I> |
on(EventStream<I> input) |
javafx.beans.binding.Binding<S> |
toObservableState()
Returns a binding that reflects the current state of the state
machine.
|
EventStream<S> |
toStateStream()
Returns an event stream that emits the current state of the state
machine every time it changes.
|
<I> StateMachine.ObservableStateBuilderOn<S,I> on(EventStream<I> input)
EventStream<S> toStateStream()
javafx.beans.binding.Binding<S> toObservableState()
dispose() method) causes the state machine to unsubscribe
from the event streams that alter its state and allows the state
machine to be garbage collected.