Package org.lwjgl.nuklear
Class NkWindow.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<NkWindow,NkWindow.Buffer>
-
- org.lwjgl.nuklear.NkWindow.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<NkWindow>,org.lwjgl.system.Pointer
- Enclosing class:
- NkWindow
public static class NkWindow.Buffer extends org.lwjgl.system.StructBuffer<NkWindow,NkWindow.Buffer>
An array ofNkWindowstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NkRectbounds()NkCommandBufferbuffer()NkEditStateedit()intflags()NkPanellayout()intname()java.nio.ByteBuffername_string()java.lang.Stringname_stringString()NkWindownext()NkWindowparent()NkPopupStatepopup()NkWindowprev()NkPropertyStateproperty()NkScrollscrollbar()floatscrollbar_hiding_timer()intscrolled()intseq()inttable_count()longtables()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newNkWindow.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 byNkWindow.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
-
seq
public int seq()
- Returns:
- the value of the
seqfield.
-
name
public int name()
- Returns:
- the value of the
namefield.
-
name_string
public java.nio.ByteBuffer name_string()
- Returns:
- a
ByteBufferview of thename_stringfield.
-
name_stringString
public java.lang.String name_stringString()
- Returns:
- the null-terminated string stored in the
name_stringfield.
-
flags
public int flags()
- Returns:
- the value of the
flagsfield.
-
buffer
public NkCommandBuffer buffer()
- Returns:
- a
NkCommandBufferview of thebufferfield.
-
layout
public NkPanel layout()
- Returns:
- a
NkPanelview of the struct pointed to by thelayoutfield.
-
scrollbar_hiding_timer
public float scrollbar_hiding_timer()
- Returns:
- the value of the
scrollbar_hiding_timerfield.
-
property
public NkPropertyState property()
- Returns:
- a
NkPropertyStateview of thepropertyfield.
-
popup
public NkPopupState popup()
- Returns:
- a
NkPopupStateview of thepopupfield.
-
edit
public NkEditState edit()
- Returns:
- a
NkEditStateview of theeditfield.
-
scrolled
public int scrolled()
- Returns:
- the value of the
scrolledfield.
-
tables
public long tables()
- Returns:
- the value of the
tablesfield.
-
table_count
public int table_count()
- Returns:
- the value of the
table_countfield.
-
-