Top Description Fields Constructors Methods
sun.swing

public Class ImageIconUIResource

extends ImageIcon
implements UIResource
Class Inheritance
All Implemented Interfaces
javax.swing.plaf.UIResource
Annotations
@SuppressWarnings:serial
Imports
javax.swing.ImageIcon, javax.swing.plaf.UIResource, java.awt.Image

A subclass of ImageIcon that implements UIResource.
Author
Shannon Hickey

Field Summary

Inherited from javax.swing.ImageIcon:
componenttracker

Constructor Summary

AccessConstructor and Description
public
ImageIconUIResource(byte[]
an array of pixels
imageData
)

Calls the superclass constructor with the same parameter.

public
ImageIconUIResource(Image
an image
image
)

Calls the superclass constructor with the same parameter.

Method Summary

Inherited from javax.swing.ImageIcon:
getAccessibleContextgetDescriptiongetIconHeightgetIconWidthgetImagegetImageLoadStatusgetImageObserverloadImagepaintIconsetDescriptionsetImagesetImageObservertoString

Constructor Detail

ImageIconUIResourceback to summary
public ImageIconUIResource(byte[] imageData)

Calls the superclass constructor with the same parameter.

Parameters
imageData:byte[]

an array of pixels

See Also
javax.swing.ImageIcon#ImageIcon(byte[])
ImageIconUIResourceback to summary
public ImageIconUIResource(Image image)

Calls the superclass constructor with the same parameter.

Parameters
image:Image

an image

See Also
javax.swing.ImageIcon#ImageIcon(Image)