Package proseccoCoding.TLN.control
Class QueryResultsController
java.lang.Object
proseccoCoding.TLN.control.QueryResultsController
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 Summary
FieldsModifier and TypeFieldDescriptionprivate javafx.scene.control.ListView<String>
ListView object used to contain the list of the user's query results -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Method called when QueryResultsController is loaded.private void
Switches scene to the "home" oneprivate void
Switches scene to the "selectStatus" one
-
Field Details
-
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
Switches scene to the "selectStatus" one- Throws:
IOException
-
switchToHome
Switches scene to the "home" one- Throws:
IOException
-