Class RouteFinderController
java.lang.Object
id.klacak.bus_navigator.RouteFinderController
Coordinates the route-finder view with transit data and itinerary results.
-
Field Summary
FieldsModifier and TypeFieldDescriptionjavafx.scene.layout.VBoxContainer populated with the visual rows of the selected itinerary. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a controller for the FXML route-finder view. -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayRoute(List<Leg> steps) Replaces the displayed itinerary with rows for the supplied ride legs.voidLoads the transit network and populates both stop selectors.voidsetMainApp(MainApp mainApp) Gives this controller access to the application's view navigation.
-
Field Details
-
itineraryContainer
public javafx.scene.layout.VBox itineraryContainerContainer populated with the visual rows of the selected itinerary.
-
-
Constructor Details
-
RouteFinderController
public RouteFinderController()Creates a controller for the FXML route-finder view.
-
-
Method Details
-
initialize
public void initialize()Loads the transit network and populates both stop selectors. -
displayRoute