You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.studentmanagement.view;
import com.studentmanagement.model.Student;
import java.util.List;
/**
* 学生视图接口
* 定义显示学生信息的方法实现MVC模式中的视图层
*/
public interface StudentView {
/**
* 显示学生列表
* @param students 学生列表
*/
void displayStudentList(List<Student> students);
/**
* 显示学生详细信息
* @param student 学生对象
*/
void displayStudentDetails(Student student);
/**
* 显示筛选后的学生列表
* @param students 学生列表
* @param filterCriteria 筛选条件描述
*/
void displayFilteredStudents(List<Student> students, String filterCriteria);
/**
* 显示成功消息
* @param message 成功消息内容
*/
void displaySuccessMessage(String message);
/**
* 显示错误消息
* @param message 错误消息内容
*/
void displayErrorMessage(String message);
/**
* 显示统计信息
* @param statistics 统计信息内容
*/
void displayStatistics(String statistics);
/**
* 显示主菜单
*/
void displayMainMenu();
}