|
|||||||||
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.Visual
public class Visual
Describes a particular video hardware display format. It includes information about the number of bits used for each color, the way the bits are translated into an RGB value for display, and the way the bits are stored in memory.
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(int depth,
VisualType vt)
Combines getVisual(int depth) and getVisual(VisualType vt). |
static Visual |
getVisual(VisualType vt)
Get the best visual of the given visual_type for the default GDK display. |
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 |
Method Detail |
---|
public static int getBestDepth()
public static VisualType getBestVisualType()
public static Visual getSystemVisual()
public static Visual getVisual()
public static Visual getVisual(int depth)
public static Visual getVisual(VisualType vt)
public static Visual getVisual(int depth, VisualType vt)
public int getDepth()
public ByteOrder getByteOrder()
public int getColormapSize()
public int getBitsPerRGB()
public int getRedMask()
public int getRedShift()
public int getRedPrec()
public int getGreenMask()
public int getGreenShift()
public int getGreenPrec()
public int getBlueMask()
public int getBlueShift()
public int getBluePrec()
public Screen getScreen()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |