Class ImageProxyPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ImageProxyPanel extends JPanel
Panel used to display a single page of a document. This is basically a lazy-load display panel which gets the size of the image for layout purposes but doesn't get the actual image data until needed. The image data is then accessed via a soft reference, so it will be garbage collected when moving through large documents.
See Also:
  • Constructor Details

    • ImageProxyPanel

      public ImageProxyPanel(AWTRenderer renderer, int page)
      Panel constructor. Doesn't allocate anything until needed.
      Parameters:
      renderer - the AWTRenderer instance to use for painting
      page - initial page number to show
  • Method Details