Class OverlayCampInfoDisplayView

java.lang.Object
app.ui.windows.Window
app.ui.windows.WindowOverlayClass
app.ui.camp.infomationview.OverlayCampInfoDisplayView
Direct Known Subclasses:
OverlayCampInfoDisplayEnquiries, OverlayCampInfoDisplayEnquiriesCommittee, OverlayCampInfoDisplayEnquiriesStaff, OverlayCampInfoDisplayWithParticipantsView

public class OverlayCampInfoDisplayView extends WindowOverlayClass
OverlayCampInfoDisplayView extends WindowOverlayClass and manages the display of camp information within an overlay, providing details such as camp name, description, dates, location, slots, and visibility.
  • Field Details

  • Constructor Details

    • OverlayCampInfoDisplayView

      public OverlayCampInfoDisplayView(int x, int y, int offsetY, int offsetX, String windowName, Camp camp)
      Constructs an OverlayCampInfoDisplayView object.
      Parameters:
      x - The x-coordinate position.
      y - The y-coordinate position.
      offsetY - The y-coordinate offset.
      offsetX - The x-coordinate offset.
      windowName - The name of the overlay window.
      camp - The camp app.entity containing information to be displayed.
  • Method Details

    • messageLoop

      public void messageLoop()
      The main message loop that manages interactions within the overlay. Handles button presses and actions accordingly.
      Overrides:
      messageLoop in class WindowOverlayClass
    • onExit

      public void onExit()
      Performs necessary clean-up tasks upon exiting the overlay.
      Overrides:
      onExit in class Window