uk.co.mmscomputing.device.twain
Class TwainBufferedImage

java.lang.Object
  extended by java.awt.Image
      extended by java.awt.image.BufferedImage
          extended by uk.co.mmscomputing.device.twain.TwainBufferedImage
All Implemented Interfaces:
java.awt.image.RenderedImage, java.awt.image.WritableRenderedImage, java.awt.Transparency

public class TwainBufferedImage
extends java.awt.image.BufferedImage


Field Summary
 
Fields inherited from class java.awt.image.BufferedImage
TYPE_3BYTE_BGR, TYPE_4BYTE_ABGR, TYPE_4BYTE_ABGR_PRE, TYPE_BYTE_BINARY, TYPE_BYTE_GRAY, TYPE_BYTE_INDEXED, TYPE_CUSTOM, TYPE_INT_ARGB, TYPE_INT_ARGB_PRE, TYPE_INT_BGR, TYPE_INT_RGB, TYPE_USHORT_555_RGB, TYPE_USHORT_565_RGB, TYPE_USHORT_GRAY
 
Fields inherited from class java.awt.Image
accelerationPriority, SCALE_AREA_AVERAGING, SCALE_DEFAULT, SCALE_FAST, SCALE_REPLICATE, SCALE_SMOOTH, UndefinedProperty
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
TwainBufferedImage(int width, int height, int type)
           
TwainBufferedImage(int width, int height, int type, java.awt.image.IndexColorModel cm)
           
 
Method Summary
 byte[] getBuffer()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.String[] getPropertyNames()
           
 
Methods inherited from class java.awt.image.BufferedImage
addTileObserver, coerceData, copyData, createGraphics, getAlphaRaster, getColorModel, getData, getData, getGraphics, getHeight, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getRaster, getRGB, getRGB, getSampleModel, getSource, getSources, getSubimage, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getTransparency, getType, getWidth, getWidth, getWritableTile, getWritableTileIndices, hasTileWriters, isAlphaPremultiplied, isTileWritable, releaseWritableTile, removeTileObserver, setData, setRGB, setRGB, toString
 
Methods inherited from class java.awt.Image
flush, getAccelerationPriority, getCapabilities, getScaledInstance, setAccelerationPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TwainBufferedImage

public TwainBufferedImage(int width,
                          int height,
                          int type)

TwainBufferedImage

public TwainBufferedImage(int width,
                          int height,
                          int type,
                          java.awt.image.IndexColorModel cm)
Method Detail

getBuffer

public byte[] getBuffer()

getProperty

public java.lang.Object getProperty(java.lang.String name)
Specified by:
getProperty in interface java.awt.image.RenderedImage
Overrides:
getProperty in class java.awt.image.BufferedImage

getPropertyNames

public java.lang.String[] getPropertyNames()
Specified by:
getPropertyNames in interface java.awt.image.RenderedImage
Overrides:
getPropertyNames in class java.awt.image.BufferedImage


Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.