Class EngineManager


  • public class EngineManager
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void forceRestart​(int index, java.lang.String command, boolean preload)  
      void refresh()  
      void switchEngine​(int index)
      Switch the Engine by index number
      void updateEngine​(int index, java.lang.String command, boolean preload)  
      void updateEngineIcon()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EngineManager

        public EngineManager​(Config config)
                      throws org.json.JSONException,
                             java.io.IOException
        Throws:
        org.json.JSONException
        java.io.IOException
    • Method Detail

      • switchEngine

        public void switchEngine​(int index)
        Switch the Engine by index number
        Parameters:
        index - engine index
      • refresh

        public void refresh()
                     throws org.json.JSONException,
                            java.io.IOException
        Throws:
        org.json.JSONException
        java.io.IOException
      • forceRestart

        public void forceRestart​(int index,
                                 java.lang.String command,
                                 boolean preload)
      • updateEngine

        public void updateEngine​(int index,
                                 java.lang.String command,
                                 boolean preload)
      • updateEngineIcon

        public void updateEngineIcon()