package imagetools; import java.awt.image.BufferedImage; /** * The proximity interface controlling the access to the image. This needs to be implemented * by each object manipulation instance to ensure cleanliness and consistency of the code. * Otherwise, it will be messy (I was initially testing with just getters and setters). * * @author asevans */ public interface Proximity { public void setImage(BufferedImage image); public void setImage(String path); public void setPath(String path); public String getPath(); public Image getImage(); public BufferedImage getBufferedImage(); public void save(); public void delete(); }