java.lang.Object
edu.ntnu.idata1002.prosjekt2021.ui.PatientPageController
public class PatientPageController
extends java.lang.Object
Controller for the patientpage scene.
-
Constructor Summary
Constructors Constructor Description PatientPageController()
-
Method Summary
Modifier and Type Method Description void
initialize()
void
setUserLabel(java.lang.String user)
Gets the users full name and adds it to a label.void
setUserPicture(javafx.scene.image.Image image)
Gets the users profile picture and molds it into a circle.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PatientPageController
public PatientPageController()
-
-
Method Details
-
initialize
public void initialize() -
setUserPicture
public void setUserPicture(javafx.scene.image.Image image)Gets the users profile picture and molds it into a circle.- Parameters:
image
- the users image.
-
setUserLabel
public void setUserLabel(java.lang.String user)Gets the users full name and adds it to a label.- Parameters:
user
- the users full name.
-