package AWTBPEvents; /** * This interface defines the methods that must be provided by * all objects receiving BloodPressure events. * * @author Stuart Hansen * @version February 2009 */ public interface BloodPressureListener { // receives the event if the upper value (systolic) changes public void systolicChange(BloodPressureEvent e); // receives the event if the lower value (diastolic) changes public void diastolicChange(BloodPressureEvent e); // receives the event if the systolic pressure goes extreme public void warning(BloodPressureEvent e); }