Class ViewPersonalSchedulePage

java.lang.Object
Common.UserInterface
UI.AppointmentPages.ViewPersonalSchedulePage

public class ViewPersonalSchedulePage extends UserInterface
The ViewPersonalSchedulePage class provides functionality for viewing a doctor's personal schedule. It extends UserInterface and displays available appointment slots for a specific doctor.
  • Constructor Details

    • ViewPersonalSchedulePage

      public ViewPersonalSchedulePage()
  • Method Details

    • displayDocTimeSlot

      public void displayDocTimeSlot(Account doctor, List<DatabaseItems> personalSchedule)
      Displays the doctor's personal schedule, including time slots and their statuses. If no schedule is set, an appropriate message is displayed.
      Parameters:
      doctor - the Account representing the doctor
      personalSchedule - a list of DatabaseItems representing the doctor's scheduled appointments