summaryrefslogtreecommitdiff
path: root/tools/viewer/GpickleObserver.java
blob: 281b12eda7f168462efe07d59ce096a11d1995fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

import java.awt.image.*;

/** Similar to ImageObserver but for BufferedImage
 * @author Stefan Kemper
 * @version $Revision: 1563 $
 */
public interface GpickleObserver {
    /** newImage contains the completed image */
    void imageIsReady( BufferedImage newImage );

    /** pageCount contains the number of pages in the document */
    void pageCountIsReady( int pageCount );
}