org.gnu.gdk
Class Image

java.lang.Object
  |
  +--org.gnu.glib.GObject
        |
        +--org.gnu.gdk.Image

public class Image
extends GObject

Image represents an area for drawing graphics.


Constructor Summary
Image(ImageType type, Visual visual, int width, int height)
          Create a new Image.
Image(int handle)
           
 
Method Summary
 Colormap getColormap()
          Retrieves the colormap for a given image.
 void setColormap(Colormap cmap)
          Sets the colormap for the image.
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image(int handle)

Image

public Image(ImageType type,
             Visual visual,
             int width,
             int height)
Create a new Image.

Method Detail

getColormap

public Colormap getColormap()
Retrieves the colormap for a given image.


setColormap

public void setColormap(Colormap cmap)
Sets the colormap for the image.


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net