8.2 Transitions
The change from one state to another is called transition. There are six transitions for the StoryboardElement
lifecycle.
startElementLifecycle and stopElementLifecycle are implementation-specific and represent the creation (startElementLifecycle) and the cleanup (stopElementLifecycle) of a StoryboardElement
. All other states may be monitored with StoryboardElementStateCondition
.
-
startTransition: The transition into
runningState
. Either fromstandbyState
, when waiting for a start trigger, or from initState, when aStoryboardElement
entersrunningState
instantly because its parent entersrunningState
. -
endTransition
: The transition out ofrunningState
. It symbolizes thatrunningState
has ended regularly without being stopped. -
stopTransition
: The transition out ofrunningState
or out ofstandbyState
. It signals that the execution of theStoryboardElement
element was stopped, for example by overriding or an issued stop trigger. -
skipTransition: This transition is specific to
Event
. skipTransition is used when anEvent
cannot be started due to its priorityskip
. See Section 8.4.2, "Execution of an event".