java.lang.Object
org.openpdf.swing.AWTFSImage
org.openpdf.swing.MutableFSImage
- All Implemented Interfaces:
FSImage
An FSImage containing a java.awt.Image which can be replaced at runtime by calling setImage(). When setImage() is
called, the RepaintListener passed to this class in its constructor will have repaintRequested() invoked on the
Swing event dispatch thread. The method isLoaded() will return true once the image load has completed. Before the
image has loaded, a 1x1 transparent pixel will be returned from getImage().
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openpdf.swing.AWTFSImage
createImage
-
Constructor Details
-
MutableFSImage
-
-
Method Details
-
getImage
- Specified by:
getImagein classAWTFSImage
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
scale
-
setImage
-
isLoaded
public boolean isLoaded()
-