Package com.ehealthsystem.appointment
Class AppointmentFoundController
java.lang.Object
com.ehealthsystem.appointment.AppointmentFoundController
- All Implemented Interfaces:
javafx.fxml.Initializable
Class which contains loads all the founds doctors based on the search distance
-
Field Summary
Modifier and TypeFieldDescription(package private) javafx.scene.layout.GridPane
(package private) javafx.scene.control.Label
attributes with a fx:id of the view -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleBackButton
(javafx.event.ActionEvent event) event handler for back buttonvoid
initialize
(URL url, ResourceBundle resourceBundle) get the doctors in the selected distance in to an arraylistprivate void
loadDoctors
(ArrayList<DoctorDistance> doctorList) dynamically load the doctors in the grid pane
-
Field Details
-
errorLabel
javafx.scene.control.Label errorLabelattributes with a fx:id of the view -
doctorGridPane
javafx.scene.layout.GridPane doctorGridPane
-
-
Constructor Details
-
AppointmentFoundController
public AppointmentFoundController()
-
-
Method Details
-
initialize
get the doctors in the selected distance in to an arraylist- Specified by:
initialize
in interfacejavafx.fxml.Initializable
- Parameters:
url
-resourceBundle
-
-
loadDoctors
dynamically load the doctors in the grid pane- Parameters:
doctorList
- the list of all doctors which matches the distance- Throws:
IOException
-
handleBackButton
event handler for back button- Parameters:
event
-- Throws:
IOException
-