Class MyTracker

java.lang.Object
com.sun.pdfview.decode.MyTracker
All Implemented Interfaces:
ImageObserver

class MyTracker extends Object implements ImageObserver
Image tracker. I'm not sure why I'm not using the default Java image tracker for this one.
  • Field Details

    • done

      boolean done
  • Constructor Details

    • MyTracker

      public MyTracker(Image img)
      create a new MyTracker that watches this image. The image will start loading immediately.
  • Method Details

    • imageUpdate

      public boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height)
      More information has come in about the image.
      Specified by:
      imageUpdate in interface ImageObserver
    • waitForAll

      public void waitForAll()
      Wait until the image is done, then return.