Class OverlayCampInfoDisplayEnquiries

All Implemented Interfaces:
ICallBack

public class OverlayCampInfoDisplayEnquiries extends OverlayCampInfoDisplayView implements ICallBack
OverlayCampInfoDisplayEnquiries extends OverlayCampInfoDisplayView and implements ICallBack. This class manages the display and interactions related to camp enquiries within an overlay view.
  • Field Details

  • Constructor Details

    • OverlayCampInfoDisplayEnquiries

      public OverlayCampInfoDisplayEnquiries(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.