public static class NkWindow.Buffer extends org.lwjgl.system.StructBuffer<NkWindow,NkWindow.Buffer>
NkWindow structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkWindow.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
NkRect |
bounds()
Returns a
NkRect view of the bounds field. |
NkCommandBuffer |
buffer()
Returns a
NkCommandBuffer view of the buffer field. |
NkEditState |
edit()
Returns a
NkEditState view of the edit field. |
int |
flags()
Returns the value of the
flags field. |
NkPanel |
layout()
Returns a
NkPanel view of the struct pointed to by the layout field. |
java.nio.ByteBuffer |
name_string()
Returns a
ByteBuffer view of the name_string field. |
java.lang.String |
name_stringString()
Decodes the null-terminated string stored in the
name_string field. |
int |
name()
Returns the value of the
name field. |
NkWindow |
next()
Returns a
NkWindow view of the struct pointed to by the next field. |
NkWindow |
parent()
Returns a
NkWindow view of the struct pointed to by the parent field. |
NkPopupState |
popup()
Returns a
NkPopupState view of the popup field. |
NkWindow |
prev()
Returns a
NkWindow view of the struct pointed to by the prev field. |
NkPropertyState |
property()
Returns a
NkPropertyState view of the property field. |
float |
scrollbar_hiding_timer()
Returns the value of the
scrollbar_hiding_timer field. |
NkScroll |
scrollbar()
Returns a
NkScroll view of the scrollbar field. |
int |
scrolled()
Returns the value of the
scrolled field. |
int |
seq()
Returns the value of the
seq field. |
int |
table_count()
Returns the value of the
table_count field. |
long |
tables()
Returns the value of the
tables field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NkWindow.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 NkWindow.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 seq()
seq field.public int name()
name field.public java.nio.ByteBuffer name_string()
ByteBuffer view of the name_string field.public java.lang.String name_stringString()
name_string field.public int flags()
flags field.public NkCommandBuffer buffer()
NkCommandBuffer view of the buffer field.public float scrollbar_hiding_timer()
scrollbar_hiding_timer field.public NkPropertyState property()
NkPropertyState view of the property field.public NkPopupState popup()
NkPopupState view of the popup field.public NkEditState edit()
NkEditState view of the edit field.public int scrolled()
scrolled field.public long tables()
tables field.public int table_count()
table_count field.Copyright LWJGL. All Rights Reserved. License terms.