Package org.lwjgl.system.windows
Class WNDCLASSEX.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<WNDCLASSEX,WNDCLASSEX.Buffer>
-
- org.lwjgl.system.windows.WNDCLASSEX.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<WNDCLASSEX>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- WNDCLASSEX
public static class WNDCLASSEX.Buffer extends org.lwjgl.system.StructBuffer<WNDCLASSEX,WNDCLASSEX.Buffer> implements org.lwjgl.system.NativeResource
An array ofWNDCLASSEXstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcbClsExtra()WNDCLASSEX.BuffercbClsExtra(int value)Sets the specified value to theWNDCLASSEX.cbClsExtra()field.intcbSize()WNDCLASSEX.BuffercbSize(int value)Sets the specified value to theWNDCLASSEX.cbSize()field.intcbWndExtra()WNDCLASSEX.BuffercbWndExtra(int value)Sets the specified value to theWNDCLASSEX.cbWndExtra()field.longhbrBackground()WNDCLASSEX.BufferhbrBackground(long value)Sets the specified value to theWNDCLASSEX.hbrBackground()field.longhCursor()WNDCLASSEX.BufferhCursor(long value)Sets the specified value to theWNDCLASSEX.hCursor()field.longhIcon()WNDCLASSEX.BufferhIcon(long value)Sets the specified value to theWNDCLASSEX.hIcon()field.longhIconSm()WNDCLASSEX.BufferhIconSm(long value)Sets the specified value to theWNDCLASSEX.hIconSm()field.longhInstance()WNDCLASSEX.BufferhInstance(long value)Sets the specified value to theWNDCLASSEX.hInstance()field.WindowProclpfnWndProc()WNDCLASSEX.BufferlpfnWndProc(WindowProcI value)Sets the specified value to theWNDCLASSEX.lpfnWndProc()field.java.nio.ByteBufferlpszClassName()WNDCLASSEX.BufferlpszClassName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theWNDCLASSEX.lpszClassName()field.java.lang.StringlpszClassNameString()java.nio.ByteBufferlpszMenuName()WNDCLASSEX.BufferlpszMenuName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theWNDCLASSEX.lpszMenuName()field.java.lang.StringlpszMenuNameString()intstyle()WNDCLASSEX.Bufferstyle(int value)Sets the specified value to theWNDCLASSEX.style()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newWNDCLASSEX.Bufferinstance 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 byWNDCLASSEX.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
cbSize
public int cbSize()
- Returns:
- the value of the
WNDCLASSEX.cbSize()field.
-
style
public int style()
- Returns:
- the value of the
WNDCLASSEX.style()field.
-
lpfnWndProc
public WindowProc lpfnWndProc()
- Returns:
- the value of the
WNDCLASSEX.lpfnWndProc()field.
-
cbClsExtra
public int cbClsExtra()
- Returns:
- the value of the
WNDCLASSEX.cbClsExtra()field.
-
cbWndExtra
public int cbWndExtra()
- Returns:
- the value of the
WNDCLASSEX.cbWndExtra()field.
-
hInstance
public long hInstance()
- Returns:
- the value of the
WNDCLASSEX.hInstance()field.
-
hIcon
public long hIcon()
- Returns:
- the value of the
WNDCLASSEX.hIcon()field.
-
hCursor
public long hCursor()
- Returns:
- the value of the
WNDCLASSEX.hCursor()field.
-
hbrBackground
public long hbrBackground()
- Returns:
- the value of the
WNDCLASSEX.hbrBackground()field.
-
lpszMenuName
@Nullable public java.nio.ByteBuffer lpszMenuName()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theWNDCLASSEX.lpszMenuName()field.
-
lpszMenuNameString
@Nullable public java.lang.String lpszMenuNameString()
- Returns:
- the null-terminated string pointed to by the
WNDCLASSEX.lpszMenuName()field.
-
lpszClassName
public java.nio.ByteBuffer lpszClassName()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theWNDCLASSEX.lpszClassName()field.
-
lpszClassNameString
public java.lang.String lpszClassNameString()
- Returns:
- the null-terminated string pointed to by the
WNDCLASSEX.lpszClassName()field.
-
hIconSm
public long hIconSm()
- Returns:
- the value of the
WNDCLASSEX.hIconSm()field.
-
cbSize
public WNDCLASSEX.Buffer cbSize(int value)
Sets the specified value to theWNDCLASSEX.cbSize()field.
-
style
public WNDCLASSEX.Buffer style(int value)
Sets the specified value to theWNDCLASSEX.style()field.
-
lpfnWndProc
public WNDCLASSEX.Buffer lpfnWndProc(WindowProcI value)
Sets the specified value to theWNDCLASSEX.lpfnWndProc()field.
-
cbClsExtra
public WNDCLASSEX.Buffer cbClsExtra(int value)
Sets the specified value to theWNDCLASSEX.cbClsExtra()field.
-
cbWndExtra
public WNDCLASSEX.Buffer cbWndExtra(int value)
Sets the specified value to theWNDCLASSEX.cbWndExtra()field.
-
hInstance
public WNDCLASSEX.Buffer hInstance(long value)
Sets the specified value to theWNDCLASSEX.hInstance()field.
-
hIcon
public WNDCLASSEX.Buffer hIcon(long value)
Sets the specified value to theWNDCLASSEX.hIcon()field.
-
hCursor
public WNDCLASSEX.Buffer hCursor(long value)
Sets the specified value to theWNDCLASSEX.hCursor()field.
-
hbrBackground
public WNDCLASSEX.Buffer hbrBackground(long value)
Sets the specified value to theWNDCLASSEX.hbrBackground()field.
-
lpszMenuName
public WNDCLASSEX.Buffer lpszMenuName(@Nullable java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theWNDCLASSEX.lpszMenuName()field.
-
lpszClassName
public WNDCLASSEX.Buffer lpszClassName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theWNDCLASSEX.lpszClassName()field.
-
hIconSm
public WNDCLASSEX.Buffer hIconSm(long value)
Sets the specified value to theWNDCLASSEX.hIconSm()field.
-
-