java.lang.Object
edu.ntnu.idata1002.prosjekt2021.ui.PatientInfoController
public class PatientInfoController
extends java.lang.Object
Controller for the patientinfo scene.
-
Constructor Summary
Constructors Constructor Description PatientInfoController()
-
Method Summary
Modifier and Type Method Description void
setPatientInfoScene(Patient patient)
Sets information about the patient in labels and text area to be displayed for the user.void
setStage(javafx.stage.Stage stage)
Sets the stage.void
setUsersName(java.lang.String usersName)
Sets the users full name.void
setUsersPicture(javafx.scene.image.Image image)
Sets the profile picture of this user.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PatientInfoController
public PatientInfoController()
-
-
Method Details
-
setPatientInfoScene
Sets information about the patient in labels and text area to be displayed for the user.- Parameters:
patient
- the patients who's information is being set.
-
setUsersName
public void setUsersName(java.lang.String usersName)Sets the users full name.- Parameters:
usersName
- full name of the user set.
-
setUsersPicture
public void setUsersPicture(javafx.scene.image.Image image)Sets the profile picture of this user.- Parameters:
image
- picture of the user to be set.
-
setStage
public void setStage(javafx.stage.Stage stage)Sets the stage.- Parameters:
stage
- stage to be set.
-