001package edu.pdx.cs410J.grader.poa; 002 003public interface POAGradeView { 004 void setIsEnabled(boolean isEnabled); 005 006 void setIsLate(boolean isLate); 007 008 void addIsLateHandler(IsLateHandler handler); 009 010 void setTotalPoints(String totalPoints); 011 012 void addScoreValueHandler(ScoreValueHandler handler); 013 014 void setErrorInScore(boolean errorInScore); 015 016 void setScore(String score); 017 018 void setScoreHasBeenRecorded(boolean hasScoreBeenRecorded); 019 020 void addRecordGradeHandler(RecordGradeHandler handler); 021 022 public interface IsLateHandler { 023 void setIsLate(boolean isLate); 024 } 025 026 public interface ScoreValueHandler { 027 void scoreValue(String value); 028 } 029 030 public interface RecordGradeHandler { 031 void recordGrade(); 032 } 033}