Class UserInterface

java.lang.Object
it.unitn.disi.ds1.qtop.UserInterface
All Implemented Interfaces:
SimulationCallback

public class UserInterface extends Object implements SimulationCallback
UserInterface class to manage/generate the user interface.
  • Constructor Details

    • UserInterface

      public UserInterface(Controller controller)
      UserInterface constructor.
      Parameters:
      controller - the controller
  • Method Details

    • start

      public void start()
      Start the user interface.
      Specified by:
      start in interface SimulationCallback
    • clientMenu

      public void clientMenu()
      Display the client menu.
      Specified by:
      clientMenu in interface SimulationCallback
    • setController

      public void setController(Controller controller)
      Set the Controller.
      Parameters:
      controller - the controller