Package org.lwjgl.system.windows
Class WNDCLASSEX.Buffer
- java.lang.Object
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<WNDCLASSEX,WNDCLASSEX.Buffer>
-
- org.lwjgl.system.windows.WNDCLASSEX.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- WNDCLASSEX
public static class WNDCLASSEX.Buffer extends StructBuffer<WNDCLASSEX,WNDCLASSEX.Buffer> implements NativeResource
An array ofWNDCLASSEXstructs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newWNDCLASSEX.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcbClsExtra()Returns the value of thecbClsExtrafield.WNDCLASSEX.BuffercbClsExtra(int value)Sets the specified value to thecbClsExtrafield.intcbSize()Returns the value of thecbSizefield.WNDCLASSEX.BuffercbSize(int value)Sets the specified value to thecbSizefield.intcbWndExtra()Returns the value of thecbWndExtrafield.WNDCLASSEX.BuffercbWndExtra(int value)Sets the specified value to thecbWndExtrafield.longhbrBackground()Returns the value of thehbrBackgroundfield.WNDCLASSEX.BufferhbrBackground(long value)Sets the specified value to thehbrBackgroundfield.longhCursor()Returns the value of thehCursorfield.WNDCLASSEX.BufferhCursor(long value)Sets the specified value to thehCursorfield.longhIcon()Returns the value of thehIconfield.WNDCLASSEX.BufferhIcon(long value)Sets the specified value to thehIconfield.longhIconSm()Returns the value of thehIconSmfield.WNDCLASSEX.BufferhIconSm(long value)Sets the specified value to thehIconSmfield.longhInstance()Returns the value of thehInstancefield.WNDCLASSEX.BufferhInstance(long value)Sets the specified value to thehInstancefield.WindowProclpfnWndProc()Returns the value of thelpfnWndProcfield.WNDCLASSEX.BufferlpfnWndProc(WindowProcI value)Sets the specified value to thelpfnWndProcfield.java.nio.ByteBufferlpszClassName()Returns aByteBufferview of the null-terminated string pointed to by thelpszClassNamefield.WNDCLASSEX.BufferlpszClassName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thelpszClassNamefield.java.lang.StringlpszClassNameString()Decodes the null-terminated string pointed to by thelpszClassNamefield.java.nio.ByteBufferlpszMenuName()Returns aByteBufferview of the null-terminated string pointed to by thelpszMenuNamefield.WNDCLASSEX.BufferlpszMenuName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thelpszMenuNamefield.java.lang.StringlpszMenuNameString()Decodes the null-terminated string pointed to by thelpszMenuNamefield.intstyle()Returns the value of thestylefield.WNDCLASSEX.Bufferstyle(int value)Sets the specified value to thestylefield.-
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
-
-
-
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.
-
-
Method Detail
-
cbSize
public int cbSize()
Returns the value of thecbSizefield.
-
style
public int style()
Returns the value of thestylefield.
-
lpfnWndProc
public WindowProc lpfnWndProc()
Returns the value of thelpfnWndProcfield.
-
cbClsExtra
public int cbClsExtra()
Returns the value of thecbClsExtrafield.
-
cbWndExtra
public int cbWndExtra()
Returns the value of thecbWndExtrafield.
-
hInstance
public long hInstance()
Returns the value of thehInstancefield.
-
hIcon
public long hIcon()
Returns the value of thehIconfield.
-
hCursor
public long hCursor()
Returns the value of thehCursorfield.
-
hbrBackground
public long hbrBackground()
Returns the value of thehbrBackgroundfield.
-
lpszMenuName
public java.nio.ByteBuffer lpszMenuName()
Returns aByteBufferview of the null-terminated string pointed to by thelpszMenuNamefield.
-
lpszMenuNameString
public java.lang.String lpszMenuNameString()
Decodes the null-terminated string pointed to by thelpszMenuNamefield.
-
lpszClassName
public java.nio.ByteBuffer lpszClassName()
Returns aByteBufferview of the null-terminated string pointed to by thelpszClassNamefield.
-
lpszClassNameString
public java.lang.String lpszClassNameString()
Decodes the null-terminated string pointed to by thelpszClassNamefield.
-
hIconSm
public long hIconSm()
Returns the value of thehIconSmfield.
-
cbSize
public WNDCLASSEX.Buffer cbSize(int value)
Sets the specified value to thecbSizefield.
-
style
public WNDCLASSEX.Buffer style(int value)
Sets the specified value to thestylefield.
-
lpfnWndProc
public WNDCLASSEX.Buffer lpfnWndProc(WindowProcI value)
Sets the specified value to thelpfnWndProcfield.
-
cbClsExtra
public WNDCLASSEX.Buffer cbClsExtra(int value)
Sets the specified value to thecbClsExtrafield.
-
cbWndExtra
public WNDCLASSEX.Buffer cbWndExtra(int value)
Sets the specified value to thecbWndExtrafield.
-
hInstance
public WNDCLASSEX.Buffer hInstance(long value)
Sets the specified value to thehInstancefield.
-
hIcon
public WNDCLASSEX.Buffer hIcon(long value)
Sets the specified value to thehIconfield.
-
hCursor
public WNDCLASSEX.Buffer hCursor(long value)
Sets the specified value to thehCursorfield.
-
hbrBackground
public WNDCLASSEX.Buffer hbrBackground(long value)
Sets the specified value to thehbrBackgroundfield.
-
lpszMenuName
public WNDCLASSEX.Buffer lpszMenuName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thelpszMenuNamefield.
-
lpszClassName
public WNDCLASSEX.Buffer lpszClassName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thelpszClassNamefield.
-
hIconSm
public WNDCLASSEX.Buffer hIconSm(long value)
Sets the specified value to thehIconSmfield.
-
-