Package app.ui.camp.listview
Class CampListViewStaff
java.lang.Object
app.ui.windows.Window
app.ui.camp.listview.CampListView
app.ui.camp.listview.CampListViewStaff
- All Implemented Interfaces:
ICallBack
Represents a view specifically designed for staff members to manage camps.
Extends the CampListView class, providing additional functionalities for staff users.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected WidgetButtonprotected WidgetButtonprotected OverlayCampInfoDisplayEnquiriesStaffprotected OverlayCampSuggestionCommitteeViewprotected OverlayCampSuggestionStaffViewprotected Campprotected WidgetButtonprotected 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
ConstructorsConstructorDescriptionCampListViewStaff(int staffMainViewIndex) Constructs a CampListViewStaff with specific staff view index. -
Method Summary
Modifier and TypeMethodDescriptionprotected CampListCustomFilter(CampList list) Customizes the filter for camps based on staff-specific criteria.voidHandles interactions and actions within the staff-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
-
toggleCreated
-
toggleMySchool
-
sortByButton
-
generateReportButton
-
createNewCampButton
-
selectedCamp
-
overlayCampInfoDisplayEnquiriesStaff
-
overlayCampSuggestionCommitteeView
-
overlayCampSuggestionStaffView
-
-
Constructor Details
-
CampListViewStaff
public CampListViewStaff(int staffMainViewIndex) Constructs a CampListViewStaff with specific staff view index.- Parameters:
staffMainViewIndex- The index for the main staff view.
-
-
Method Details
-
CustomFilter
Customizes the filter for camps based on staff-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 staff-specific criteria.
-
messageLoop
public void messageLoop()Handles interactions and actions within the staff-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.
-