org.gnu.gdk
public class Visual 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.Visual
.
Method Summary | |
---|---|
static int | getBestDepth()
Get the best available depth for the default GDK display. |
static VisualType | getBestVisualType()
Return the best available visual type (the one with the most colors) for
the default GDK display. |
int | getBitsPerRGB() |
int | getBlueMask() |
int | getBluePrec() |
int | getBlueShift() |
ByteOrder | getByteOrder() |
int | getColormapSize() |
int | getDepth() |
int | getGreenMask() |
int | getGreenPrec() |
int | getGreenShift() |
int | getRedMask() |
int | getRedPrec() |
int | getRedShift() |
Screen | getScreen() |
static Visual | getSystemVisual()
Get the default or system visual for the default GDK display. |
static Visual | getVisual()
Get the visual with the most available colors for the default GDK
display. |
static Visual | getVisual(int depth)
Get the best visual with depth depth for the default GDK display. |
static Visual | getVisual(VisualType vt)
Get the best visual of the given visual_type for the default GDK display.
|
static Visual | getVisual(int depth, VisualType vt)
Combines getVisual(int depth) and 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 available depth for the default GDK display. "Best" means "largest," i.e. 32 preferred over 24 preferred over 8 bits per pixel.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.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.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.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.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.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).