Package UI.AppointmentPages
Class RescheduleAppointmentPage
java.lang.Object
Common.UserInterface
UI.AppointmentPages.RescheduleAppointmentPage
The
RescheduleAppointmentPage
class provides functionality for
rescheduling appointments for a patient. It extends UserInterface
and interacts with the PatientAM
manager to manage appointment details.-
Field Summary
Fields inherited from class Common.UserInterface
scanner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Displays the patient's scheduled appointments and allows the user to select an appointment to reschedule.Methods inherited from class Common.UserInterface
displayError, displaySuccess, getIntInput, getNumericString, getValidatedInt, getValidatedString, pauseAndView
-
Constructor Details
-
RescheduleAppointmentPage
- Parameters:
patientAM
- the manager used to access and manage patient's appointmentspatient
- the account of the patient whose appointments are being rescheduled
-
-
Method Details
-
displayOptions
public void displayOptions()Displays the patient's scheduled appointments and allows the user to select an appointment to reschedule. It retrieves available slots for the selected doctor.
-