Package org.lwjgl.nuklear
Class NkPopupState.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<NkPopupState,NkPopupState.Buffer>
-
- org.lwjgl.nuklear.NkPopupState.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<NkPopupState>
,org.lwjgl.system.Pointer
- Enclosing class:
- NkPopupState
public static class NkPopupState.Buffer extends org.lwjgl.system.StructBuffer<NkPopupState,NkPopupState.Buffer>
An array ofNkPopupState
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
active()
Returns the value of theactive
field.int
active_con()
Returns the value of theactive_con
field.NkPopupBuffer
buf()
Returns aNkPopupBuffer
view of thebuf
field.int
combo_count()
Returns the value of thecombo_count
field.int
con_count()
Returns the value of thecon_count
field.int
con_old()
Returns the value of thecon_old
field.NkRect
header()
Returns aNkRect
view of theheader
field.int
name()
Returns the value of thename
field.int
type()
Returns the value of thetype
field.NkWindow
win()
Returns aNkWindow
view of the struct pointed to by thewin
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newNkPopupState.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 byNkPopupState.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
-
type
public int type()
Returns the value of thetype
field.
-
buf
public NkPopupBuffer buf()
Returns aNkPopupBuffer
view of thebuf
field.
-
name
public int name()
Returns the value of thename
field.
-
active
public int active()
Returns the value of theactive
field.
-
combo_count
public int combo_count()
Returns the value of thecombo_count
field.
-
con_count
public int con_count()
Returns the value of thecon_count
field.
-
con_old
public int con_old()
Returns the value of thecon_old
field.
-
active_con
public int active_con()
Returns the value of theactive_con
field.
-
-