001package edu.pdx.cs410J.grader.poa; 002 003public interface EmailCredentialsView { 004 public void setIsVisible(boolean isVisible); 005 006 void addEmailAddressValueListener(EmailAddressValueListener listener); 007 008 void addPasswordValueListener(PasswordValueListener listener); 009 010 void addSubmitCredentialsListener(SubmitCredentialsListener listener); 011 012 void setEmailAddress(String emailAddress); 013 014 void setPassword(String password); 015 016 public interface EmailAddressValueListener { 017 void setEmailAddress(String address); 018 } 019 020 public interface PasswordValueListener { 021 void setPassword(String password); 022 } 023 024 public interface SubmitCredentialsListener { 025 void submitCredentials(); 026 } 027}