Package org.lwjgl.nuklear
Class NkStyleCombo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<NkStyleCombo,NkStyleCombo.Buffer>
-
- org.lwjgl.nuklear.NkStyleCombo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<NkStyleCombo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- NkStyleCombo
public static class NkStyleCombo.Buffer extends org.lwjgl.system.StructBuffer<NkStyleCombo,NkStyleCombo.Buffer> implements org.lwjgl.system.NativeResource
An array ofNkStyleCombostructs.
-
-
Constructor Summary
Constructors Constructor Description Buffer(long address, int cap)Buffer(java.nio.ByteBuffer container)Creates a newNkStyleCombo.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NkStyleItemactive()Returns aNkStyleItemview of theactivefield.NkStyleCombo.Bufferactive(java.util.function.Consumer<NkStyleItem> consumer)Passes theactivefield to the specifiedConsumer.NkStyleCombo.Bufferactive(NkStyleItem value)Copies the specifiedNkStyleItemto theactivefield.floatborder()Returns the value of theborderfield.NkStyleCombo.Bufferborder(float value)Sets the specified value to theborderfield.NkColorborder_color()Returns aNkColorview of theborder_colorfield.NkStyleCombo.Bufferborder_color(java.util.function.Consumer<NkColor> consumer)Passes theborder_colorfield to the specifiedConsumer.NkStyleCombo.Bufferborder_color(NkColor value)Copies the specifiedNkColorto theborder_colorfield.NkStyleButtonbutton()Returns aNkStyleButtonview of thebuttonfield.NkStyleCombo.Bufferbutton(java.util.function.Consumer<NkStyleButton> consumer)Passes thebuttonfield to the specifiedConsumer.NkStyleCombo.Bufferbutton(NkStyleButton value)Copies the specifiedNkStyleButtonto thebuttonfield.NkVec2button_padding()Returns aNkVec2view of thebutton_paddingfield.NkStyleCombo.Bufferbutton_padding(java.util.function.Consumer<NkVec2> consumer)Passes thebutton_paddingfield to the specifiedConsumer.NkStyleCombo.Bufferbutton_padding(NkVec2 value)Copies the specifiedNkVec2to thebutton_paddingfield.NkVec2content_padding()Returns aNkVec2view of thecontent_paddingfield.NkStyleCombo.Buffercontent_padding(java.util.function.Consumer<NkVec2> consumer)Passes thecontent_paddingfield to the specifiedConsumer.NkStyleCombo.Buffercontent_padding(NkVec2 value)Copies the specifiedNkVec2to thecontent_paddingfield.NkStyleItemhover()Returns aNkStyleItemview of thehoverfield.NkStyleCombo.Bufferhover(java.util.function.Consumer<NkStyleItem> consumer)Passes thehoverfield to the specifiedConsumer.NkStyleCombo.Bufferhover(NkStyleItem value)Copies the specifiedNkStyleItemto thehoverfield.NkColorlabel_active()Returns aNkColorview of thelabel_activefield.NkStyleCombo.Bufferlabel_active(java.util.function.Consumer<NkColor> consumer)Passes thelabel_activefield to the specifiedConsumer.NkStyleCombo.Bufferlabel_active(NkColor value)Copies the specifiedNkColorto thelabel_activefield.NkColorlabel_hover()Returns aNkColorview of thelabel_hoverfield.NkStyleCombo.Bufferlabel_hover(java.util.function.Consumer<NkColor> consumer)Passes thelabel_hoverfield to the specifiedConsumer.NkStyleCombo.Bufferlabel_hover(NkColor value)Copies the specifiedNkColorto thelabel_hoverfield.NkColorlabel_normal()Returns aNkColorview of thelabel_normalfield.NkStyleCombo.Bufferlabel_normal(java.util.function.Consumer<NkColor> consumer)Passes thelabel_normalfield to the specifiedConsumer.NkStyleCombo.Bufferlabel_normal(NkColor value)Copies the specifiedNkColorto thelabel_normalfield.NkStyleItemnormal()Returns aNkStyleItemview of thenormalfield.NkStyleCombo.Buffernormal(java.util.function.Consumer<NkStyleItem> consumer)Passes thenormalfield to the specifiedConsumer.NkStyleCombo.Buffernormal(NkStyleItem value)Copies the specifiedNkStyleItemto thenormalfield.floatrounding()Returns the value of theroundingfield.NkStyleCombo.Bufferrounding(float value)Sets the specified value to theroundingfield.NkVec2spacing()Returns aNkVec2view of thespacingfield.NkStyleCombo.Bufferspacing(java.util.function.Consumer<NkVec2> consumer)Passes thespacingfield to the specifiedConsumer.NkStyleCombo.Bufferspacing(NkVec2 value)Copies the specifiedNkVec2to thespacingfield.intsym_active()Returns the value of thesym_activefield.NkStyleCombo.Buffersym_active(int value)Sets the specified value to thesym_activefield.intsym_hover()Returns the value of thesym_hoverfield.NkStyleCombo.Buffersym_hover(int value)Sets the specified value to thesym_hoverfield.intsym_normal()Returns the value of thesym_normalfield.NkStyleCombo.Buffersym_normal(int value)Sets the specified value to thesym_normalfield.NkColorsymbol_active()Returns aNkColorview of thesymbol_activefield.NkStyleCombo.Buffersymbol_active(java.util.function.Consumer<NkColor> consumer)Passes thesymbol_activefield to the specifiedConsumer.NkStyleCombo.Buffersymbol_active(NkColor value)Copies the specifiedNkColorto thesymbol_activefield.NkColorsymbol_hover()Returns aNkColorview of thesymbol_hoverfield.NkStyleCombo.Buffersymbol_hover(java.util.function.Consumer<NkColor> consumer)Passes thesymbol_hoverfield to the specifiedConsumer.NkStyleCombo.Buffersymbol_hover(NkColor value)Copies the specifiedNkColorto thesymbol_hoverfield.NkColorsymbol_normal()Returns aNkColorview of thesymbol_normalfield.NkStyleCombo.Buffersymbol_normal(java.util.function.Consumer<NkColor> consumer)Passes thesymbol_normalfield to the specifiedConsumer.NkStyleCombo.Buffersymbol_normal(NkColor value)Copies the specifiedNkColorto thesymbol_normalfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newNkStyleCombo.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 byNkStyleCombo.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
-
normal
public NkStyleItem normal()
Returns aNkStyleItemview of thenormalfield.
-
normal
public NkStyleCombo.Buffer normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes thenormalfield to the specifiedConsumer.
-
hover
public NkStyleItem hover()
Returns aNkStyleItemview of thehoverfield.
-
hover
public NkStyleCombo.Buffer hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes thehoverfield to the specifiedConsumer.
-
active
public NkStyleItem active()
Returns aNkStyleItemview of theactivefield.
-
active
public NkStyleCombo.Buffer active(java.util.function.Consumer<NkStyleItem> consumer)
Passes theactivefield to the specifiedConsumer.
-
border_color
public NkStyleCombo.Buffer border_color(java.util.function.Consumer<NkColor> consumer)
Passes theborder_colorfield to the specifiedConsumer.
-
label_normal
public NkStyleCombo.Buffer label_normal(java.util.function.Consumer<NkColor> consumer)
Passes thelabel_normalfield to the specifiedConsumer.
-
label_hover
public NkStyleCombo.Buffer label_hover(java.util.function.Consumer<NkColor> consumer)
Passes thelabel_hoverfield to the specifiedConsumer.
-
label_active
public NkStyleCombo.Buffer label_active(java.util.function.Consumer<NkColor> consumer)
Passes thelabel_activefield to the specifiedConsumer.
-
symbol_normal
public NkStyleCombo.Buffer symbol_normal(java.util.function.Consumer<NkColor> consumer)
Passes thesymbol_normalfield to the specifiedConsumer.
-
symbol_hover
public NkStyleCombo.Buffer symbol_hover(java.util.function.Consumer<NkColor> consumer)
Passes thesymbol_hoverfield to the specifiedConsumer.
-
symbol_active
public NkStyleCombo.Buffer symbol_active(java.util.function.Consumer<NkColor> consumer)
Passes thesymbol_activefield to the specifiedConsumer.
-
button
public NkStyleButton button()
Returns aNkStyleButtonview of thebuttonfield.
-
button
public NkStyleCombo.Buffer button(java.util.function.Consumer<NkStyleButton> consumer)
Passes thebuttonfield to the specifiedConsumer.
-
sym_normal
public int sym_normal()
Returns the value of thesym_normalfield.
-
sym_hover
public int sym_hover()
Returns the value of thesym_hoverfield.
-
sym_active
public int sym_active()
Returns the value of thesym_activefield.
-
border
public float border()
Returns the value of theborderfield.
-
rounding
public float rounding()
Returns the value of theroundingfield.
-
content_padding
public NkStyleCombo.Buffer content_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thecontent_paddingfield to the specifiedConsumer.
-
button_padding
public NkStyleCombo.Buffer button_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thebutton_paddingfield to the specifiedConsumer.
-
spacing
public NkStyleCombo.Buffer spacing(java.util.function.Consumer<NkVec2> consumer)
Passes thespacingfield to the specifiedConsumer.
-
normal
public NkStyleCombo.Buffer normal(NkStyleItem value)
Copies the specifiedNkStyleItemto thenormalfield.
-
hover
public NkStyleCombo.Buffer hover(NkStyleItem value)
Copies the specifiedNkStyleItemto thehoverfield.
-
active
public NkStyleCombo.Buffer active(NkStyleItem value)
Copies the specifiedNkStyleItemto theactivefield.
-
border_color
public NkStyleCombo.Buffer border_color(NkColor value)
Copies the specifiedNkColorto theborder_colorfield.
-
label_normal
public NkStyleCombo.Buffer label_normal(NkColor value)
Copies the specifiedNkColorto thelabel_normalfield.
-
label_hover
public NkStyleCombo.Buffer label_hover(NkColor value)
Copies the specifiedNkColorto thelabel_hoverfield.
-
label_active
public NkStyleCombo.Buffer label_active(NkColor value)
Copies the specifiedNkColorto thelabel_activefield.
-
symbol_normal
public NkStyleCombo.Buffer symbol_normal(NkColor value)
Copies the specifiedNkColorto thesymbol_normalfield.
-
symbol_hover
public NkStyleCombo.Buffer symbol_hover(NkColor value)
Copies the specifiedNkColorto thesymbol_hoverfield.
-
symbol_active
public NkStyleCombo.Buffer symbol_active(NkColor value)
Copies the specifiedNkColorto thesymbol_activefield.
-
button
public NkStyleCombo.Buffer button(NkStyleButton value)
Copies the specifiedNkStyleButtonto thebuttonfield.
-
sym_normal
public NkStyleCombo.Buffer sym_normal(int value)
Sets the specified value to thesym_normalfield.
-
sym_hover
public NkStyleCombo.Buffer sym_hover(int value)
Sets the specified value to thesym_hoverfield.
-
sym_active
public NkStyleCombo.Buffer sym_active(int value)
Sets the specified value to thesym_activefield.
-
border
public NkStyleCombo.Buffer border(float value)
Sets the specified value to theborderfield.
-
rounding
public NkStyleCombo.Buffer rounding(float value)
Sets the specified value to theroundingfield.
-
content_padding
public NkStyleCombo.Buffer content_padding(NkVec2 value)
Copies the specifiedNkVec2to thecontent_paddingfield.
-
button_padding
public NkStyleCombo.Buffer button_padding(NkVec2 value)
Copies the specifiedNkVec2to thebutton_paddingfield.
-
spacing
public NkStyleCombo.Buffer spacing(NkVec2 value)
Copies the specifiedNkVec2to thespacingfield.
-
-