Class ListServicesController

java.lang.Object
proseccoCoding.TLN.control.ListServicesController

public class ListServicesController extends Object
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 Details

    • servicesList

      private javafx.scene.control.ListView<String> 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

      private void switchToHome() throws IOException
      Switches scene to the "home" one
      Throws:
      IOException