Class OverlayCampSuggestionView

java.lang.Object
app.ui.windows.Window
app.ui.windows.WindowOverlayClass
app.ui.camp.suggestionview.OverlayCampSuggestionView

public class OverlayCampSuggestionView extends WindowOverlayClass
The OverlayCampSuggestionView class represents an overlay window for viewing camp suggestions. It extends the WindowOverlayClass class and provides details about the suggested changes to a camp.
  • Field Details

    • exitButton

      protected WidgetButton exitButton
      The button widget for exiting the overlay.
    • textBoxCName

      protected WidgetTextBox textBoxCName
      The text box widget for displaying the camp name.
    • textBoxDescription

      protected WidgetTextBox textBoxDescription
      The text box widget for displaying the camp description.
    • textBoxDStart

      protected WidgetTextBox textBoxDStart
      The text box widget for displaying the camp start date.
    • textBoxDEnd

      protected WidgetTextBox textBoxDEnd
      The text box widget for displaying the camp end date.
    • textBoxDClose

      protected WidgetTextBox textBoxDClose
      The text box widget for displaying the camp registration close date.
    • textBoxSchool

      protected WidgetTextBox textBoxSchool
      The text box widget for displaying the camp school or faculty.
    • textBoxLocation

      protected WidgetTextBox textBoxLocation
      The text box widget for displaying the camp location.
    • textBoxSlotsC

      protected WidgetTextBox textBoxSlotsC
      The text box widget for displaying the committee slots.
    • textBoxSlots

      protected WidgetTextBox textBoxSlots
      The text box widget for displaying the total camp slots.
  • Constructor Details

    • OverlayCampSuggestionView

      public OverlayCampSuggestionView(int x, int y, int offsetY, int offsetX, String windowName, Suggestion suggestion)
      Constructs an instance of OverlayCampSuggestionView.
      Parameters:
      x - The x-coordinate of the overlay window.
      y - The y-coordinate of the overlay window.
      offsetY - The y-offset of the overlay window.
      offsetX - The x-offset of the overlay window.
      windowName - The name of the overlay window.
      suggestion - The suggestion for which the details are displayed.
  • Method Details

    • messageLoop

      public void messageLoop()
      Handles the message loop for the overlay.
      Overrides:
      messageLoop in class WindowOverlayClass
    • onExit

      public void onExit()
      Performs actions upon exiting the overlay.
      Overrides:
      onExit in class Window