Class QueryResultsController

java.lang.Object
proseccoCoding.TLN.control.QueryResultsController

public class QueryResultsController extends Object
Controller of the queryResults view. It has the duty to show the user the list of his query results. It also has to let the user move to the hompage and go back to the service statuses selection.
  • Field Details

    • queryResultsList

      private javafx.scene.control.ListView<String> queryResultsList
      ListView object used to contain the list of the user's query results
  • Constructor Details

    • QueryResultsController

      public QueryResultsController()
  • Method Details

    • initialize

      private void initialize()
      Method called when QueryResultsController is loaded. It adds the list of the services selected by the user with their information to the private ListView object. These informations are retrieved as Strings through the use of TrustedListFacade's Query public methods.
    • switchToSelectStatus

      private void switchToSelectStatus() throws IOException
      Switches scene to the "selectStatus" one
      Throws:
      IOException
    • switchToHome

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