/** * Widgets that can talk will implement this interface * * @author Loren Segal * @version 1.0 */ public interface Talker { /** * The way that the implementing widget will say 'Hi' * * @return A phrase of welcome */ public String sayHi(); /** * The way that the implementing widget will say 'Bye' * * @return A phrase of departure */ public String sayBye(); }