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
FieldsModifier and TypeFieldDescription(package private) javafx.scene.layout.GridPane(package private) javafx.scene.control.Labelattributes with a fx:id of the view -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleBackButton(javafx.event.ActionEvent event) event handler for back buttonvoidinitialize(URL url, ResourceBundle resourceBundle) get the doctors in the selected distance in to an arraylistprivate voidloadDoctors(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:
initializein 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
-