Package proseccoCoding.TLN.control
Class HomeController
java.lang.Object
proseccoCoding.TLN.control.HomeController
Controller of the home view.
It has the duty to let user access all the features of the TrusteListNavigation program.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Method called when HomesController is loaded.private void
Switches scene to the "credits" oneprivate void
Switches scene to the "listCountries" oneprivate void
Switches scene to the "listServices" oneprivate void
Switches scene to the "selectCountries" one
-
Constructor Details
-
HomeController
public HomeController()
-
-
Method Details
-
initialize
private void initialize()Method called when HomesController is loaded. This method initialize the JSONArrays in APIHandler if this hasn't been done yet. In case of connection errors, this method displays an error dialog pane that informs the user and then proceeds to close the application. -
switchToListCountries
Switches scene to the "listCountries" one- Throws:
IOException
-
switchToListServices
Switches scene to the "listServices" one- Throws:
IOException
-
switchToSelectCountries
Switches scene to the "selectCountries" one- Throws:
IOException
-
switchToCredits
Switches scene to the "credits" one- Throws:
IOException
-