Class ImageWriterDisplayCallback

  • All Implemented Interfaces:
    DisplayCallback

    public class ImageWriterDisplayCallback
    extends java.lang.Object
    implements DisplayCallback
    Display callback that stores device output as java Image (on image = one page).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.awt.Image> images
      Holds document images.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void displayClose()
      Method called when device has been closed.
      void displayOpen()
      Method called when new device has been opened.
      void displayPage​(int width, int height, int raster, int format, int copies, int flush, byte[] imageData)
      Method called on show page.
      void displayPreClose()
      Method called when device is about to be closed.
      void displayPreSize​(int width, int height, int raster, int format)
      Method called when device is about to be resized.
      void displaySize​(int width, int height, int raster, int format)
      Method called when device has been resized.
      void displaySync()
      Method called on page flush.
      void displayUpdate​(int x, int y, int width, int height)
      Method called to notify whenever a portion of the raster is updated.
      java.util.List<java.awt.Image> getImages()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait