Package org.lwjgl.nuklear
Class NkStyleWindow.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<NkStyleWindow,NkStyleWindow.Buffer>
-
- org.lwjgl.nuklear.NkStyleWindow.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<NkStyleWindow>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- NkStyleWindow
public static class NkStyleWindow.Buffer extends org.lwjgl.system.StructBuffer<NkStyleWindow,NkStyleWindow.Buffer> implements org.lwjgl.system.NativeResource
An array ofNkStyleWindowstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NkColorbackground()NkStyleWindow.Bufferbackground(java.util.function.Consumer<NkColor> consumer)Passes thebackgroundfield to the specifiedConsumer.NkStyleWindow.Bufferbackground(NkColor value)Copies the specifiedNkColorto thebackgroundfield.floatborder()NkStyleWindow.Bufferborder(float value)Sets the specified value to theborderfield.NkColorborder_color()NkStyleWindow.Bufferborder_color(java.util.function.Consumer<NkColor> consumer)Passes theborder_colorfield to the specifiedConsumer.NkStyleWindow.Bufferborder_color(NkColor value)Copies the specifiedNkColorto theborder_colorfield.floatcombo_border()NkStyleWindow.Buffercombo_border(float value)Sets the specified value to thecombo_borderfield.NkColorcombo_border_color()NkStyleWindow.Buffercombo_border_color(java.util.function.Consumer<NkColor> consumer)Passes thecombo_border_colorfield to the specifiedConsumer.NkStyleWindow.Buffercombo_border_color(NkColor value)Copies the specifiedNkColorto thecombo_border_colorfield.NkVec2combo_padding()NkStyleWindow.Buffercombo_padding(java.util.function.Consumer<NkVec2> consumer)Passes thecombo_paddingfield to the specifiedConsumer.NkStyleWindow.Buffercombo_padding(NkVec2 value)Copies the specifiedNkVec2to thecombo_paddingfield.floatcontextual_border()NkStyleWindow.Buffercontextual_border(float value)Sets the specified value to thecontextual_borderfield.NkColorcontextual_border_color()NkStyleWindow.Buffercontextual_border_color(java.util.function.Consumer<NkColor> consumer)Passes thecontextual_border_colorfield to the specifiedConsumer.NkStyleWindow.Buffercontextual_border_color(NkColor value)Copies the specifiedNkColorto thecontextual_border_colorfield.NkVec2contextual_padding()NkStyleWindow.Buffercontextual_padding(java.util.function.Consumer<NkVec2> consumer)Passes thecontextual_paddingfield to the specifiedConsumer.NkStyleWindow.Buffercontextual_padding(NkVec2 value)Copies the specifiedNkVec2to thecontextual_paddingfield.NkStyleItemfixed_background()NkStyleWindow.Bufferfixed_background(java.util.function.Consumer<NkStyleItem> consumer)Passes thefixed_backgroundfield to the specifiedConsumer.NkStyleWindow.Bufferfixed_background(NkStyleItem value)Copies the specifiedNkStyleItemto thefixed_backgroundfield.floatgroup_border()NkStyleWindow.Buffergroup_border(float value)Sets the specified value to thegroup_borderfield.NkColorgroup_border_color()NkStyleWindow.Buffergroup_border_color(java.util.function.Consumer<NkColor> consumer)Passes thegroup_border_colorfield to the specifiedConsumer.NkStyleWindow.Buffergroup_border_color(NkColor value)Copies the specifiedNkColorto thegroup_border_colorfield.NkVec2group_padding()NkStyleWindow.Buffergroup_padding(java.util.function.Consumer<NkVec2> consumer)Passes thegroup_paddingfield to the specifiedConsumer.NkStyleWindow.Buffergroup_padding(NkVec2 value)Copies the specifiedNkVec2to thegroup_paddingfield.NkStyleWindowHeaderheader()NkStyleWindow.Bufferheader(java.util.function.Consumer<NkStyleWindowHeader> consumer)Passes theheaderfield to the specifiedConsumer.NkStyleWindow.Bufferheader(NkStyleWindowHeader value)Copies the specifiedNkStyleWindowHeaderto theheaderfield.floatmenu_border()NkStyleWindow.Buffermenu_border(float value)Sets the specified value to themenu_borderfield.NkColormenu_border_color()NkStyleWindow.Buffermenu_border_color(java.util.function.Consumer<NkColor> consumer)Passes themenu_border_colorfield to the specifiedConsumer.NkStyleWindow.Buffermenu_border_color(NkColor value)Copies the specifiedNkColorto themenu_border_colorfield.NkVec2menu_padding()NkStyleWindow.Buffermenu_padding(java.util.function.Consumer<NkVec2> consumer)Passes themenu_paddingfield to the specifiedConsumer.NkStyleWindow.Buffermenu_padding(NkVec2 value)Copies the specifiedNkVec2to themenu_paddingfield.floatmin_row_height_padding()NkStyleWindow.Buffermin_row_height_padding(float value)Sets the specified value to themin_row_height_paddingfield.NkVec2min_size()NkStyleWindow.Buffermin_size(java.util.function.Consumer<NkVec2> consumer)Passes themin_sizefield to the specifiedConsumer.NkStyleWindow.Buffermin_size(NkVec2 value)Copies the specifiedNkVec2to themin_sizefield.NkVec2padding()NkStyleWindow.Bufferpadding(java.util.function.Consumer<NkVec2> consumer)Passes thepaddingfield to the specifiedConsumer.NkStyleWindow.Bufferpadding(NkVec2 value)Copies the specifiedNkVec2to thepaddingfield.floatpopup_border()NkStyleWindow.Bufferpopup_border(float value)Sets the specified value to thepopup_borderfield.NkColorpopup_border_color()NkStyleWindow.Bufferpopup_border_color(java.util.function.Consumer<NkColor> consumer)Passes thepopup_border_colorfield to the specifiedConsumer.NkStyleWindow.Bufferpopup_border_color(NkColor value)Copies the specifiedNkColorto thepopup_border_colorfield.NkVec2popup_padding()NkStyleWindow.Bufferpopup_padding(java.util.function.Consumer<NkVec2> consumer)Passes thepopup_paddingfield to the specifiedConsumer.NkStyleWindow.Bufferpopup_padding(NkVec2 value)Copies the specifiedNkVec2to thepopup_paddingfield.floatrounding()NkStyleWindow.Bufferrounding(float value)Sets the specified value to theroundingfield.NkStyleItemscaler()NkStyleWindow.Bufferscaler(java.util.function.Consumer<NkStyleItem> consumer)Passes thescalerfield to the specifiedConsumer.NkStyleWindow.Bufferscaler(NkStyleItem value)Copies the specifiedNkStyleItemto thescalerfield.NkVec2scrollbar_size()NkStyleWindow.Bufferscrollbar_size(java.util.function.Consumer<NkVec2> consumer)Passes thescrollbar_sizefield to the specifiedConsumer.NkStyleWindow.Bufferscrollbar_size(NkVec2 value)Copies the specifiedNkVec2to thescrollbar_sizefield.NkVec2spacing()NkStyleWindow.Bufferspacing(java.util.function.Consumer<NkVec2> consumer)Passes thespacingfield to the specifiedConsumer.NkStyleWindow.Bufferspacing(NkVec2 value)Copies the specifiedNkVec2to thespacingfield.floattooltip_border()NkStyleWindow.Buffertooltip_border(float value)Sets the specified value to thetooltip_borderfield.NkColortooltip_border_color()NkStyleWindow.Buffertooltip_border_color(java.util.function.Consumer<NkColor> consumer)Passes thetooltip_border_colorfield to the specifiedConsumer.NkStyleWindow.Buffertooltip_border_color(NkColor value)Copies the specifiedNkColorto thetooltip_border_colorfield.NkVec2tooltip_padding()NkStyleWindow.Buffertooltip_padding(java.util.function.Consumer<NkVec2> consumer)Passes thetooltip_paddingfield to the specifiedConsumer.NkStyleWindow.Buffertooltip_padding(NkVec2 value)Copies the specifiedNkVec2to thetooltip_paddingfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newNkStyleWindow.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 byNkStyleWindow.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
-
header
public NkStyleWindowHeader header()
- Returns:
- a
NkStyleWindowHeaderview of theheaderfield.
-
fixed_background
public NkStyleItem fixed_background()
- Returns:
- a
NkStyleItemview of thefixed_backgroundfield.
-
popup_border_color
public NkColor popup_border_color()
- Returns:
- a
NkColorview of thepopup_border_colorfield.
-
combo_border_color
public NkColor combo_border_color()
- Returns:
- a
NkColorview of thecombo_border_colorfield.
-
contextual_border_color
public NkColor contextual_border_color()
- Returns:
- a
NkColorview of thecontextual_border_colorfield.
-
menu_border_color
public NkColor menu_border_color()
- Returns:
- a
NkColorview of themenu_border_colorfield.
-
group_border_color
public NkColor group_border_color()
- Returns:
- a
NkColorview of thegroup_border_colorfield.
-
tooltip_border_color
public NkColor tooltip_border_color()
- Returns:
- a
NkColorview of thetooltip_border_colorfield.
-
scaler
public NkStyleItem scaler()
- Returns:
- a
NkStyleItemview of thescalerfield.
-
border
public float border()
- Returns:
- the value of the
borderfield.
-
combo_border
public float combo_border()
- Returns:
- the value of the
combo_borderfield.
-
contextual_border
public float contextual_border()
- Returns:
- the value of the
contextual_borderfield.
-
menu_border
public float menu_border()
- Returns:
- the value of the
menu_borderfield.
-
group_border
public float group_border()
- Returns:
- the value of the
group_borderfield.
-
tooltip_border
public float tooltip_border()
- Returns:
- the value of the
tooltip_borderfield.
-
popup_border
public float popup_border()
- Returns:
- the value of the
popup_borderfield.
-
min_row_height_padding
public float min_row_height_padding()
- Returns:
- the value of the
min_row_height_paddingfield.
-
rounding
public float rounding()
- Returns:
- the value of the
roundingfield.
-
contextual_padding
public NkVec2 contextual_padding()
- Returns:
- a
NkVec2view of thecontextual_paddingfield.
-
tooltip_padding
public NkVec2 tooltip_padding()
- Returns:
- a
NkVec2view of thetooltip_paddingfield.
-
header
public NkStyleWindow.Buffer header(NkStyleWindowHeader value)
Copies the specifiedNkStyleWindowHeaderto theheaderfield.
-
header
public NkStyleWindow.Buffer header(java.util.function.Consumer<NkStyleWindowHeader> consumer)
Passes theheaderfield to the specifiedConsumer.
-
fixed_background
public NkStyleWindow.Buffer fixed_background(NkStyleItem value)
Copies the specifiedNkStyleItemto thefixed_backgroundfield.
-
fixed_background
public NkStyleWindow.Buffer fixed_background(java.util.function.Consumer<NkStyleItem> consumer)
Passes thefixed_backgroundfield to the specifiedConsumer.
-
background
public NkStyleWindow.Buffer background(NkColor value)
Copies the specifiedNkColorto thebackgroundfield.
-
background
public NkStyleWindow.Buffer background(java.util.function.Consumer<NkColor> consumer)
Passes thebackgroundfield to the specifiedConsumer.
-
border_color
public NkStyleWindow.Buffer border_color(NkColor value)
Copies the specifiedNkColorto theborder_colorfield.
-
border_color
public NkStyleWindow.Buffer border_color(java.util.function.Consumer<NkColor> consumer)
Passes theborder_colorfield to the specifiedConsumer.
-
popup_border_color
public NkStyleWindow.Buffer popup_border_color(NkColor value)
Copies the specifiedNkColorto thepopup_border_colorfield.
-
popup_border_color
public NkStyleWindow.Buffer popup_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thepopup_border_colorfield to the specifiedConsumer.
-
combo_border_color
public NkStyleWindow.Buffer combo_border_color(NkColor value)
Copies the specifiedNkColorto thecombo_border_colorfield.
-
combo_border_color
public NkStyleWindow.Buffer combo_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thecombo_border_colorfield to the specifiedConsumer.
-
contextual_border_color
public NkStyleWindow.Buffer contextual_border_color(NkColor value)
Copies the specifiedNkColorto thecontextual_border_colorfield.
-
contextual_border_color
public NkStyleWindow.Buffer contextual_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thecontextual_border_colorfield to the specifiedConsumer.
-
menu_border_color
public NkStyleWindow.Buffer menu_border_color(NkColor value)
Copies the specifiedNkColorto themenu_border_colorfield.
-
menu_border_color
public NkStyleWindow.Buffer menu_border_color(java.util.function.Consumer<NkColor> consumer)
Passes themenu_border_colorfield to the specifiedConsumer.
-
group_border_color
public NkStyleWindow.Buffer group_border_color(NkColor value)
Copies the specifiedNkColorto thegroup_border_colorfield.
-
group_border_color
public NkStyleWindow.Buffer group_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thegroup_border_colorfield to the specifiedConsumer.
-
tooltip_border_color
public NkStyleWindow.Buffer tooltip_border_color(NkColor value)
Copies the specifiedNkColorto thetooltip_border_colorfield.
-
tooltip_border_color
public NkStyleWindow.Buffer tooltip_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thetooltip_border_colorfield to the specifiedConsumer.
-
scaler
public NkStyleWindow.Buffer scaler(NkStyleItem value)
Copies the specifiedNkStyleItemto thescalerfield.
-
scaler
public NkStyleWindow.Buffer scaler(java.util.function.Consumer<NkStyleItem> consumer)
Passes thescalerfield to the specifiedConsumer.
-
border
public NkStyleWindow.Buffer border(float value)
Sets the specified value to theborderfield.
-
combo_border
public NkStyleWindow.Buffer combo_border(float value)
Sets the specified value to thecombo_borderfield.
-
contextual_border
public NkStyleWindow.Buffer contextual_border(float value)
Sets the specified value to thecontextual_borderfield.
-
menu_border
public NkStyleWindow.Buffer menu_border(float value)
Sets the specified value to themenu_borderfield.
-
group_border
public NkStyleWindow.Buffer group_border(float value)
Sets the specified value to thegroup_borderfield.
-
tooltip_border
public NkStyleWindow.Buffer tooltip_border(float value)
Sets the specified value to thetooltip_borderfield.
-
popup_border
public NkStyleWindow.Buffer popup_border(float value)
Sets the specified value to thepopup_borderfield.
-
min_row_height_padding
public NkStyleWindow.Buffer min_row_height_padding(float value)
Sets the specified value to themin_row_height_paddingfield.
-
rounding
public NkStyleWindow.Buffer rounding(float value)
Sets the specified value to theroundingfield.
-
spacing
public NkStyleWindow.Buffer spacing(NkVec2 value)
Copies the specifiedNkVec2to thespacingfield.
-
spacing
public NkStyleWindow.Buffer spacing(java.util.function.Consumer<NkVec2> consumer)
Passes thespacingfield to the specifiedConsumer.
-
scrollbar_size
public NkStyleWindow.Buffer scrollbar_size(NkVec2 value)
Copies the specifiedNkVec2to thescrollbar_sizefield.
-
scrollbar_size
public NkStyleWindow.Buffer scrollbar_size(java.util.function.Consumer<NkVec2> consumer)
Passes thescrollbar_sizefield to the specifiedConsumer.
-
min_size
public NkStyleWindow.Buffer min_size(NkVec2 value)
Copies the specifiedNkVec2to themin_sizefield.
-
min_size
public NkStyleWindow.Buffer min_size(java.util.function.Consumer<NkVec2> consumer)
Passes themin_sizefield to the specifiedConsumer.
-
padding
public NkStyleWindow.Buffer padding(NkVec2 value)
Copies the specifiedNkVec2to thepaddingfield.
-
padding
public NkStyleWindow.Buffer padding(java.util.function.Consumer<NkVec2> consumer)
Passes thepaddingfield to the specifiedConsumer.
-
group_padding
public NkStyleWindow.Buffer group_padding(NkVec2 value)
Copies the specifiedNkVec2to thegroup_paddingfield.
-
group_padding
public NkStyleWindow.Buffer group_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thegroup_paddingfield to the specifiedConsumer.
-
popup_padding
public NkStyleWindow.Buffer popup_padding(NkVec2 value)
Copies the specifiedNkVec2to thepopup_paddingfield.
-
popup_padding
public NkStyleWindow.Buffer popup_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thepopup_paddingfield to the specifiedConsumer.
-
combo_padding
public NkStyleWindow.Buffer combo_padding(NkVec2 value)
Copies the specifiedNkVec2to thecombo_paddingfield.
-
combo_padding
public NkStyleWindow.Buffer combo_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thecombo_paddingfield to the specifiedConsumer.
-
contextual_padding
public NkStyleWindow.Buffer contextual_padding(NkVec2 value)
Copies the specifiedNkVec2to thecontextual_paddingfield.
-
contextual_padding
public NkStyleWindow.Buffer contextual_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thecontextual_paddingfield to the specifiedConsumer.
-
menu_padding
public NkStyleWindow.Buffer menu_padding(NkVec2 value)
Copies the specifiedNkVec2to themenu_paddingfield.
-
menu_padding
public NkStyleWindow.Buffer menu_padding(java.util.function.Consumer<NkVec2> consumer)
Passes themenu_paddingfield to the specifiedConsumer.
-
tooltip_padding
public NkStyleWindow.Buffer tooltip_padding(NkVec2 value)
Copies the specifiedNkVec2to thetooltip_paddingfield.
-
tooltip_padding
public NkStyleWindow.Buffer tooltip_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thetooltip_paddingfield to the specifiedConsumer.
-
-