struct XVisualInfo {
Visual * visual;
VisualID visualid;
int screen;
int depth;
int class;
unsigned long red_mask;
unsigned long green_mask;
unsigned long blue_mask;
int colormap_size;
int bits_per_rgb;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XVisualInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BITS_PER_RGB
The struct member offsets. |
| public static final int | BLUE_MASK
The struct member offsets. |
| public static final int | CLASS
The struct member offsets. |
| public static final int | COLORMAP_SIZE
The struct member offsets. |
| public static final int | DEPTH
The struct member offsets. |
| public static final int | GREEN_MASK
The struct member offsets. |
| public static final int | RED_MASK
The struct member offsets. |
| public static final int | SCREEN
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VISUAL
The struct member offsets. |
| public static final int | VISUALID
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XVisualInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public XVisualInfo | |
| public long | |
| public XVisualInfo | |
| public static XVisualInfo | |
| public static XVisualInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XVisualInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XVisualInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XVisualInfo | |
| public static XVisualInfo | |
| public static XVisualInfo. | |
| public static XVisualInfo. | |
| public int | |
| public XVisualInfo | |
| public int | |
| public XVisualInfo | |
| protected XVisualInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XVisualInfo | |
| public static XVisualInfo | |
| public static XVisualInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static XVisualInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XVisualInfo | |
| public static XVisualInfo. | |
| public int | |
| public XVisualInfo | |
| public long | |
| public XVisualInfo | |
| public static XVisualInfo | |
| public static XVisualInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XVisualInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XVisualInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XVisualInfo | |
| public static XVisualInfo | |
| public static XVisualInfo. | |
| public static XVisualInfo. | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static Visual | |
| public static void | |
| public static long | |
| public static void | |
| public long | |
| public XVisualInfo | |
| public int | |
| public XVisualInfo | |
| public XVisualInfo | |
| public XVisualInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void | |
| public Visual | |
| public XVisualInfo | |
| public long | |
| public XVisualInfo |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BITS_PER_RGB | back to summary |
|---|---|
| public static final int BITS_PER_RGB The struct member offsets. | |
| BLUE_MASK | back to summary |
|---|---|
| public static final int BLUE_MASK The struct member offsets. | |
| CLASS | back to summary |
|---|---|
| public static final int CLASS The struct member offsets. | |
| COLORMAP_SIZE | back to summary |
|---|---|
| public static final int COLORMAP_SIZE The struct member offsets. | |
| DEPTH | back to summary |
|---|---|
| public static final int DEPTH The struct member offsets. | |
| GREEN_MASK | back to summary |
|---|---|
| public static final int GREEN_MASK The struct member offsets. | |
| RED_MASK | back to summary |
|---|---|
| public static final int RED_MASK The struct member offsets. | |
| SCREEN | back to summary |
|---|---|
| public static final int SCREEN The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VISUAL | back to summary |
|---|---|
| public static final int VISUAL The struct member offsets. | |
| VISUALID | back to summary |
|---|---|
| public static final int VISUALID The struct member offsets. | |
| XVisualInfo | back to summary |
|---|---|
| protected XVisualInfo(long address, ByteBuffer container) | |
| XVisualInfo | back to summary |
|---|---|
| public XVisualInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bits_per_rgb | back to summary |
|---|---|
public int bits_per_rgb()
| |
| bits_per_rgb | back to summary |
|---|---|
| public XVisualInfo bits_per_rgb(int value) Sets the specified value to the | |
| blue_mask | back to summary |
|---|---|
public long blue_mask()
| |
| blue_mask | back to summary |
|---|---|
| public XVisualInfo blue_mask(long value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static XVisualInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XVisualInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XVisualInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XVisualInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static XVisualInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static XVisualInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static XVisualInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static XVisualInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| class$ | back to summary |
|---|---|
public int class$()
| |
| class$ | back to summary |
|---|---|
| public XVisualInfo class$(int value) Sets the specified value to the | |
| colormap_size | back to summary |
|---|---|
public int colormap_size()
| |
| colormap_size | back to summary |
|---|---|
| public XVisualInfo colormap_size(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected XVisualInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XVisualInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static XVisualInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XVisualInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static XVisualInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XVisualInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XVisualInfo. Like
| |
| depth | back to summary |
|---|---|
public int depth()
| |
| depth | back to summary |
|---|---|
| public XVisualInfo depth(int value) Sets the specified value to the | |
| green_mask | back to summary |
|---|---|
public long green_mask()
| |
| green_mask | back to summary |
|---|---|
| public XVisualInfo green_mask(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XVisualInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XVisualInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XVisualInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XVisualInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static XVisualInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static XVisualInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static XVisualInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static XVisualInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbits_per_rgb | back to summary |
|---|---|
| public static int nbits_per_rgb(long struct) Unsafe version of | |
| nbits_per_rgb | back to summary |
|---|---|
| public static void nbits_per_rgb(long struct, int value) Unsafe version of | |
| nblue_mask | back to summary |
|---|---|
| public static long nblue_mask(long struct) Unsafe version of | |
| nblue_mask | back to summary |
|---|---|
| public static void nblue_mask(long struct, long value) Unsafe version of | |
| nclass$ | back to summary |
|---|---|
| public static int nclass$(long struct) Unsafe version of | |
| nclass$ | back to summary |
|---|---|
| public static void nclass$(long struct, int value) Unsafe version of | |
| ncolormap_size | back to summary |
|---|---|
| public static int ncolormap_size(long struct) Unsafe version of | |
| ncolormap_size | back to summary |
|---|---|
| public static void ncolormap_size(long struct, int value) Unsafe version of | |
| ndepth | back to summary |
|---|---|
| public static int ndepth(long struct) Unsafe version of | |
| ndepth | back to summary |
|---|---|
| public static void ndepth(long struct, int value) Unsafe version of | |
| ngreen_mask | back to summary |
|---|---|
| public static long ngreen_mask(long struct) Unsafe version of | |
| ngreen_mask | back to summary |
|---|---|
| public static void ngreen_mask(long struct, long value) Unsafe version of | |
| nred_mask | back to summary |
|---|---|
| public static long nred_mask(long struct) Unsafe version of | |
| nred_mask | back to summary |
|---|---|
| public static void nred_mask(long struct, long value) Unsafe version of | |
| nscreen | back to summary |
|---|---|
| public static int nscreen(long struct) Unsafe version of | |
| nscreen | back to summary |
|---|---|
| public static void nscreen(long struct, int value) Unsafe version of | |
| nvisual | back to summary |
|---|---|
| public static Visual nvisual(long struct) Unsafe version of | |
| nvisual | back to summary |
|---|---|
| public static void nvisual(long struct, Visual value) Unsafe version of | |
| nvisualid | back to summary |
|---|---|
| public static long nvisualid(long struct) Unsafe version of | |
| nvisualid | back to summary |
|---|---|
| public static void nvisualid(long struct, long value) Unsafe version of | |
| red_mask | back to summary |
|---|---|
public long red_mask()
| |
| red_mask | back to summary |
|---|---|
| public XVisualInfo red_mask(long value) Sets the specified value to the | |
| screen | back to summary |
|---|---|
public int screen()
| |
| screen | back to summary |
|---|---|
| public XVisualInfo screen(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XVisualInfo set(Visual visual, long visualid, int screen, int depth, int class$, long red_mask, long green_mask, long blue_mask, int colormap_size, int bits_per_rgb) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XVisualInfo set(XVisualInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
| visual | back to summary |
|---|---|
public Visual visual()
| |
| visual | back to summary |
|---|---|
| public XVisualInfo visual(Visual value) Sets the address of the specified | |
| visualid | back to summary |
|---|---|
public long visualid()
| |
| visualid | back to summary |
|---|---|
| public XVisualInfo visualid(long value) Sets the specified value to the | |
XVisualInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XVisualInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public XVisualInfo. | |
| public long | |
| public XVisualInfo. | |
| public int | |
| public XVisualInfo. | |
| public int | |
| public XVisualInfo. | |
| public int | |
| public XVisualInfo. | |
| protected XVisualInfo | |
| public long | |
| public XVisualInfo. | |
| public long | |
| public XVisualInfo. | |
| public int | |
| public XVisualInfo. | |
| protected XVisualInfo. | |
| public Visual | |
| public XVisualInfo. | |
| public long | |
| public XVisualInfo. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XVisualInfo ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| bits_per_rgb | back to summary |
|---|---|
public int bits_per_rgb()
| |
| bits_per_rgb | back to summary |
|---|---|
| public XVisualInfo. Sets the specified value to the | |
| blue_mask | back to summary |
|---|---|
public long blue_mask()
| |
| blue_mask | back to summary |
|---|---|
| public XVisualInfo. Sets the specified value to the | |
| class$ | back to summary |
|---|---|
public int class$()
| |
| class$ | back to summary |
|---|---|
| public XVisualInfo. Sets the specified value to the | |
| colormap_size | back to summary |
|---|---|
public int colormap_size()
| |
| colormap_size | back to summary |
|---|---|
| public XVisualInfo. Sets the specified value to the | |
| depth | back to summary |
|---|---|
public int depth()
| |
| depth | back to summary |
|---|---|
| public XVisualInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected XVisualInfo getElementFactory() Implements abstract org.
| |
| green_mask | back to summary |
|---|---|
public long green_mask()
| |
| green_mask | back to summary |
|---|---|
| public XVisualInfo. Sets the specified value to the | |
| red_mask | back to summary |
|---|---|
public long red_mask()
| |
| red_mask | back to summary |
|---|---|
| public XVisualInfo. Sets the specified value to the | |
| screen | back to summary |
|---|---|
public int screen()
| |
| screen | back to summary |
|---|---|
| public XVisualInfo. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XVisualInfo. Implements abstract org.
| |
| visual | back to summary |
|---|---|
public Visual visual()
| |
| visual | back to summary |
|---|---|
| public XVisualInfo. Sets the address of the specified | |
| visualid | back to summary |
|---|---|
public long visualid()
| |
| visualid | back to summary |
|---|---|
| public XVisualInfo. Sets the specified value to the | |