- java.lang.Object
-
- io.github.interacto.fsm.Transition<E>
-
- io.github.interacto.fsm.WidgetTransition<E,T>
-
public abstract class WidgetTransition<E,T> extends Transition<E>
This transition must be used to use a widget within an interaction.- Author:
- Arnaud BLOUIN
-
-
Field Summary
Fields Modifier and Type Field Description protected TwidgetThe pressed button.-
Fields inherited from class io.github.interacto.fsm.Transition
src, tgt
-
-
Constructor Summary
Constructors Constructor Description WidgetTransition(OutputState<E> srcState, InputState<E> tgtState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetWidget()voidsetWidget(T widget)Sets the widget.-
Methods inherited from class io.github.interacto.fsm.Transition
accept, action, execute, getAcceptedEvents, isGuardOK, uninstall
-
-
-
-
Field Detail
-
widget
protected T widget
The pressed button.
-
-
Constructor Detail
-
WidgetTransition
public WidgetTransition(OutputState<E> srcState, InputState<E> tgtState)
-
-