Class OverlayCampInfoDisplayEnquiriesCommittee

All Implemented Interfaces:
ICallBack

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

    • camp

      protected Camp camp
    • student

      protected Student student
    • mainWindow

      protected Window mainWindow
    • participantsView

      protected WidgetPageSelection participantsView
    • enquiryList

      protected ArrayList<Enquiry> enquiryList
    • selectedEnq

      protected Enquiry selectedEnq
    • replyEnq

      protected boolean replyEnq
  • Constructor Details

    • OverlayCampInfoDisplayEnquiriesCommittee

      public OverlayCampInfoDisplayEnquiriesCommittee(int x, int y, int offsetY, int offsetX, String windowName, Camp camp, Student student, 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.