Class CampListViewStudent

All Implemented Interfaces:
ICallBack

public class CampListViewStudent extends CampListView
Represents a view tailored for students to interact with and manage camps. Extends the CampListView class, providing functionalities specifically for student users.
  • Field Details

  • 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

      protected CampList CustomFilter(CampList list)
      Customizes the filter for camps based on student-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 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:
      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.