Module org.icepdf.ri.viewer
Package org.icepdf.ri.common.views
Class AbstractPageViewComponent.PageImageCaptureTask
- java.lang.Object
-
- org.icepdf.ri.common.views.AbstractPageViewComponent.PageImageCaptureTask
-
- All Implemented Interfaces:
Callable<Object>,EventListener,PaintPageListener
- Enclosing class:
- AbstractPageViewComponent
public class AbstractPageViewComponent.PageImageCaptureTask extends Object implements Callable<Object>, PaintPageListener
The worker of any successful page paint. The worker takes a snapshot of the given page state and paint the desired image to buffer. One completed the new buffer is stuffed into the pageBufferStore instance with properties so that it can be painted in the correct thread when the component is repainted.
-
-
Constructor Summary
Constructors Constructor Description PageImageCaptureTask(JComponent parent, Rectangle imageLocation, Rectangle imageClipLocation, float zoom, float rotation)
-
-
-
Constructor Detail
-
PageImageCaptureTask
public PageImageCaptureTask(JComponent parent, Rectangle imageLocation, Rectangle imageClipLocation, float zoom, float rotation)
-
-
Method Detail
-
paintPage
public void paintPage(PaintPageEvent event)
- Specified by:
paintPagein interfacePaintPageListener
-
-