| java.lang.Object java.awt.Image sun.awt.image.Image
All known Subclasses: sun.awt.qt.QtImage, sun.awt.pocketpc.PPCImage, sun.awt.gtk.GdkImage,
Constructor Summary | |
protected | Image() | protected | Image(Component c, int w, int h) Construct an image for offscreen rendering to be used with a
given Component. | protected | Image(ImageProducer is) Construct an image from an ImageProducer object. |
source | ImageProducer source(Code) | | The object which is used to reconstruct the original image data
as needed.
|
Image | protected Image(Component c, int w, int h)(Code) | | Construct an image for offscreen rendering to be used with a
given Component.
|
addInfo | synchronized void addInfo(int newinfo)(Code) | | |
flush | public void flush()(Code) | | |
getHeight | public int getHeight()(Code) | | Return the height of the original image source.
If the height isn't known, then the image is reconstructed.
|
getHeight | public synchronized int getHeight(ImageObserver iw)(Code) | | Return the height of the original image source.
If the height isn't known, then the ImageObserver object will be
notified when the data is available.
|
getProperty | public Object getProperty(String name, ImageObserver observer)(Code) | | Return a property of the image by name. Individual property names
are defined by the various image formats. If a property is not
defined for a particular image, then this method will return the
UndefinedProperty object. If the properties for this image are
not yet known, then this method will return null and the ImageObserver
object will be notified later. The property name "comment" should
be used to store an optional comment which can be presented to
the user as a description of the image, its source, or its author.
|
getWidth | public int getWidth()(Code) | | Return the width of the original image source.
If the width isn't known, then the image is reconstructed.
|
getWidth | public synchronized int getWidth(ImageObserver iw)(Code) | | Return the width of the original image source.
If the width isn't known, then the ImageObserver object will be
notified when the data is available.
|
hasError | public boolean hasError()(Code) | | |
infoDone | synchronized void infoDone(int status)(Code) | | |
setDimensions | void setDimensions(int w, int h)(Code) | | |
|
|