|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV NEXT | ||||||||
Uses of Class
java.awt.Image
| Uses of Image in java.awt |
| Fields in java.awt declared as Image | |
protected Image |
Component.FlipBufferStrategy.drawBuffer
An Image reference to the drawing buffer. |
private Image |
Frame.icon
|
(package private) Image |
MediaTracker.MediaEntry.image
The media object. |
| Methods in java.awt that return Image | |
Image |
Component.createImage(java.awt.image.ImageProducer producer)
Creates an image from the specified producer. |
Image |
Component.createImage(int width,
int height)
Creates an image with the specified width and height for use in double buffering. |
protected Image |
Component.FlipBufferStrategy.getBackBuffer()
Return a direct reference to the back buffer image. |
Image |
Frame.getIconImage()
Returns this frame's icon. |
abstract Image |
Toolkit.getImage(java.lang.String name)
Returns an image from the specified file, which must be in a recognized format. |
abstract Image |
Toolkit.getImage(java.net.URL url)
Returns an image from the specified URL, which must be in a recognized format. |
abstract Image |
Toolkit.createImage(java.lang.String filename)
|
abstract Image |
Toolkit.createImage(java.net.URL url)
|
abstract Image |
Toolkit.createImage(java.awt.image.ImageProducer producer)
Creates an image using the specified ImageProducer |
Image |
Toolkit.createImage(byte[] data)
Creates an image from the specified byte array. |
abstract Image |
Toolkit.createImage(byte[] data,
int offset,
int len)
Creates an image from the specified portion of the byte array passed. |
Image |
Image.getScaledInstance(int width,
int height,
int flags)
Scales the image to the requested dimension. |
| Methods in java.awt with parameters of type Image | |
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,
java.awt.image.ImageObserver observer)
Prepares the specified image for rendering on this component. |
boolean |
Component.prepareImage(Image image,
int width,
int height,
java.awt.image.ImageObserver observer)
Prepares the specified image for rendering on this component at the specified scaled width and height |
int |
Component.checkImage(Image image,
java.awt.image.ImageObserver observer)
Returns the status of the loading of the specified image. |
int |
Component.checkImage(Image image,
int width,
int height,
java.awt.image.ImageObserver observer)
Returns the status of the loading of the specified image. |
void |
Frame.setIconImage(Image icon)
Sets this frame's icon to the specified value. |
abstract boolean |
Toolkit.prepareImage(Image image,
int width,
int height,
java.awt.image.ImageObserver observer)
Readies an image to be rendered on the screen. |
abstract int |
Toolkit.checkImage(Image image,
int width,
int height,
java.awt.image.ImageObserver observer)
Checks the status of specified image as it is being readied for rendering. |
Cursor |
Toolkit.createCustomCursor(Image cursor,
Point hotSpot,
java.lang.String name)
Creates a new custom cursor object. |
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. |
void |
MediaTracker.removeImage(Image image)
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. |
boolean |
MediaTracker.MediaEntry.imageUpdate(Image img,
int flags,
int x,
int y,
int width,
int height)
Receives notification from an java.awt.image.ImageProducer that more data of the image is available. |
abstract boolean |
Graphics.drawImage(Image image,
int x,
int y,
java.awt.image.ImageObserver observer)
Draws all of the image that is available and returns. |
abstract boolean |
Graphics.drawImage(Image image,
int x,
int y,
int width,
int height,
java.awt.image.ImageObserver observer)
Draws all of the image that is available and returns. |
abstract boolean |
Graphics.drawImage(Image image,
int x,
int y,
Color bgcolor,
java.awt.image.ImageObserver observer)
Draws all of the image that is available and returns. |
abstract boolean |
Graphics.drawImage(Image image,
int x,
int y,
int width,
int height,
Color bgcolor,
java.awt.image.ImageObserver observer)
Draws all of the image that is available and returns. |
abstract boolean |
Graphics.drawImage(Image image,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
java.awt.image.ImageObserver observer)
FIXME: Write Javadocs for this when you understand it. |
abstract boolean |
Graphics.drawImage(Image image,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
Color bgcolor,
java.awt.image.ImageObserver observer)
FIXME: Write Javadocs for this when you understand it. |
abstract boolean |
Graphics2D.drawImage(Image image,
java.awt.geom.AffineTransform xform,
java.awt.image.ImageObserver obs)
|
|
|||||||||
| Home >> All >> java >> [ awt overview ] | PREV NEXT | ||||||||