- java.lang.Object
-
- io.github.interacto.fsm.CancellingState<E>
-
- Type Parameters:
E- The type of events the FSM processes.
- All Implemented Interfaces:
InputState<E>,State<E>
public class CancellingState<E> extends Object implements InputState<E>
A state of an FSM. A cancelling state cancels the FSM of a user interaction.
-
-
Constructor Summary
Constructors Constructor Description CancellingState(FSM<E> stateMachine, String stateName)Creates the state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenter()Actions done while entering this state.FSM<E>getFSM()StringgetName()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.interacto.fsm.State
checkStartingState, getFSM, getName, uninstall
-
-
-
-
Method Detail
-
enter
public void enter()
Description copied from interface:InputStateActions done while entering this state.- Specified by:
enterin interfaceInputState<E>
-
getName
public String getName()
-
getFSM
public FSM<E> getFSM()
-
-