|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SK.gnome.twain.TwainImage
public class TwainImage
Image memory buffer class.
Field Summary |
---|
Fields inherited from interface java.awt.image.ImageConsumer |
---|
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT |
Constructor Summary | |
---|---|
TwainImage(java.awt.image.ImageProducer producer)
Deprecated. |
Method Summary | |
---|---|
void |
addConsumer(java.awt.image.ImageConsumer consumer)
Deprecated. This method is used to register an ImageConsumer with the ImageProducer for access to the image data during a later reconstruction of the Image. |
void |
imageComplete(int status)
Deprecated. Not used. |
boolean |
isConsumer(java.awt.image.ImageConsumer consumer)
Deprecated. This method determines if a given ImageConsumer object is currently registered with this ImageProducer as one of its consumers. |
void |
removeConsumer(java.awt.image.ImageConsumer consumer)
Deprecated. This method removes the given ImageConsumer object from the list of consumers currently registered to receive image data. |
void |
requestTopDownLeftRightResend(java.awt.image.ImageConsumer consumer)
Deprecated. Not used. |
void |
setColorModel(java.awt.image.ColorModel colorModel)
Deprecated. The ColorModel object used for the majority of the pixels reported using the setPixels method calls. |
void |
setDimensions(int width,
int height)
Deprecated. The dimensions of the source image are reported using the setDimensions method call. |
void |
setHints(int hints)
Deprecated. The ImageProducer can deliver the pixels in any order, but the ImageConsumer may be able to scale or convert the pixels to the destination ColorModel more efficiently or with higher quality if it knows some information about how the pixels will be delivered up front. |
void |
setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
byte[] pixels,
int off,
int scansize)
Deprecated. The pixels of the image are delivered using one or more calls to the setPixels method. |
void |
setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
int[] pixels,
int off,
int scansize)
Deprecated. The pixels of the image are delivered using one or more calls to the setPixels method. |
void |
setProperties(java.util.Hashtable props)
Deprecated. Not used. |
void |
startProduction(java.awt.image.ImageConsumer consumer)
Deprecated. This method both registers the given ImageConsumer object as a consumer and starts an immediate reconstruction of the image data which will then be delivered to this consumer and any other consumer which may have already been registered with the producer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TwainImage(java.awt.image.ImageProducer producer)
Method Detail |
---|
public void imageComplete(int status)
imageComplete
in interface java.awt.image.ImageConsumer
public void setColorModel(java.awt.image.ColorModel colorModel)
setColorModel
in interface java.awt.image.ImageConsumer
public void setDimensions(int width, int height)
setDimensions
in interface java.awt.image.ImageConsumer
public void setHints(int hints)
setHints
in interface java.awt.image.ImageConsumer
public void setPixels(int x, int y, int w, int h, java.awt.image.ColorModel model, byte[] pixels, int off, int scansize)
setPixels
in interface java.awt.image.ImageConsumer
public void setPixels(int x, int y, int w, int h, java.awt.image.ColorModel model, int[] pixels, int off, int scansize)
setPixels
in interface java.awt.image.ImageConsumer
public void setProperties(java.util.Hashtable props)
setProperties
in interface java.awt.image.ImageConsumer
public void addConsumer(java.awt.image.ImageConsumer consumer)
addConsumer
in interface java.awt.image.ImageProducer
startProduction(java.awt.image.ImageConsumer)
public boolean isConsumer(java.awt.image.ImageConsumer consumer)
isConsumer
in interface java.awt.image.ImageProducer
public void removeConsumer(java.awt.image.ImageConsumer consumer)
removeConsumer
in interface java.awt.image.ImageProducer
public void startProduction(java.awt.image.ImageConsumer consumer)
startProduction
in interface java.awt.image.ImageProducer
addConsumer(java.awt.image.ImageConsumer)
public void requestTopDownLeftRightResend(java.awt.image.ImageConsumer consumer)
requestTopDownLeftRightResend
in interface java.awt.image.ImageProducer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |