Package app.ui.camp.suggestionview
Class OverlayCampSuggestionView
java.lang.Object
app.ui.windows.Window
app.ui.windows.WindowOverlayClass
app.ui.camp.suggestionview.OverlayCampSuggestionView
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 Summary
FieldsModifier and TypeFieldDescriptionprotected WidgetButtonThe button widget for exiting the overlay.protected WidgetTextBoxThe text box widget for displaying the camp name.protected WidgetTextBoxThe text box widget for displaying the camp registration close date.protected WidgetTextBoxThe text box widget for displaying the camp end date.protected WidgetTextBoxThe text box widget for displaying the camp description.protected WidgetTextBoxThe text box widget for displaying the camp start date.protected WidgetTextBoxThe text box widget for displaying the camp location.protected WidgetTextBoxThe text box widget for displaying the camp school or faculty.protected WidgetTextBoxThe text box widget for displaying the total camp slots.protected WidgetTextBoxThe text box widget for displaying the committee slots.Fields inherited from class app.ui.windows.WindowOverlayClass
offsetX, offsetYFields inherited from class app.ui.windows.Window
backColor, buffer, overlays, printColor, switchToWindow, widgets -
Constructor Summary
ConstructorsConstructorDescriptionOverlayCampSuggestionView(int x, int y, int offsetY, int offsetX, String windowName, Suggestion suggestion) Constructs an instance ofOverlayCampSuggestionView. -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the message loop for the overlay.voidonExit()Performs actions upon exiting the overlay.Methods inherited from class app.ui.windows.WindowOverlayClass
clearArea, clearOuterArea, draw, getDestroy, setDestroyMethods inherited from class app.ui.windows.Window
addOverlay, addWidget, addWidgetAfter, clearArea, getLenX, getLenY, getSwitchToWindow, getWidgetIndex, getX, getY, keyStroke, keyStrokeHelper, messageLoopHelper, removeWidget, selectNext, selectPrev, setClear, setPointer, setY, switchFrom
-
Field Details
-
exitButton
The button widget for exiting the overlay. -
textBoxCName
The text box widget for displaying the camp name. -
textBoxDescription
The text box widget for displaying the camp description. -
textBoxDStart
The text box widget for displaying the camp start date. -
textBoxDEnd
The text box widget for displaying the camp end date. -
textBoxDClose
The text box widget for displaying the camp registration close date. -
textBoxSchool
The text box widget for displaying the camp school or faculty. -
textBoxLocation
The text box widget for displaying the camp location. -
textBoxSlotsC
The text box widget for displaying the committee slots. -
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 ofOverlayCampSuggestionView.- 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:
messageLoopin classWindowOverlayClass
-
onExit
public void onExit()Performs actions upon exiting the overlay.
-