1 package JSci.instruments; 2 3 /** An object that reads frames */ 4 5 public interface ImageSink extends Control { 6 7 /** set the object that sends the <code>Image</code>s. 8 * @param fs the object that sends the frames 9 */ 10 void setSource(ImageSource fs); 11 12 /** This method is called by the ImageSource to send a Image 13 * @param f the new frame that must be displayed 14 */ 15 void receive(Image f); 16 } 17