Uses of Class java.awt.Image

Uses in package java.awt.peer

Methods with parameter type java.awt.Image

int
ComponentPeer.checkImage(Image img, int width, int height, ImageObserver ob)
Returns the construction status of the specified image.
boolean
ComponentPeer.prepareImage(Image img, int width, int height, ImageObserver ob)
Prepares an image for rendering on this component.
void

Methods with return type java.awt.Image

Image
ComponentPeer.createImage(int width, int height)
Creates an empty image with the specified width and height.
Image
Creates an image by starting the specified image producer.
Image
Return the back buffer of this component.

Uses in package java.awt

Fields of type java.awt.Image

Image
An Image reference to the drawing buffer.

Methods with parameter type java.awt.Image

void
MediaTracker.addImage(Image image, int id)
Adds an image to the tracker with the specified ID.
void
MediaTracker.addImage(Image image, int id, int width, int height)
Adds an image to the tracker with the specified ID.
int
Component.checkImage(Image image, int width, int height, ImageObserver observer)
Returns the status of the loading of the specified image.
int
Toolkit.checkImage(Image image, int width, int height, ImageObserver observer)
Checks the status of specified image as it is being readied for rendering.
int
Returns the status of the loading of the specified image.
Cursor
Toolkit.createCustomCursor(Image cursor, Point hotSpot, String name)
Creates a new custom cursor object.
boolean
Graphics.drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)
FIXME: Write Javadocs for this when you understand it.
boolean
Graphics.drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
FIXME: Write Javadocs for this when you understand it.
boolean
Graphics.drawImage(Image image, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
Draws all of the image that is available and returns.
boolean
Graphics.drawImage(Image image, int x, int y, int width, int height, ImageObserver observer)
Draws all of the image that is available and returns.
boolean
Graphics.drawImage(Image image, int x, int y, Color bgcolor, ImageObserver observer)
Draws all of the image that is available and returns.
boolean
Graphics.drawImage(Image image, int x, int y, ImageObserver observer)
Draws all of the image that is available and returns.
boolean
boolean
Component.imageUpdate(Image img, int flags, int x, int y, int w, int h)
Called when an image has changed so that this component is repainted.
boolean
Component.prepareImage(Image image, int width, int height, ImageObserver observer)
Prepares the specified image for rendering on this component at the specified scaled width and height
boolean
Toolkit.prepareImage(Image image, int width, int height, ImageObserver observer)
Readies an image to be rendered on the screen.
boolean
Prepares the specified image for rendering on this component.
void
Removes an image from this MediaTracker.
void
MediaTracker.removeImage(Image image, int id)
Removes an image with the specified ID from this MediaTracker.
void
MediaTracker.removeImage(Image image, int id, int width, int height)
Removes an image with the specified ID and scale from this MediaTracker.
void
Sets this frame's icon to the specified value.

Methods with return type java.awt.Image

Image
Toolkit.createImage(byte[] data)
Creates an image from the specified byte array.
Image
Toolkit.createImage(byte[] data, int offset, int len)
Creates an image from the specified portion of the byte array passed.
Image
Component.createImage(int width, int height)
Creates an image with the specified width and height for use in double buffering.
Image
Creates an image from the specified producer.
Image
Creates an image using the specified ImageProducer
Image
Image
Image
Return a direct reference to the back buffer image.
Image
Returns this frame's icon.
Image
Returns an image from the specified file, which must be in a recognized format.
Image
Returns an image from the specified URL, which must be in a recognized format.
Image
Image.getScaledInstance(int width, int height, int flags)
Scales the image to the requested dimension.

Uses in package java.awt.im.spi

Methods with return type java.awt.Image

Image
Returns a 16x16 icon for the input locale.

Uses in package java.awt.dnd.peer

Methods with parameter type java.awt.Image

void

Uses in package java.awt.image

Classes derived from java.awt.Image

class
A buffered image always starts at coordinates (0, 0).
class
VolatileImage represents a hardware-accelerated graphics buffer.

Constructors with parameter type java.awt.Image

PixelGrabber.PixelGrabber(Image img, int x, int y, int w, int h, boolean forceRGB)
Construct a PixelGrabber that will retrieve data from a given Image.
PixelGrabber.PixelGrabber(Image img, int x, int y, int w, int h, pix[] , int off, int scansize)
Construct a PixelGrabber that will retrieve RGB data from a given Image.

Methods with parameter type java.awt.Image

boolean
ImageObserver.imageUpdate(Image image, int flags, int x, int y, int width, int height)
This is a callback method for an asynchronous image producer to provide updates on the production of the image as it happens.

Uses in package javax.swing.text.html

Methods with return type java.awt.Image

Image
Get the image to render.

Uses in package java.beans

Methods with return type java.awt.Image

Image
BeanInfo.getIcon(int iconType)
Get a visual icon for this Bean.
Image
SimpleBeanInfo.getIcon(int iconType)
Say that this Bean has no icons.
Image
Helper method to load an image using the Bean class getResource() method on the BeanInfo class (using getClass(), since you'll extend this class to get the BeanInfo).

Uses in package java.awt.font

Constructors with parameter type java.awt.Image

Constucts an instance from the specified Image.
ImageGraphicAttribute.ImageGraphicAttribute(Image image, int alignment, float originX, float originY)
Constucts an instance from the specified Image.

Uses in package java.awt.dnd

Constructors with parameter type java.awt.Image

Initializes a drag source context.

Methods with parameter type java.awt.Image

DragSourceContext
Creates the DragSourceContext to handle this drag.
void
DragGestureEvent.startDrag(Cursor dragCursor, Image dragImage, Point imageOffset, Transferable trans, DragSourceListener l)
Starts the drag given the initial Cursor to display, the Transferable object, and the DragSourceListener to use.
void
DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable trans, DragSourceListener dsl)
Start a drag, given the DragGestureEvent that initiated the drag.
void
DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable trans, DragSourceListener dsl, FlavorMap map)
Start a drag, given the DragGestureEvent that initiated the drag.

Uses in package java.applet

Methods with return type java.awt.Image

Image
Returns an image from the specified URL.
Image
Returns an image from the specified URL.
Image
Applet.getImage(URL url, String name)
Returns an image from the specified absolute URL, and relative path from that URL.

Uses in package javax.swing

Constructors with parameter type java.awt.Image

Creates an ImageIcon from the given Image without any description set.
ImageIcon.ImageIcon(Image image, String description)
Creates an ImageIcon from the given Image and sets the given description.

Fields of type java.awt.Image

Image
The backingstore image used for the backingstore and blit scroll methods.

Methods with parameter type java.awt.Image

Image
Create grayed image
boolean
DebugGraphics.drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color background, ImageObserver observer)
drawImage
boolean
DebugGraphics.drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
drawImage
boolean
DebugGraphics.drawImage(Image image, int x, int y, int width, int height, Color background, ImageObserver observer)
drawImage
boolean
DebugGraphics.drawImage(Image image, int x, int y, int width, int height, ImageObserver observer)
drawImage
boolean
DebugGraphics.drawImage(Image image, int x, int y, Color background, ImageObserver observer)
drawImage
boolean
DebugGraphics.drawImage(Image image, int x, int y, ImageObserver observer)
drawImage
boolean
AbstractButton.imageUpdate(Image img, int infoflags, int x, int y, int w, int h)
Called when image data becomes available for one of the button's icons.
boolean
JLabel.imageUpdate(Image img, int infoflags, int x, int y, int w, int h)
Returns false if the current icon image (current icon will depend on whether the label is enabled) is not equal to the passed in image.
void
Loads the image and blocks until the loading operation is finished.
void
Explicitly sets the backing Image for this ImageIcon.

Methods with return type java.awt.Image

Image
Create grayed image
Image
Returns the backing Image for this ImageIcon.
Image
RepaintManager.getOffscreenBuffer(Component component, int proposedWidth, int proposedHeight)
Get an offscreen buffer for painting a component's image.
Image
RepaintManager.getVolatileOffscreenBuffer(Component comp, int proposedWidth, int proposedHeight)
Creates and returns a volatile offscreen buffer for the specified component that can be used as a double buffer.