|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StateTransition | |
|---|---|
| com.tomgibara.pronto.state | |
| com.tomgibara.pronto.state.impl | |
| Uses of StateTransition in com.tomgibara.pronto.state |
|---|
| Methods in com.tomgibara.pronto.state that return StateTransition | |
|---|---|
StateTransition<S,L> |
StateGraph.getTransition(S source,
L label,
S target)
Obtains the specified state transition from this graph. |
| Methods in com.tomgibara.pronto.state that return types with arguments of type StateTransition | |
|---|---|
java.util.Set<java.util.List<StateTransition<S,L>>> |
StateGraph.getMultiPaths(java.util.Set<S> initial,
java.util.Set<S> terminal,
PathType type)
A set containing every possible path (represented as a list of transitions) from any initial state to any terminal state. |
java.util.List<StateTransition<S,L>> |
StateGraph.getPath(S initial,
S terminal,
PathType type)
A convenience method that may be called to obtain the single existing path from an initial state to a terminal state. |
java.util.Set<java.util.List<StateTransition<S,L>>> |
StateGraph.getPaths(S initial,
S terminal,
PathType type)
A set containing every possible path (represented as a list of transitions) from the initial state to the terminal state. |
java.util.Set<StateTransition<S,L>> |
StateGraph.getTransitionsMatching(S source,
L label,
S target)
Returns an immutable set of all transitions that match the supplied parameters. |
java.util.Set<StateTransition<S,L>> |
StateGraph.transitions()
An immutable set containing every transition in the graph. |
| Methods in com.tomgibara.pronto.state with parameters of type StateTransition | |
|---|---|
boolean |
StateGraphEditor.addTransition(StateTransition<S,L> transition)
Adds a transition to the current graph. |
P |
StateTransitionParameters.getParameter(StateTransition<S,L> transition)
Provides a parameter for a specified transition. |
void |
StateListener.stateTransitioned(StateTransition<S,L> transition)
This method is called after every successful state transition made by the state engine. |
void |
StateActivator.transitionState(StateTransition<S,L> transition,
P parameter)
This method is called to indicate that the state is being changed via a state transition. |
| Method parameters in com.tomgibara.pronto.state with type arguments of type StateTransition | |
|---|---|
boolean |
StateGraphEditor.addTransitions(java.util.Set<StateTransition<S,L>> transitions)
Adds all the transitions in the supplied set. |
boolean |
StateGraphEditor.removeTransitions(java.util.Set<StateTransition<S,L>> transitions)
Removes all the transitions in the supplied set. |
boolean |
StateGraphEditor.retainTransitions(java.util.Set<StateTransition<S,L>> transitions)
Removes all the transitions that are not in the supplied set. |
| Uses of StateTransition in com.tomgibara.pronto.state.impl |
|---|
| Classes in com.tomgibara.pronto.state.impl that implement StateTransition | |
|---|---|
class |
StateTransitionImpl<S,L>
|
| Methods in com.tomgibara.pronto.state.impl that return StateTransition | |
|---|---|
StateTransition<S,L> |
StateGraphImpl.getTransition(S source,
L label,
S target)
|
| Methods in com.tomgibara.pronto.state.impl that return types with arguments of type StateTransition | |
|---|---|
java.util.Set<java.util.List<StateTransition<S,L>>> |
StateGraphImpl.getMultiPaths(java.util.Set<S> initial,
java.util.Set<S> terminal,
PathType type)
|
java.util.List<StateTransition<S,L>> |
StateGraphImpl.getPath(S initial,
S terminal,
PathType type)
|
java.util.Set<java.util.List<StateTransition<S,L>>> |
StateGraphImpl.getPaths(S initial,
S terminal,
PathType type)
|
java.util.Set<StateTransition<S,L>> |
StateGraphImpl.getTransitionsMatching(S source,
L label,
S target)
|
java.util.Set<StateTransition<S,L>> |
StateGraphImpl.transitions()
|
| Methods in com.tomgibara.pronto.state.impl with parameters of type StateTransition | |
|---|---|
boolean |
StateGraphEditorImpl.addTransition(StateTransition<S,L> transition)
|
| Method parameters in com.tomgibara.pronto.state.impl with type arguments of type StateTransition | |
|---|---|
boolean |
StateGraphEditorImpl.addTransitions(java.util.Set<StateTransition<S,L>> trans)
|
boolean |
StateGraphEditorImpl.removeTransitions(java.util.Set<StateTransition<S,L>> trans)
|
boolean |
StateGraphEditorImpl.retainTransitions(java.util.Set<StateTransition<S,L>> trans)
|
| Constructors in com.tomgibara.pronto.state.impl with parameters of type StateTransition | |
|---|---|
StateTransitionImpl(StateTransition<S,L> transition)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||