Package proseccoCoding.TLN.control
Class ListServicesController
java.lang.Object
proseccoCoding.TLN.control.ListServicesController
Controller of the listServices view
It has the duty to show the list of the Trust-Service types to the user and to let him go back to the homepage.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate javafx.scene.control.ListView<String>
ListView object used to contain the list of the service types' codes and names -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Method called when ListServicesController is loaded.private void
Switches scene to the "home" one
-
Field Details
-
servicesList
ListView object used to contain the list of the service types' codes and names
-
-
Constructor Details
-
ListServicesController
public ListServicesController()
-
-
Method Details
-
initialize
private void initialize()Method called when ListServicesController is loaded. It adds the list of the service types codes and full names to the private ListView object. The service types' informations are retrieved as Strings through the use of an APIHandler method. -
switchToHome
Switches scene to the "home" one- Throws:
IOException
-