Class OverlayCampInfoDisplayEnquiriesStaff

All Implemented Interfaces:
ICallBack

public class OverlayCampInfoDisplayEnquiriesStaff extends OverlayCampInfoDisplayView implements ICallBack
OverlayCampInfoDisplayEnquiriesStaff extends OverlayCampInfoDisplayView and implements ICallBack. Manages the display and interaction with camp enquiries within an overlay view for staff members.
  • Field Details

    • staff

      protected Staff staff
    • mainWindow

      protected Window mainWindow
    • participantsView

      protected WidgetPageSelection participantsView
    • enquiryList

      protected ArrayList<Enquiry> enquiryList
    • selectedEnq

      protected Enquiry selectedEnq
    • replyEnq

      protected boolean replyEnq
  • Constructor Details

    • OverlayCampInfoDisplayEnquiriesStaff

      public OverlayCampInfoDisplayEnquiriesStaff(int x, int y, int offsetY, int offsetX, String windowName, Camp camp, Staff staff, Window mainWindow)
  • Method Details

    • updateEnquiries

      public void updateEnquiries()
      Updates the list of camp enquiries displayed in the overlay.
    • messageLoop

      public void messageLoop()
      The main message loop handling user interactions within the camp enquiries overlay. Manages actions based on button presses and user selections.
      Overrides:
      messageLoop in class OverlayCampInfoDisplayView
    • onExit

      public void onExit()
      Performs necessary clean-up tasks upon exiting the overlay for camp enquiries.
      Overrides:
      onExit in class OverlayCampInfoDisplayView
    • onWindowFinished

      public void onWindowFinished(int chose, String choseString)
      An override method from the ICallBack interface. Handles specific actions based on the user's choice within the overlay.
      Specified by:
      onWindowFinished in interface ICallBack
      Parameters:
      chose - The chosen index.
      choseString - The chosen string.