Package it.unitn.disi.ds1.qtop
Class UserInterface
java.lang.Object
it.unitn.disi.ds1.qtop.UserInterface
- All Implemented Interfaces:
SimulationCallback
UserInterface class to manage/generate the user interface.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Display the client menu.void
setController
(Controller controller) Set the Controller.void
start()
Start the user interface.
-
Constructor Details
-
UserInterface
UserInterface constructor.- Parameters:
controller
- the controller
-
-
Method Details
-
start
public void start()Start the user interface.- Specified by:
start
in interfaceSimulationCallback
-
clientMenu
public void clientMenu()Display the client menu.- Specified by:
clientMenu
in interfaceSimulationCallback
-
setController
Set the Controller.- Parameters:
controller
- the controller
-