001package edu.pdx.cs410J.grader.poa;
002
003import java.io.File;
004
005public interface GradeBookView {
006  void setGradeBookName(String className);
007
008  void addGradeBookFileListener(FileSelectedListener listener);
009
010  void canSaveGradeBook(boolean canSaveGradeBook);
011
012  void addSaveGradeBookListener(SaveGradeBookListener listener);
013
014  interface FileSelectedListener {
015    void fileSelected(File file);
016  }
017
018  public interface SaveGradeBookListener {
019    void saveGradeBook();
020  }
021}