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, java.lang.Iterable<WNDCLASSEX>, NativeResource, Pointer
- Enclosing class:
- WNDCLASSEX
public static class WNDCLASSEX.Buffer extends StructBuffer<WNDCLASSEX,WNDCLASSEX.Buffer> implements NativeResource
An array ofWNDCLASSEX
structs.
-
-
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.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
cbClsExtra()
Returns the value of thecbClsExtra
field.WNDCLASSEX.Buffer
cbClsExtra(int value)
Sets the specified value to thecbClsExtra
field.int
cbSize()
Returns the value of thecbSize
field.WNDCLASSEX.Buffer
cbSize(int value)
Sets the specified value to thecbSize
field.int
cbWndExtra()
Returns the value of thecbWndExtra
field.WNDCLASSEX.Buffer
cbWndExtra(int value)
Sets the specified value to thecbWndExtra
field.long
hbrBackground()
Returns the value of thehbrBackground
field.WNDCLASSEX.Buffer
hbrBackground(long value)
Sets the specified value to thehbrBackground
field.long
hCursor()
Returns the value of thehCursor
field.WNDCLASSEX.Buffer
hCursor(long value)
Sets the specified value to thehCursor
field.long
hIcon()
Returns the value of thehIcon
field.WNDCLASSEX.Buffer
hIcon(long value)
Sets the specified value to thehIcon
field.long
hIconSm()
Returns the value of thehIconSm
field.WNDCLASSEX.Buffer
hIconSm(long value)
Sets the specified value to thehIconSm
field.long
hInstance()
Returns the value of thehInstance
field.WNDCLASSEX.Buffer
hInstance(long value)
Sets the specified value to thehInstance
field.WindowProc
lpfnWndProc()
Returns the value of thelpfnWndProc
field.WNDCLASSEX.Buffer
lpfnWndProc(WindowProcI value)
Sets the specified value to thelpfnWndProc
field.java.nio.ByteBuffer
lpszClassName()
Returns aByteBuffer
view of the null-terminated string pointed to by thelpszClassName
field.WNDCLASSEX.Buffer
lpszClassName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thelpszClassName
field.java.lang.String
lpszClassNameString()
Decodes the null-terminated string pointed to by thelpszClassName
field.java.nio.ByteBuffer
lpszMenuName()
Returns aByteBuffer
view of the null-terminated string pointed to by thelpszMenuName
field.WNDCLASSEX.Buffer
lpszMenuName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thelpszMenuName
field.java.lang.String
lpszMenuNameString()
Decodes the null-terminated string pointed to by thelpszMenuName
field.int
sizeof()
Returns thesizeof
a single element in the buffer.int
style()
Returns the value of thestyle
field.WNDCLASSEX.Buffer
style(int value)
Sets the specified value to thestyle
field.-
Methods inherited from class org.lwjgl.system.StructBuffer
forEach, get, get, get, get, iterator, parallelStream, put, put, spliterator, stream
-
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.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 byWNDCLASSEX.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
Description copied from class:CustomBuffer
Returns thesizeof
a single element in the buffer.- Specified by:
sizeof
in classCustomBuffer<WNDCLASSEX.Buffer>
-
cbSize
public int cbSize()
Returns the value of thecbSize
field.
-
style
public int style()
Returns the value of thestyle
field.
-
lpfnWndProc
public WindowProc lpfnWndProc()
Returns the value of thelpfnWndProc
field.
-
cbClsExtra
public int cbClsExtra()
Returns the value of thecbClsExtra
field.
-
cbWndExtra
public int cbWndExtra()
Returns the value of thecbWndExtra
field.
-
hInstance
public long hInstance()
Returns the value of thehInstance
field.
-
hIcon
public long hIcon()
Returns the value of thehIcon
field.
-
hCursor
public long hCursor()
Returns the value of thehCursor
field.
-
hbrBackground
public long hbrBackground()
Returns the value of thehbrBackground
field.
-
lpszMenuName
public java.nio.ByteBuffer lpszMenuName()
Returns aByteBuffer
view of the null-terminated string pointed to by thelpszMenuName
field.
-
lpszMenuNameString
public java.lang.String lpszMenuNameString()
Decodes the null-terminated string pointed to by thelpszMenuName
field.
-
lpszClassName
public java.nio.ByteBuffer lpszClassName()
Returns aByteBuffer
view of the null-terminated string pointed to by thelpszClassName
field.
-
lpszClassNameString
public java.lang.String lpszClassNameString()
Decodes the null-terminated string pointed to by thelpszClassName
field.
-
hIconSm
public long hIconSm()
Returns the value of thehIconSm
field.
-
cbSize
public WNDCLASSEX.Buffer cbSize(int value)
Sets the specified value to thecbSize
field.
-
style
public WNDCLASSEX.Buffer style(int value)
Sets the specified value to thestyle
field.
-
lpfnWndProc
public WNDCLASSEX.Buffer lpfnWndProc(WindowProcI value)
Sets the specified value to thelpfnWndProc
field.
-
cbClsExtra
public WNDCLASSEX.Buffer cbClsExtra(int value)
Sets the specified value to thecbClsExtra
field.
-
cbWndExtra
public WNDCLASSEX.Buffer cbWndExtra(int value)
Sets the specified value to thecbWndExtra
field.
-
hInstance
public WNDCLASSEX.Buffer hInstance(long value)
Sets the specified value to thehInstance
field.
-
hIcon
public WNDCLASSEX.Buffer hIcon(long value)
Sets the specified value to thehIcon
field.
-
hCursor
public WNDCLASSEX.Buffer hCursor(long value)
Sets the specified value to thehCursor
field.
-
hbrBackground
public WNDCLASSEX.Buffer hbrBackground(long value)
Sets the specified value to thehbrBackground
field.
-
lpszMenuName
public WNDCLASSEX.Buffer lpszMenuName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thelpszMenuName
field.
-
lpszClassName
public WNDCLASSEX.Buffer lpszClassName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thelpszClassName
field.
-
hIconSm
public WNDCLASSEX.Buffer hIconSm(long value)
Sets the specified value to thehIconSm
field.
-
-