|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--java.awt.Image
The image class is an abstract class. The image must be obtained in a platform specific way.
| Field Summary | |
static Object |
UndefinedProperty
The UndefinedProperty object should be returned whenever a property which was not defined for a particular image is fetched. |
| Constructor Summary | |
Image()
|
|
| Method Summary | |
abstract void |
flush()
Flushes all resources being used by this Image object. |
abstract Graphics |
getGraphics()
Gets a graphics object to draw into this image. |
abstract int |
getHeight(java.awt.image.ImageObserver observer)
Gets the actual height of the image. |
abstract Object |
getProperty(String name,
java.awt.image.ImageObserver observer)
Gets a property of the image by name. |
abstract java.awt.image.ImageProducer |
getSource()
Gets the object that produces the pixels for the image. |
abstract int |
getWidth(java.awt.image.ImageObserver observer)
Gets the actual width of the image. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Object UndefinedProperty
| Constructor Detail |
public Image()
| Method Detail |
public abstract int getWidth(java.awt.image.ImageObserver observer)
getHeight(java.awt.image.ImageObserver),
ImageObserverpublic abstract int getHeight(java.awt.image.ImageObserver observer)
getWidth(java.awt.image.ImageObserver),
ImageObserverpublic abstract java.awt.image.ImageProducer getSource()
ImageProducerpublic abstract Graphics getGraphics()
Graphics
public abstract Object getProperty(String name,
java.awt.image.ImageObserver observer)
ImageObserver,
UndefinedPropertypublic abstract void flush()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||