|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gdk.Drawable
org.gnu.gdk.Pixmap
org.gnome.gdk.Pixmap.
public class Pixmap
A Pixmap is an offscreen drawable. It can be drawn upon with the standard drawing primitives, then copied to another Drawable.
| Constructor Summary | |
|---|---|
Pixmap(Drawable drawable,
Bitmap mask,
Color transparent,
byte[] data)
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. |
|
Pixmap(Drawable drawable,
Bitmap mask,
Color transparent,
java.lang.String filename)
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. |
|
Pixmap(Drawable drawable,
byte[] data,
int width,
int height,
int depth,
Color fg,
Color bg)
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. |
|
Pixmap(Drawable drawable,
Colormap colormap,
Bitmap mask,
Color transparent,
byte[] data)
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. |
|
Pixmap(Drawable drawable,
Colormap colormap,
Bitmap mask,
Color transparent,
java.lang.String filename)
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. |
|
Pixmap(Drawable drawable,
int width,
int height,
int depth)
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. |
|
| Method Summary | |
|---|---|
static org.gnu.glib.Type |
getType()
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. |
| Methods inherited from class org.gnu.glib.GObject |
|---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify |
| Methods inherited from class org.gnu.glib.Struct |
|---|
equals, getHandle, getNullHandle, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pixmap(Drawable drawable,
int width,
int height,
int depth)
drawable - A Drawable, used to determine default values for the new
pixmap. Can be null if depth is specified.width - The width of the new pixmap in pixels.height - The height of the new pixmap in pixels.depth - The depth (number of bits per pixel) of the new pixmap. If
-1, and drawable is not null,
the depth of the new pixmap will be equal to that of drawable.
java.lang.IllegalArgumentException - If drawable is null and depth is -1
public Pixmap(Drawable drawable,
byte[] data,
int width,
int height,
int depth,
Color fg,
Color bg)
drawable - a Drawable, used to determine default values for the new
pixmap. Can be null, in which case the root
window is used.data - the pixmap data.width - the width of the new pixmap in pixels.height - the height of the new pixmap in pixels.depth - the depth (number of bits per pixel) of the new pixmap.fg - the foreground color.bg - the background color.
public Pixmap(Drawable drawable,
Bitmap mask,
Color transparent,
java.lang.String filename)
drawable - a Drawable, used to determine default values for the new
pixmap.mask - object where to store a bitmap representing the transparency
mask of the XPM file. Can be null, in which
case transparency will be ignored.transparent - the color to be used for the pixels that are transparent in
the input file. Can be null, in which case a
default color will be used.filename - the filename of a file containing XPM data.
public Pixmap(Drawable drawable,
Colormap colormap,
Bitmap mask,
Color transparent,
java.lang.String filename)
drawable - a Drawable, used to determine default values for the new
pixmap. Can be null if colormap is given.colormap - the GdkColormap that the new pixmap will be use. If omitted,
the colormap for window will be used.mask - object where to store a bitmap representing the transparency
mask of the XPM file. Can be null, in which
case transparency will be ignored.transparent - the color to be used for the pixels that are transparent in
the input file. Can be null, in which case a
default color will be used.filename - the filename of a file containing XPM data.
public Pixmap(Drawable drawable,
Bitmap mask,
Color transparent,
byte[] data)
drawable - a Drawable, used to determine default values for the new
pixmap.mask - object where to store a bitmap representing the transparency
mask of the XPM file. Can be null, in which
case transparency will be ignored.transparent - the color to be used for the pixels that are transparent in
the input file. Can be null, in which case a
default color will be used.data - array containing the the XPM data.
public Pixmap(Drawable drawable,
Colormap colormap,
Bitmap mask,
Color transparent,
byte[] data)
drawable - a Drawable, used to determine default values for the new
pixmap. Can be null if colormap is given.colormap - the GdkColormap that the new pixmap will be use. If omitted,
the colormap for window will be used.mask - object where to store a bitmap representing the transparency
mask of the XPM file. Can be null, in which
case transparency will be ignored.transparent - the color to be used for the pixels that are transparent in
the input file. Can be null, in which case a
default color will be used.data - array containing the the XPM data.| Method Detail |
|---|
public static org.gnu.glib.Type getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||