|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.util.thumbnail.SimpleImageConsumer
public class SimpleImageConsumer
| Field Summary |
|---|
| Fields inherited from interface java.awt.image.ImageConsumer |
|---|
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT |
| Constructor Summary | |
|---|---|
SimpleImageConsumer()
|
|
| Method Summary | |
|---|---|
java.awt.image.BufferedImage |
getImage()
Fetch the image. |
void |
imageComplete(int status)
|
void |
setColorModel(java.awt.image.ColorModel model)
|
void |
setDimensions(int w,
int h)
Notification of the dimensions of the source image. |
void |
setHints(int flags)
Notification of load hints that may be useful. |
void |
setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
byte[] pixels,
int offset,
int scansize)
Notification of a bunch of pixel values in byte form. |
void |
setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
int[] pixels,
int offset,
int scansize)
Notification of a bunch of pixel values as ints. |
void |
setProperties(java.util.Hashtable props)
Notification of the properties of the image to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleImageConsumer()
| Method Detail |
|---|
public void imageComplete(int status)
imageComplete in interface java.awt.image.ImageConsumerpublic void setColorModel(java.awt.image.ColorModel model)
setColorModel in interface java.awt.image.ImageConsumer
public void setDimensions(int w,
int h)
setDimensions in interface java.awt.image.ImageConsumerw - The width of the source imageh - The height of the source imagepublic void setHints(int flags)
setHints in interface java.awt.image.ImageConsumerflags - The hints
public void setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
byte[] pixels,
int offset,
int scansize)
setPixels in interface java.awt.image.ImageConsumerx - The starting x position of the pixelsy - The starting y position of the pixelsw - The number of pixels in the widthh - The number of pixels in the heightmodel - The color model used with these pixel valuesoffset - The offset into the source array to copy fromscansize - The number of pixel values between rows
public void setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
int[] pixels,
int offset,
int scansize)
setPixels in interface java.awt.image.ImageConsumerx - The starting x position of the pixelsy - The starting y position of the pixelsw - The number of pixels in the widthh - The number of pixels in the heightmodel - The color model used with these pixel valuesoffset - The offset into the source array to copy fromscansize - The number of pixel values between rowspublic void setProperties(java.util.Hashtable props)
setProperties in interface java.awt.image.ImageConsumerprops - The map of properties for this imagepublic java.awt.image.BufferedImage getImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||