Class CampListViewStaff

All Implemented Interfaces:
ICallBack

public class CampListViewStaff extends CampListView
Represents a view specifically designed for staff members to manage camps. Extends the CampListView class, providing additional functionalities for staff users.
  • Field Details

  • 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

      protected CampList CustomFilter(CampList list)
      Customizes the filter for camps based on staff-specific criteria. Overrides the method in the parent class.
      Overrides:
      CustomFilter in class CampListView
      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:
      messageLoop in class CampListView
    • onWindowFinished

      public void onWindowFinished(int chose, String choseString)
      Handles actions and decisions upon completion of specific windows or actions. Overrides the onWindowFinished method in the parent class.
      Specified by:
      onWindowFinished in interface ICallBack
      Overrides:
      onWindowFinished in class CampListView
      Parameters:
      chose - The chosen action identifier.
      choseString - The string representation of the chosen action.