Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
org.gnu.gdk.Visual
public class Visual
extends GObject
Method Summary | |
static int |
|
static VisualType |
|
int | |
int | |
int | |
int | |
ByteOrder | |
int | |
int |
|
int | |
int | |
int | |
int | |
int | |
int | |
Screen | |
static Visual |
|
static Visual |
|
static Visual |
|
static Visual |
|
static Visual |
|
public static int getBestDepth()
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.
Get the best available depth for the default GDK display. "Best" means "largest," i.e. 32 preferred over 24 preferred over 8 bits per pixel.
public static VisualType getBestVisualType()
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.
Return the best available visual type (the one with the most colors) for the default GDK display.
public int getBitsPerRGB()
public int getBlueMask()
public int getBluePrec()
public int getBlueShift()
public int getColormapSize()
public int getDepth()
public int getGreenMask()
public int getGreenPrec()
public int getGreenShift()
public int getRedMask()
public int getRedPrec()
public int getRedShift()
public static Visual getSystemVisual()
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.
Get the default or system visual for the default GDK display. This is the visual for the root window of the display.
public static Visual getVisual()
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.
Get the visual with the most available colors for the default GDK display.
public static Visual getVisual(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.
Get the best visual with depth depth for the default GDK display. Color visuals and visuals with mutable colormaps are preferred over grayscale or fixed-colormap visuals. NULL may be returned if no visual supports depth.
public static Visual getVisual(int depth, VisualType vt)
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.
Combines getVisual(int depth) and getVisual(VisualType vt).
public static Visual getVisual(VisualType vt)
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.
Get the best visual of the given visual_type for the default GDK display. Visuals with higher color depths are considered better. NULL may be returned if no visual has type visual_type.