| Package | Description |
|---|---|
| java.applet |
Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.
|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
|
| java.awt.font |
Provides classes and interface relating to fonts.
|
| java.awt.im.spi |
Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.
|
| java.awt.image |
Provides classes for creating and modifying images.
|
| java.beans |
Contains classes related to developing
beans -- components based on the JavaBeans™ architecture.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating HTML text editors.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
Applet.getImage(URL
Returns an
Image object that can then be painted on the screen.
|
Image |
AppletContext.getImage(URL
Returns an
Image object that can then be painted on the screen.
|
Image |
Applet.getImage(URL
Returns an
Image object that can then be painted on the screen.
|
| Modifier and Type | Field and Description |
|---|---|
protected Image |
Component.FlipBufferStrategy.drawBuffer
The drawing buffer
|
| Modifier and Type | Method and Description |
|---|---|
Image |
Toolkit.createImage(byte[] imagedata)
Creates an image which decodes the image stored in the specified byte array.
|
abstract Image |
Toolkit.createImage(byte[] imagedata, int imageoffset, int imagelength)
Creates an image which decodes the image stored in the specified byte array, and at the specified offset and length.
|
abstract Image |
Toolkit.createImage(ImageProducer
Creates an image with the specified image producer.
|
Image |
Component.createImage(ImageProducer
Creates an image from the specified image producer.
|
Image |
Component.createImage(int width, int height)
Creates an off-screen drawable image to be used for double buffering.
|
abstract Image |
Toolkit.createImage(String
Returns an image which gets pixel data from the specified file.
|
abstract Image |
Toolkit.createImage(URL
Returns an image which gets pixel data from the specified URL.
|
protected Image |
Component.FlipBufferStrategy.getBackBuffer()
|
Image |
Frame.getIconImage()
Returns the image to be displayed as the icon for this frame.
|
Image |
TrayIcon.getImage()
Returns the current image used for this
TrayIcon.
|
abstract Image |
Toolkit.getImage(String
Returns an image which gets pixel data from the specified file, whose format can be either GIF, JPEG or PNG.
|
abstract Image |
Toolkit.getImage(URL
Returns an image which gets pixel data from the specified URL.
|
Image |
Image.getScaledInstance(int width, int height, int hints)
Creates a scaled version of this image.
|
| Modifier and Type | Method and Description |
|---|---|
List |
Window.getIconImages()
Returns the sequence of images to be displayed as the icon for this window.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MediaTracker.addImage(Image
Adds an image to the list of images being tracked by this media tracker.
|
void |
MediaTracker.addImage(Image
Adds a scaled image to the list of images being tracked by this media tracker.
|
int |
Component.checkImage(Image
Returns the status of the construction of a screen representation of the specified image.
|
abstract int |
Toolkit.checkImage(Image
Indicates the construction status of a specified image that is being prepared for display.
|
int |
Component.checkImage(Image
Returns the status of the construction of a screen representation of the specified image.
|
Cursor |
Toolkit.createCustomCursor(Image
Creates a new custom cursor object.
|
abstract boolean |
Graphics2D.drawImage(Image
Renders an image, applying a transform from image space into user space before drawing.
|
abstract boolean |
Graphics.drawImage(Image
Draws as much of the specified image as is currently available.
|
abstract boolean |
Graphics.drawImage(Image
Draws as much of the specified image as is currently available.
|
abstract boolean |
Graphics.drawImage(Image
Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
|
abstract boolean |
Graphics.drawImage(Image
Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
|
abstract boolean |
Graphics.drawImage(Image
Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
|
abstract boolean |
Graphics.drawImage(Image
Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
|
boolean |
Component.imageUpdate(Image
Repaints the component when the image has changed.
|
boolean |
Component.prepareImage(Image
Prepares an image for rendering on this component.
|
abstract boolean |
Toolkit.prepareImage(Image
Prepares an image for rendering.
|
boolean |
Component.prepareImage(Image
Prepares an image for rendering on this component at the specified width and height.
|
void |
MediaTracker.removeImage(Image
Removes the specified image from this media tracker.
|
void |
MediaTracker.removeImage(Image
Removes the specified image from the specified tracking ID of this media tracker.
|
void |
MediaTracker.removeImage(Image
Removes the specified image with the specified width, height, and ID from this media tracker.
|
void |
Window.setIconImage(Image
Sets the image to be displayed as the icon for this window.
|
void |
Frame.setIconImage(Image
Sets the image to be displayed as the icon for this window.
|
void |
TrayIcon.setImage(Image
Sets the image for this
TrayIcon.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Window.setIconImages(List
Sets the sequence of images to be displayed as the icon for this window.
|
| Constructor and Description | |
|---|---|
TrayIcon(Image
Creates a
TrayIcon with the specified image.
|
|
TrayIcon(Image
Creates a
TrayIcon with the specified image and tooltip text.
|
|
TrayIcon(Image
Creates a
TrayIcon with the specified image, tooltip and popup menu.
|
| Modifier and Type | Method and Description |
|---|---|
protected DragSourceContext |
DragSource.createDragSourceContext(java
Creates the
DragSourceContext to handle the current drag operation.
|
void |
DragGestureEvent.startDrag(Cursor
Start the drag given the initial
Cursor to display, a drag
Image, the offset of the
Image, the
Transferable object, and the
DragSourceListener to use.
|
void |
DragSource.startDrag(DragGestureEvent
Start a drag, given the
DragGestureEvent that initiated the drag, the initial
Cursor to use, the
Image to drag, the offset of the
Image origin from the hotspot of the
Cursor at the instant of the trigger, the subject data of the drag, and the
DragSourceListener.
|
void |
DragSource.startDrag(DragGestureEvent
Start a drag, given the
DragGestureEvent that initiated the drag, the initial
Cursor to use, the
Image to drag, the offset of the
Image origin from the hotspot of the
Cursor at the instant of the trigger, the
Transferable subject data of the drag, the
DragSourceListener, and the
FlavorMap.
|
| Constructor and Description | |
|---|---|
DragSourceContext(java
Called from
DragSource, this constructor creates a new
DragSourceContext given the
DragSourceContextPeer for this Drag, the
DragGestureEvent that triggered the Drag, the initial
Cursor to use for the Drag, an (optional)
Image to display while the Drag is taking place, the offset of the
Image origin from the hotspot at the instant of the triggering event, the
Transferable subject data, and the
DragSourceListener to use during the Drag and Drop operation.
|
| Constructor and Description | |
|---|---|
ImageGraphicAttribute(Image
Constucts an
ImageGraphicAttribute from the specified
Image.
|
|
ImageGraphicAttribute(Image
Constructs an
ImageGraphicAttribute from the specified
Image.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
InputMethodDescriptor.getInputMethodIcon(Locale
Returns an icon for the corresponding input method.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BufferedImage
The
BufferedImage subclass describes an
Image with an accessible buffer of image data.
|
class |
VolatileImage
VolatileImage is an image which can lose its contents at any time due to circumstances beyond the control of the application (e.g., situations caused by the operating system or by other applications).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ImageObserver.imageUpdate(Image
This method is called when information about an image which was previously requested using an asynchronous interface becomes available.
|
| Constructor and Description | |
|---|---|
PixelGrabber(Image
Create a PixelGrabber object to grab the (x, y, w, h) rectangular section of pixels from the specified image.
|
|
PixelGrabber(Image
Create a PixelGrabber object to grab the (x, y, w, h) rectangular section of pixels from the specified image into the given array.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
SimpleBeanInfo.getIcon(int iconKind)
Claim there are no icons available.
|
Image |
BeanInfo.getIcon(int iconKind)
Returns an image that can be used to represent the bean in toolboxes or toolbars.
|
Image |
SimpleBeanInfo.loadImage(String
This is a utility method to help in loading icon images.
|
| Modifier and Type | Field and Description |
|---|---|
protected Image |
JViewport.backingStoreImage
The view image used for a backing store.
|
| Modifier and Type | Method and Description |
|---|---|
static Image |
GrayFilter.createDisabledImage(Image
Creates a disabled image
|
Image |
TransferHandler.getDragImage()
Returns the drag image.
|
Image |
ImageIcon.getImage()
Returns this icon's
Image.
|
Image |
RepaintManager.getOffscreenBuffer(Component
Return the offscreen buffer that should be used as a double buffer with the component
c.
|
Image |
RepaintManager.getVolatileOffscreenBuffer(Component
Return a volatile offscreen buffer that should be used as a double buffer with the specified component
c.
|
| Modifier and Type | Method and Description |
|---|---|
static Image |
GrayFilter.createDisabledImage(Image
Creates a disabled image
|
boolean |
DebugGraphics.drawImage(Image
Overrides
Graphics.drawImage.
|
boolean |
DebugGraphics.drawImage(Image
Overrides
Graphics.drawImage.
|
boolean |
DebugGraphics.drawImage(Image
Overrides
Graphics.drawImage.
|
boolean |
DebugGraphics.drawImage(Image
Overrides
Graphics.drawImage.
|
boolean |
DebugGraphics.drawImage(Image
Overrides
Graphics.drawImage.
|
boolean |
DebugGraphics.drawImage(Image
Overrides
Graphics.drawImage.
|
boolean |
JLabel.imageUpdate(Image
This is overridden to return false if the current Icon's Image is not equal to the passed in Image
img.
|
boolean |
JSlider.imageUpdate(Image
Repaints the component when the image has changed.
|
boolean |
AbstractButton.imageUpdate(Image
This is overridden to return false if the current
Icon's
Image is not equal to the passed in
Image
img.
|
protected void |
ImageIcon.loadImage(Image
Loads the image, returning only when the image is loaded.
|
void |
TransferHandler.setDragImage(Image
Sets the drag image parameter.
|
void |
JFrame.setIconImage(Image
Sets the image to be displayed as the icon for this window.
|
void |
ImageIcon.setImage(Image
Sets the image displayed by this icon.
|
| Constructor and Description | |
|---|---|
ImageIcon(Image
Creates an ImageIcon from an image object.
|
|
ImageIcon(Image
Creates an ImageIcon from the image.
|
| Modifier and Type | Method and Description |
|---|---|
Image |
ImageView.getImage()
Returns the image to render.
|