org.gnu.gdk

Class Image

public class Image extends GObject

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.gnome.gdk.Image.

Image represents an area for drawing graphics.
Constructor Summary
Image(Handle handle)
Image(ImageType type, Visual visual, int width, int height)
Create a new Image.
Method Summary
ColormapgetColormap()
Retrieves the colormap for a given image.
voidsetColormap(Colormap cmap)
Sets the colormap for the image.

Constructor Detail

Image

public Image(Handle handle)

Image

public Image(ImageType type, Visual visual, int width, int height)

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Create a new Image.

Method Detail

getColormap

public Colormap getColormap()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Retrieves the colormap for a given image.

setColormap

public void setColormap(Colormap cmap)

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Sets the colormap for the image.