Lines Matching refs:transition
31 * 1. Event based transition, transition will be triggered when {@link #fireEvent(Event)} is called.
32 * 2. Auto transition, transition will be triggered when {@link Transition#mFromState} is executed.
33 * 3. Condiitonal Auto transition, transition will be triggered when {@link Transition#mFromState}
65 * Used in transition
75 * @return True if can proceed and mark the transition INVOKED
159 * out going transition.
161 * only need one of the transition executed.
274 * Add event-triggered transition between two states.
277 * @param event The event that needed to perform the transition.
280 Transition transition = new Transition(fromState, toState, event);
281 toState.addIncoming(transition);
282 fromState.addOutgoing(transition);
286 * Add a conditional auto transition between two states.
291 Transition transition = new Transition(fromState, toState, condition);
292 toState.addIncoming(transition);
293 fromState.addOutgoing(transition);
297 * Add an auto transition between two states.
302 Transition transition = new Transition(fromState, toState);
303 toState.addIncoming(transition);
304 fromState.addOutgoing(transition);