public abstract class ImageReference
extends java.lang.Object
implements java.util.concurrent.Callable<java.awt.image.BufferedImage>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.FutureTask<java.awt.image.BufferedImage> |
futureTask |
protected GraphicsState |
graphicsState |
protected java.awt.image.BufferedImage |
image |
protected int |
imageIndex |
protected ImageStream |
imageStream |
protected Page |
parentPage |
protected Reference |
reference |
protected Resources |
resources |
protected static boolean |
useProxy |
| Modifier | Constructor and Description |
|---|---|
protected |
ImageReference(ImageStream imageStream,
GraphicsState graphicsState,
Resources resources,
int imageIndex,
Page parentPage) |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.image.BufferedImage |
createImage()
Creates a scaled image to match that of the instance vars width/height.
|
void |
drawImage(java.awt.Graphics2D aG,
int aX,
int aY,
int aW,
int aH) |
abstract int |
getHeight() |
abstract java.awt.image.BufferedImage |
getImage() |
ImageStream |
getImageStream() |
abstract int |
getWidth() |
boolean |
isImage() |
protected void |
notifyImagePageEvents(long duration) |
protected void |
notifyPageImageLoadedEvent(long duration,
boolean interrupted) |
protected void |
notifyPageLoadingEnded() |
protected static boolean useProxy
protected java.util.concurrent.FutureTask<java.awt.image.BufferedImage> futureTask
protected ImageStream imageStream
protected GraphicsState graphicsState
protected Resources resources
protected java.awt.image.BufferedImage image
protected Reference reference
protected int imageIndex
protected Page parentPage
protected ImageReference(ImageStream imageStream, GraphicsState graphicsState, Resources resources, int imageIndex, Page parentPage)
public abstract int getWidth()
public abstract int getHeight()
public abstract java.awt.image.BufferedImage getImage()
public void drawImage(java.awt.Graphics2D aG,
int aX,
int aY,
int aW,
int aH)
protected java.awt.image.BufferedImage createImage()
public ImageStream getImageStream()
public boolean isImage()
protected void notifyPageImageLoadedEvent(long duration,
boolean interrupted)
protected void notifyImagePageEvents(long duration)
protected void notifyPageLoadingEnded()