1 package sample.google.spellcheck; 2 3 4 /** 5 * interface sample.google.spellcheck.Observer 6 * @author Nadana Gunarathna 7 * 8 */ 9 public interface Observer { 10 // updates the message to the main test display area 11 public void update(String message); 12 13 //updates the error message to the error message display area 14 public void updateError(String message); 15 16 public void clear(); 17 } 18