TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.igc.awt.internal
Class AWTImage

java.lang.Object
  extended by org.eclipse.tptp.platform.report.igc.awt.internal.AWTImage
All Implemented Interfaces:
IImage

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class AWTImage
extends java.lang.Object
implements IImage

Implementation of IImage encapsulating an awt's Image.


Field Summary
protected  java.awt.Image image_
          Deprecated.  
protected  java.awt.image.ImageObserver observer_
          Deprecated.  
protected  ImageProxy proxy_
          Deprecated.  
 
Constructor Summary
AWTImage(java.awt.Image _image, java.awt.image.ImageObserver obs)
          Deprecated.  
AWTImage(java.awt.Image _image, ImageProxy proxy)
          Deprecated.  
 
Method Summary
 void disposeImage()
          Deprecated. release SWT image
 int getHeight()
          Deprecated.  
 java.awt.Image getImage()
          Deprecated.  
 int getPixel(int x, int y)
          Deprecated.  
 ImageProxy getProxy()
          Deprecated.  
 int getWidth()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

image_

protected java.awt.Image image_
Deprecated. 

observer_

protected java.awt.image.ImageObserver observer_
Deprecated. 

proxy_

protected ImageProxy proxy_
Deprecated. 
Constructor Detail

AWTImage

public AWTImage(java.awt.Image _image,
                java.awt.image.ImageObserver obs)
Deprecated. 

AWTImage

public AWTImage(java.awt.Image _image,
                ImageProxy proxy)
Deprecated. 
Method Detail

getImage

public java.awt.Image getImage()
Deprecated. 
Returns:
encapsulated swt's image

getProxy

public ImageProxy getProxy()
Deprecated. 

disposeImage

public void disposeImage()
Deprecated. 
release SWT image


getWidth

public int getWidth()
Deprecated. 
Specified by:
getWidth in interface IImage
Returns:
the width of image in pixel

getHeight

public int getHeight()
Deprecated. 
Specified by:
getHeight in interface IImage
Returns:
the height of image in pixel

getPixel

public int getPixel(int x,
                    int y)
Deprecated. 
Specified by:
getPixel in interface IImage
Returns:
pixel color using RGBA definition at given location. return transparent color (0) outside

TPTP 4.5.0 Platform Project
Internal API Specification