org.gnu.gdk
Class Drawable

java.lang.Object
  |
  +--org.gnu.glib.GObject
        |
        +--org.gnu.gdk.Drawable
Direct Known Subclasses:
Bitmap, Pixmap, Window

public class Drawable
extends GObject


Constructor Summary
Drawable(int handle)
           
 
Method Summary
 Region getClipRegion()
           
 Colormap getColormap()
           
 int getDepth()
           
 Image getImage(int x, int y, int width, int height)
           
 Dimension getSize()
           
 Region getVisibleRegion()
           
 Visual getVisual()
           
 void setColormap(Colormap cmap)
           
 
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

Drawable

public Drawable(int handle)
Method Detail

getSize

public Dimension getSize()

setColormap

public void setColormap(Colormap cmap)

getColormap

public Colormap getColormap()

getVisual

public Visual getVisual()

getDepth

public int getDepth()

getImage

public Image getImage(int x,
                      int y,
                      int width,
                      int height)

getClipRegion

public Region getClipRegion()

getVisibleRegion

public Region getVisibleRegion()

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