Class OverlayCampSuggestionCommitteeView

java.lang.Object
app.ui.windows.Window
app.ui.windows.WindowOverlayClass
app.ui.camp.suggestionview.OverlayCampSuggestionCommitteeView
All Implemented Interfaces:
ICallBack

public class OverlayCampSuggestionCommitteeView extends WindowOverlayClass implements ICallBack
Represents an overlay view displaying camp suggestions for the committee. Extends the WindowOverlayClass and implements ICallBack interface.
  • Field Details

  • Constructor Details

    • OverlayCampSuggestionCommitteeView

      public OverlayCampSuggestionCommitteeView(int x, int y, int offsetY, int offsetX, String windowName, Camp camp, Student student, Window mainWindow)
      Constructs an OverlayCampSuggestionCommitteeView object.
      Parameters:
      x - The x-coordinate position of the view.
      y - The y-coordinate position of the view.
      offsetY - The offset value for the y-coordinate.
      offsetX - The offset value for the x-coordinate.
      windowName - The name of the window.
      camp - The camp associated with the suggestions.
      student - The student user interacting with the suggestions.
      mainWindow - The main window where this overlay view is displayed.
  • Method Details

    • updateSuggestionList

      public void updateSuggestionList()
      Updates the suggestion list displayed in the view.
    • messageLoop

      public void messageLoop()
      Handles the message loop for interaction with suggestions and buttons in the view.
      Overrides:
      messageLoop in class WindowOverlayClass
    • onExit

      public void onExit()
      Overrides the onExit method from the parent class. Performs additional actions when the overlay is exited.
      Overrides:
      onExit in class Window
    • onWindowFinished

      public void onWindowFinished(int chose, String choseString)
      Handles actions triggered upon completion of certain operations in the overlay view.
      Specified by:
      onWindowFinished in interface ICallBack
      Parameters:
      chose - The chosen action identifier.
      choseString - The string representation of the chosen action.