visad.data
Class CachedBufferedByteImage

java.lang.Object
  extended by java.awt.Image
      extended by java.awt.image.BufferedImage
          extended by visad.data.CachedBufferedByteImage
All Implemented Interfaces:
RenderedImage, WritableRenderedImage, Transparency

public class CachedBufferedByteImage
extends BufferedImage

Class CachedBufferedByteImage _more_

Author:
IDV Development Team

Field Summary
static int cnt
          _more_
 
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
CachedBufferedByteImage(int width, int height, int type)
          _more_
 
Method Summary
 void bytesChanged(byte[] newByteData)
          _more_
 void finalize()
           
 byte[] getBytesFromCache()
          _more_
 int getHeight()
          _more_
 int getHeight(ImageObserver obs)
          _more_
 WritableRaster getRaster()
          _more_
 int getWidth()
          _more_
 int getWidth(ImageObserver obs)
          _more_
 boolean inMemory()
           
 
Methods inherited from class java.awt.image.BufferedImage
addTileObserver, coerceData, copyData, createGraphics, getAlphaRaster, getColorModel, getData, getData, getGraphics, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getProperty, getPropertyNames, getRGB, getRGB, getSampleModel, getSource, getSources, getSubimage, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getTransparency, getType, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cnt

public static int cnt
_more_

Constructor Detail

CachedBufferedByteImage

public CachedBufferedByteImage(int width,
                               int height,
                               int type)
_more_

Parameters:
width - _more_
height - _more_
type - _more_
Method Detail

bytesChanged

public void bytesChanged(byte[] newByteData)
_more_

Parameters:
newByteData - _more_

finalize

public void finalize()
              throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

inMemory

public boolean inMemory()

getBytesFromCache

public byte[] getBytesFromCache()
_more_

Returns:
_more_

getHeight

public int getHeight()
_more_

Specified by:
getHeight in interface RenderedImage
Overrides:
getHeight in class BufferedImage
Returns:
_more_

getWidth

public int getWidth()
_more_

Specified by:
getWidth in interface RenderedImage
Overrides:
getWidth in class BufferedImage
Returns:
_more_

getHeight

public int getHeight(ImageObserver obs)
_more_

Overrides:
getHeight in class BufferedImage
Parameters:
obs - _more_
Returns:
_more_

getWidth

public int getWidth(ImageObserver obs)
_more_

Overrides:
getWidth in class BufferedImage
Parameters:
obs - _more_
Returns:
_more_

getRaster

public WritableRaster getRaster()
_more_

Overrides:
getRaster in class BufferedImage
Returns:
_more_