Image.getProperty

Image.getProperty

Class Overview | Class Members | This Package | All Packages

Syntax
public abstract Object getProperty( String name, ImageObserver observer )
Parameters
name
a property name.
observer
an object waiting for this image to be loaded.
Returns
the value of the named property.
Description
Gets a property of this image by name.

Individual property names are defined by the various image formats. If a property is not defined for a particular image, this method returns the UndefinedProperty object.

If the properties for this image are not yet known, this method returns null, and the ImageObserver object is notified later.

The property name "comment" should be used to store an optional comment which can be presented to the application as a description of the image, its source, or its author.

See Also
ImageObserver, UndefinedProperty