java.lang.Object
com.prog3.ipt.Controller.ViewController
com.prog3.ipt.Controller.GoogleMapsViewController
- All Implemented Interfaces:
javafx.fxml.Initializable
GoogleMapsViewController is the controller that handles GoogleMaps view.
-
Field Summary
Modifier and TypeFieldDescriptionprivate javafx.scene.control.Button
private javafx.scene.web.WebEngine
private String
private javafx.scene.web.WebView
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(URL url, ResourceBundle resourceBundle) protected void
Initializes View Componentprotected void
onBackButtonClick
(javafx.event.ActionEvent event) Back to previous viewvoid
Methods inherited from class com.prog3.ipt.Controller.ViewController
checkDatePickersContent, checkTextFieldsContent, clearDatePickersContent, clearTextFieldsContent, generatePayPalAlert, getFxmlLoader, getLocalScene, getStage, onButtonClickNavigateToView, raiseConfirmationAlert, raiseErrorAlert, raiseInformationAlert, setFxmlLoader, setLocalScene, setStage, validateEmail
-
Field Details
-
backButton
private javafx.scene.control.Button backButton -
webView
private javafx.scene.web.WebView webView -
engine
private javafx.scene.web.WebEngine engine -
url
-
-
Constructor Details
-
GoogleMapsViewController
public GoogleMapsViewController()
-
-
Method Details
-
onBackButtonClick
protected void onBackButtonClick(javafx.event.ActionEvent event) Back to previous view- Specified by:
onBackButtonClick
in classViewController
- Parameters:
event
- Button clicked
-
setUrl
-
initialize
- See Also:
-
Initializable.initialize(URL, ResourceBundle)
-
initializeViewComponents
protected void initializeViewComponents()Description copied from class:ViewController
Initializes View Component- Specified by:
initializeViewComponents
in classViewController
- See Also:
-
ViewController.initializeViewComponents()
Platform.runLater(Runnable)
WebEngine
WebView
-