Home | History | Annotate | Download | only in util

Lines Matching defs:Event

32  * 1. Event based transition, transition will be triggered when {@link #fireEvent(Event)} is called.
57 public static class Event {
60 public Event(String name) {
86 final Event mEvent;
90 Transition(State fromState, State toState, Event event) {
91 if (event == null) {
96 mEvent = event;
275 * Add event-triggered transition between two states.
278 * @param event The event that needed to perform the transition.
280 public void addTransition(State fromState, State toState, Event event) {
281 Transition transition = new Transition(fromState, toState, event);
335 * Find outgoing Transitions of invoked State whose Event matches, mark the Transition invoked.
337 public void fireEvent(Event event) {
345 if (t.mState != STATUS_INVOKED && t.mEvent == event) {