Package app.ui.camp.enquiriesview
Class OverlayCampInfoDisplayEnquiriesCommittee
java.lang.Object
app.ui.windows.Window
app.ui.windows.WindowOverlayClass
app.ui.camp.infomationview.OverlayCampInfoDisplayView
app.ui.camp.enquiriesview.OverlayCampInfoDisplayEnquiriesCommittee
- All Implemented Interfaces:
ICallBack
public class OverlayCampInfoDisplayEnquiriesCommittee
extends OverlayCampInfoDisplayView
implements ICallBack
OverlayCampInfoDisplayEnquiriesCommittee extends OverlayCampInfoDisplayView and implements ICallBack.
Manages the display and interaction with camp enquiries within an overlay view for committee members.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Campprotected Windowprotected WidgetPageSelectionprotected booleanprotected Enquiryprotected StudentFields inherited from class app.ui.camp.infomationview.OverlayCampInfoDisplayView
exitButton, textBoxCName, textBoxDClose, textBoxDEnd, textBoxDescription, textBoxDStart, textBoxLocation, textBoxSchool, textBoxSlots, textBoxSlotsC, textBoxVisFields inherited from class app.ui.windows.WindowOverlayClass
offsetX, offsetYFields inherited from class app.ui.windows.Window
backColor, buffer, overlays, printColor, switchToWindow, widgets -
Constructor Summary
ConstructorsConstructorDescriptionOverlayCampInfoDisplayEnquiriesCommittee(int x, int y, int offsetY, int offsetX, String windowName, Camp camp, Student student, Window mainWindow) -
Method Summary
Modifier and TypeMethodDescriptionvoidThe main message loop handling user interactions within the camp enquiries overlay.voidonExit()Performs necessary clean-up tasks upon exiting the overlay for camp enquiries.voidonWindowFinished(int chose, String choseString) An override method from the ICallBack interface.voidUpdates the list of camp enquiries displayed in 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
-
camp
-
student
-
mainWindow
-
participantsView
-
enquiryList
-
selectedEnq
-
replyEnq
protected boolean replyEnq
-
-
Constructor Details
-
OverlayCampInfoDisplayEnquiriesCommittee
-
-
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:
messageLoopin classOverlayCampInfoDisplayView
-
onExit
public void onExit()Performs necessary clean-up tasks upon exiting the overlay for camp enquiries.- Overrides:
onExitin classOverlayCampInfoDisplayView
-
onWindowFinished
An override method from the ICallBack interface. Handles specific actions based on the user's choice within the overlay.- Specified by:
onWindowFinishedin interfaceICallBack- Parameters:
chose- The chosen index.choseString- The chosen string.
-