FileDocCategorySizeDatePackage
AwtImageBackdoorAccessor.javaAPI DocAndroid 1.5 API2403Wed May 06 22:41:54 BST 2009org.apache.harmony.awt.gl

AwtImageBackdoorAccessor

public abstract class AwtImageBackdoorAccessor extends Object
This class give an opportunity to get access to private data of some java.awt.image classes Implementation of this class placed in java.awt.image package

Fields Summary
protected static AwtImageBackdoorAccessor
inst
Constructors Summary
Methods Summary
public abstract voidaddDataBufferListener(java.awt.image.DataBuffer db, org.apache.harmony.awt.gl.image.DataBufferListener listener)

public abstract java.lang.ObjectgetData(java.awt.image.DataBuffer db)

public abstract byte[]getDataByte(java.awt.image.DataBuffer db)

public abstract double[]getDataDouble(java.awt.image.DataBuffer db)

public abstract float[]getDataFloat(java.awt.image.DataBuffer db)

public abstract int[]getDataInt(java.awt.image.DataBuffer db)

public abstract short[]getDataShort(java.awt.image.DataBuffer db)

public abstract short[]getDataUShort(java.awt.image.DataBuffer db)

public abstract SurfacegetImageSurface(java.awt.Image image)

public static org.apache.harmony.awt.gl.AwtImageBackdoorAccessorgetInstance()

        // First we need to run the static initializer in the DataBuffer class to resolve inst.
        new DataBufferInt(0);
        return inst;
    
public abstract booleanisGrayPallete(java.awt.image.IndexColorModel icm)

public abstract voidreleaseData(java.awt.image.DataBuffer db)

public abstract voidremoveDataBufferListener(java.awt.image.DataBuffer db)

public abstract voidvalidate(java.awt.image.DataBuffer db)