Package app.ui.camp.listview
Class CampListViewStudent
java.lang.Object
app.ui.windows.Window
app.ui.camp.listview.CampListView
app.ui.camp.listview.CampListViewStudent
- All Implemented Interfaces:
ICallBack
Represents a view tailored for students to interact with and manage camps.
Extends the CampListView class, providing functionalities specifically for student users.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected WidgetButtonprotected OverlayCampInfoDisplayEnquiriesprotected OverlayCampInfoDisplayEnquiriesCommitteeprotected OverlayCampSuggestionCommitteeViewprotected Campprotected WidgetButtonprotected WidgetToggleprotected WidgetToggleprotected WidgetToggleprotected WidgetToggleFields inherited from class app.ui.camp.listview.CampListView
backButton, campListForExport, displayCamps, filter1Comment, filter1Enable, filter1End, filter1Start, filter2, filter2Enable, filter3, filter3Enable, filter4, filter4Enable, filter4Index, filterLabel1, filterLabel2, filterLabel3, filterLabel4, lastFilter, lastSize, widgetPageSelectionFields inherited from class app.ui.windows.Window
backColor, buffer, overlays, printColor, switchToWindow, widgets -
Constructor Summary
ConstructorsConstructorDescriptionCampListViewStudent(int studentMainViewIndex) Constructs a CampListViewStudent with a specific student main view index. -
Method Summary
Modifier and TypeMethodDescriptionprotected CampListCustomFilter(CampList list) Customizes the filter for camps based on student-specific criteria.voidHandles interactions and actions within the student-specific camp view.voidonWindowFinished(int chose, String choseString) Handles actions and decisions upon completion of specific windows or actions.Methods inherited from class app.ui.camp.listview.CampListView
onExit, refreshListMethods inherited from class app.ui.windows.Window
addOverlay, addWidget, addWidgetAfter, clearArea, clearOuterArea, draw, getLenX, getLenY, getSwitchToWindow, getWidgetIndex, getX, getY, keyStroke, keyStrokeHelper, messageLoopHelper, removeWidget, selectNext, selectPrev, setClear, setPointer, setY, switchFrom
-
Field Details
-
toggleJoinedCamp
-
toggleCommittee
-
sortByButton
-
generateReportButton
-
toggleAvailable
-
toggleCommitteeAvailableC
-
selectedCamp
-
overlayCampInfoDisplayEnquiries
-
overlayCampInfoDisplayEnquiriesCommittee
-
overlayCampSuggestionCommitteeView
-
-
Constructor Details
-
CampListViewStudent
public CampListViewStudent(int studentMainViewIndex) Constructs a CampListViewStudent with a specific student main view index.- Parameters:
studentMainViewIndex- The index for the main student view.
-
-
Method Details
-
CustomFilter
Customizes the filter for camps based on student-specific criteria. Overrides the method in the parent class.- Overrides:
CustomFilterin classCampListView- Parameters:
list- The original list of camps to be filtered.- Returns:
- The filtered list of camps based on student-specific criteria.
-
messageLoop
public void messageLoop()Handles interactions and actions within the student-specific camp view. Overrides the messageLoop method in the parent class.- Overrides:
messageLoopin classCampListView
-
onWindowFinished
Handles actions and decisions upon completion of specific windows or actions. Overrides the onWindowFinished method in the parent class.- Specified by:
onWindowFinishedin interfaceICallBack- Overrides:
onWindowFinishedin classCampListView- Parameters:
chose- The chosen action identifier.choseString- The string representation of the chosen action.
-