public static class NkStyleTab.Buffer extends org.lwjgl.system.StructBuffer<NkStyleTab,NkStyleTab.Buffer> implements org.lwjgl.system.NativeResource
NkStyleTab structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkStyleTab.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
NkStyleItem |
background()
Returns a
NkStyleItem view of the background field. |
NkStyleTab.Buffer |
background(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
background field to the specified Consumer. |
NkStyleTab.Buffer |
background(NkStyleItem value)
Copies the specified
NkStyleItem to the background field. |
NkColor |
border_color()
Returns a
NkColor view of the border_color field. |
NkStyleTab.Buffer |
border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
border_color field to the specified Consumer. |
NkStyleTab.Buffer |
border_color(NkColor value)
Copies the specified
NkColor to the border_color field. |
float |
border()
Returns the value of the
border field. |
NkStyleTab.Buffer |
border(float value)
Sets the specified value to the
border field. |
float |
indent()
Returns the value of the
indent field. |
NkStyleTab.Buffer |
indent(float value)
Sets the specified value to the
indent field. |
NkStyleButton |
node_maximize_button()
Returns a
NkStyleButton view of the node_maximize_button field. |
NkStyleTab.Buffer |
node_maximize_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes the
node_maximize_button field to the specified Consumer. |
NkStyleTab.Buffer |
node_maximize_button(NkStyleButton value)
Copies the specified
NkStyleButton to the node_maximize_button field. |
NkStyleButton |
node_minimize_button()
Returns a
NkStyleButton view of the node_minimize_button field. |
NkStyleTab.Buffer |
node_minimize_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes the
node_minimize_button field to the specified Consumer. |
NkStyleTab.Buffer |
node_minimize_button(NkStyleButton value)
Copies the specified
NkStyleButton to the node_minimize_button field. |
NkVec2 |
padding()
Returns a
NkVec2 view of the padding field. |
NkStyleTab.Buffer |
padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
padding field to the specified Consumer. |
NkStyleTab.Buffer |
padding(NkVec2 value)
Copies the specified
NkVec2 to the padding field. |
float |
rounding()
Returns the value of the
rounding field. |
NkStyleTab.Buffer |
rounding(float value)
Sets the specified value to the
rounding field. |
NkVec2 |
spacing()
Returns a
NkVec2 view of the spacing field. |
NkStyleTab.Buffer |
spacing(java.util.function.Consumer<NkVec2> consumer)
Passes the
spacing field to the specified Consumer. |
NkStyleTab.Buffer |
spacing(NkVec2 value)
Copies the specified
NkVec2 to the spacing field. |
int |
sym_maximize()
Returns the value of the
sym_maximize field. |
NkStyleTab.Buffer |
sym_maximize(int value)
Sets the specified value to the
sym_maximize field. |
int |
sym_minimize()
Returns the value of the
sym_minimize field. |
NkStyleTab.Buffer |
sym_minimize(int value)
Sets the specified value to the
sym_minimize field. |
NkStyleButton |
tab_maximize_button()
Returns a
NkStyleButton view of the tab_maximize_button field. |
NkStyleTab.Buffer |
tab_maximize_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes the
tab_maximize_button field to the specified Consumer. |
NkStyleTab.Buffer |
tab_maximize_button(NkStyleButton value)
Copies the specified
NkStyleButton to the tab_maximize_button field. |
NkStyleButton |
tab_minimize_button()
Returns a
NkStyleButton view of the tab_minimize_button field. |
NkStyleTab.Buffer |
tab_minimize_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes the
tab_minimize_button field to the specified Consumer. |
NkStyleTab.Buffer |
tab_minimize_button(NkStyleButton value)
Copies the specified
NkStyleButton to the tab_minimize_button field. |
NkColor |
text()
Returns a
NkColor view of the text field. |
NkStyleTab.Buffer |
text(java.util.function.Consumer<NkColor> consumer)
Passes the
text field to the specified Consumer. |
NkStyleTab.Buffer |
text(NkColor value)
Copies the specified
NkColor to the text field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NkStyleTab.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 NkStyleTab.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 NkStyleItem background()
NkStyleItem view of the background field.public NkStyleButton tab_maximize_button()
NkStyleButton view of the tab_maximize_button field.public NkStyleButton tab_minimize_button()
NkStyleButton view of the tab_minimize_button field.public NkStyleButton node_maximize_button()
NkStyleButton view of the node_maximize_button field.public NkStyleButton node_minimize_button()
NkStyleButton view of the node_minimize_button field.public int sym_minimize()
sym_minimize field.public int sym_maximize()
sym_maximize field.public float border()
border field.public float rounding()
rounding field.public float indent()
indent field.public NkStyleTab.Buffer background(NkStyleItem value)
NkStyleItem to the background field.public NkStyleTab.Buffer background(java.util.function.Consumer<NkStyleItem> consumer)
background field to the specified Consumer.public NkStyleTab.Buffer border_color(NkColor value)
NkColor to the border_color field.public NkStyleTab.Buffer border_color(java.util.function.Consumer<NkColor> consumer)
border_color field to the specified Consumer.public NkStyleTab.Buffer text(NkColor value)
NkColor to the text field.public NkStyleTab.Buffer text(java.util.function.Consumer<NkColor> consumer)
text field to the specified Consumer.public NkStyleTab.Buffer tab_maximize_button(NkStyleButton value)
NkStyleButton to the tab_maximize_button field.public NkStyleTab.Buffer tab_maximize_button(java.util.function.Consumer<NkStyleButton> consumer)
tab_maximize_button field to the specified Consumer.public NkStyleTab.Buffer tab_minimize_button(NkStyleButton value)
NkStyleButton to the tab_minimize_button field.public NkStyleTab.Buffer tab_minimize_button(java.util.function.Consumer<NkStyleButton> consumer)
tab_minimize_button field to the specified Consumer.public NkStyleTab.Buffer node_maximize_button(NkStyleButton value)
NkStyleButton to the node_maximize_button field.public NkStyleTab.Buffer node_maximize_button(java.util.function.Consumer<NkStyleButton> consumer)
node_maximize_button field to the specified Consumer.public NkStyleTab.Buffer node_minimize_button(NkStyleButton value)
NkStyleButton to the node_minimize_button field.public NkStyleTab.Buffer node_minimize_button(java.util.function.Consumer<NkStyleButton> consumer)
node_minimize_button field to the specified Consumer.public NkStyleTab.Buffer sym_minimize(int value)
sym_minimize field.public NkStyleTab.Buffer sym_maximize(int value)
sym_maximize field.public NkStyleTab.Buffer border(float value)
border field.public NkStyleTab.Buffer rounding(float value)
rounding field.public NkStyleTab.Buffer indent(float value)
indent field.public NkStyleTab.Buffer padding(NkVec2 value)
NkVec2 to the padding field.public NkStyleTab.Buffer padding(java.util.function.Consumer<NkVec2> consumer)
padding field to the specified Consumer.public NkStyleTab.Buffer spacing(NkVec2 value)
NkVec2 to the spacing field.public NkStyleTab.Buffer spacing(java.util.function.Consumer<NkVec2> consumer)
spacing field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.