Package com.tomgibara.pronto.state

Examples of com.tomgibara.pronto.state.StateEngine


    StateGraph graph = factory.emptyStateGraph();
    StateActivator activator = new StateActivator() {
      public void changeState(Object arg0) throws com.tomgibara.pronto.state.ProntoStateException ,RuntimeException {};
      public void transitionState(com.tomgibara.pronto.state.StateTransition arg0, Object arg1) throws com.tomgibara.pronto.state.ProntoStateException ,RuntimeException {};
    };
    StateEngine engine = factory.newEngine(graph, activator);
    EngineControlAdapter adapter = new EngineControlAdapter() {
      public Object labelFromName(String name) { return null; };
      public String nameFromLabel(Object label) { return null; };
      public Object parseParameter(String string) { return null; };
    };
View Full Code Here

TOP

Related Classes of com.tomgibara.pronto.state.StateEngine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.