001package edu.pdx.cs410J.grader.poa;
002
003import edu.pdx.cs410J.grader.gradebook.Student;
004
005public class StudentSelectedEvent {
006  private Student selectedStudent;
007
008  public StudentSelectedEvent(Student selectedStudent) {
009    this.selectedStudent = selectedStudent;
010  }
011
012  public Student getSelectedStudent() {
013    return selectedStudent;
014  }
015
016  @Override
017  public String toString() {
018    return "Selected student " + selectedStudent;
019  }
020}