public static class WNDCLASSEX.Buffer extends org.lwjgl.system.StructBuffer<WNDCLASSEX,WNDCLASSEX.Buffer> implements org.lwjgl.system.NativeResource
WNDCLASSEX structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
WNDCLASSEX.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
cbClsExtra()
Returns the value of the
cbClsExtra field. |
WNDCLASSEX.Buffer |
cbClsExtra(int value)
Sets the specified value to the
cbClsExtra field. |
int |
cbSize()
Returns the value of the
cbSize field. |
WNDCLASSEX.Buffer |
cbSize(int value)
Sets the specified value to the
cbSize field. |
int |
cbWndExtra()
Returns the value of the
cbWndExtra field. |
WNDCLASSEX.Buffer |
cbWndExtra(int value)
Sets the specified value to the
cbWndExtra field. |
long |
hbrBackground()
Returns the value of the
hbrBackground field. |
WNDCLASSEX.Buffer |
hbrBackground(long value)
Sets the specified value to the
hbrBackground field. |
long |
hCursor()
Returns the value of the
hCursor field. |
WNDCLASSEX.Buffer |
hCursor(long value)
Sets the specified value to the
hCursor field. |
long |
hIcon()
Returns the value of the
hIcon field. |
WNDCLASSEX.Buffer |
hIcon(long value)
Sets the specified value to the
hIcon field. |
long |
hIconSm()
Returns the value of the
hIconSm field. |
WNDCLASSEX.Buffer |
hIconSm(long value)
Sets the specified value to the
hIconSm field. |
long |
hInstance()
Returns the value of the
hInstance field. |
WNDCLASSEX.Buffer |
hInstance(long value)
Sets the specified value to the
hInstance field. |
WindowProc |
lpfnWndProc()
Returns the value of the
lpfnWndProc field. |
WNDCLASSEX.Buffer |
lpfnWndProc(WindowProcI value)
Sets the specified value to the
lpfnWndProc field. |
java.nio.ByteBuffer |
lpszClassName()
Returns a
ByteBuffer view of the null-terminated string pointed to by the lpszClassName field. |
WNDCLASSEX.Buffer |
lpszClassName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to the
lpszClassName field. |
java.lang.String |
lpszClassNameString()
Decodes the null-terminated string pointed to by the
lpszClassName field. |
java.nio.ByteBuffer |
lpszMenuName()
Returns a
ByteBuffer view of the null-terminated string pointed to by the lpszMenuName field. |
WNDCLASSEX.Buffer |
lpszMenuName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to the
lpszMenuName field. |
java.lang.String |
lpszMenuNameString()
Decodes the null-terminated string pointed to by the
lpszMenuName field. |
int |
style()
Returns the value of the
style field. |
WNDCLASSEX.Buffer |
style(int value)
Sets the specified value to the
style field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
WNDCLASSEX.Buffer instance backed by the specified container.
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 WNDCLASSEX.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int cbSize()
cbSize field.public int style()
style field.public WindowProc lpfnWndProc()
lpfnWndProc field.public int cbClsExtra()
cbClsExtra field.public int cbWndExtra()
cbWndExtra field.public long hInstance()
hInstance field.public long hIcon()
hIcon field.public long hCursor()
hCursor field.public long hbrBackground()
hbrBackground field.@Nullable public java.nio.ByteBuffer lpszMenuName()
ByteBuffer view of the null-terminated string pointed to by the lpszMenuName field.@Nullable public java.lang.String lpszMenuNameString()
lpszMenuName field.public java.nio.ByteBuffer lpszClassName()
ByteBuffer view of the null-terminated string pointed to by the lpszClassName field.public java.lang.String lpszClassNameString()
lpszClassName field.public long hIconSm()
hIconSm field.public WNDCLASSEX.Buffer cbSize(int value)
cbSize field.public WNDCLASSEX.Buffer style(int value)
style field.public WNDCLASSEX.Buffer lpfnWndProc(WindowProcI value)
lpfnWndProc field.public WNDCLASSEX.Buffer cbClsExtra(int value)
cbClsExtra field.public WNDCLASSEX.Buffer cbWndExtra(int value)
cbWndExtra field.public WNDCLASSEX.Buffer hInstance(long value)
hInstance field.public WNDCLASSEX.Buffer hIcon(long value)
hIcon field.public WNDCLASSEX.Buffer hCursor(long value)
hCursor field.public WNDCLASSEX.Buffer hbrBackground(long value)
hbrBackground field.public WNDCLASSEX.Buffer lpszMenuName(@Nullable java.nio.ByteBuffer value)
lpszMenuName field.public WNDCLASSEX.Buffer lpszClassName(java.nio.ByteBuffer value)
lpszClassName field.public WNDCLASSEX.Buffer hIconSm(long value)
hIconSm field.Copyright LWJGL. All Rights Reserved. License terms.