home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-01-27 | 1.6 KB | 44 lines |
- /*
- * @(#)ImageFetchable.java 1.1 95/08/30 Jim Graham
- *
- * Copyright (c) 1994 Sun Microsystems, Inc. All Rights Reserved.
- *
- * Permission to use, copy, modify, and distribute this software
- * and its documentation for NON-COMMERCIAL purposes and without
- * fee is hereby granted provided that this copyright notice
- * appears in all copies. Please refer to the file "copyright.html"
- * for further important copyright and licensing information.
- *
- * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
- * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
- * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
- * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
- * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
- * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
- */
-
- package sun.awt.image;
-
- /**
- * This interface allows the ImageFetcher class to drive the production
- * of image data in an ImageProducer class by calling the doFetch()
- * method from one of a pool of threads which are created to facilitate
- * asynchronous delivery of image data outside of the standard system
- * threads which manage the applications User Interface.
- *
- * @see ImageFetcher
- * @see ImageProducer
- *
- * @version 1.1 08/30/95
- * @author Jim Graham
- */
- public interface ImageFetchable {
- /**
- * This method is called by one of the ImageFetcher threads to start
- * the flow of information from the ImageProducer to the ImageConsumer.
- * @see ImageFetcher
- * @see ImageProducer
- */
- public void doFetch();
- }
-