Package org.lwjgl.nanovg
Class BNDtheme.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<SELF>
org.lwjgl.system.StructBuffer<BNDtheme,BNDtheme.Buffer>
org.lwjgl.nanovg.BNDtheme.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<BNDtheme>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
BNDtheme
public static class BNDtheme.Buffer
extends org.lwjgl.system.StructBuffer<BNDtheme,BNDtheme.Buffer>
implements org.lwjgl.system.NativeResource
An array of
BNDtheme structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newBNDtheme.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor(Consumer<NVGColor> consumer) Passes theBNDtheme.backgroundColor()field to the specifiedConsumer.backgroundColor(NVGColor value) Copies the specifiedNVGColorto theBNDtheme.backgroundColor()field.choiceTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.choiceTheme()field to the specifiedConsumer.choiceTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.choiceTheme()field.menuItemTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.menuItemTheme()field to the specifiedConsumer.menuItemTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.menuItemTheme()field.menuTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.menuTheme()field to the specifiedConsumer.menuTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.menuTheme()field.nodeTheme(Consumer<BNDnodeTheme> consumer) Passes theBNDtheme.nodeTheme()field to the specifiedConsumer.nodeTheme(BNDnodeTheme value) Copies the specifiedBNDnodeThemeto theBNDtheme.nodeTheme()field.numberFieldTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.numberFieldTheme()field to the specifiedConsumer.numberFieldTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.numberFieldTheme()field.optionTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.optionTheme()field to the specifiedConsumer.optionTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.optionTheme()field.radioTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.radioTheme()field to the specifiedConsumer.radioTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.radioTheme()field.regularTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.regularTheme()field to the specifiedConsumer.regularTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.regularTheme()field.scrollBarTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.scrollBarTheme()field to the specifiedConsumer.scrollBarTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.scrollBarTheme()field.sliderTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.sliderTheme()field to the specifiedConsumer.sliderTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.sliderTheme()field.textFieldTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.textFieldTheme()field to the specifiedConsumer.textFieldTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.textFieldTheme()field.toolTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.toolTheme()field to the specifiedConsumer.toolTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.toolTheme()field.tooltipTheme(Consumer<BNDwidgetTheme> consumer) Passes theBNDtheme.tooltipTheme()field to the specifiedConsumer.tooltipTheme(BNDwidgetTheme value) Copies the specifiedBNDwidgetThemeto theBNDtheme.tooltipTheme()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newBNDtheme.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 by
BNDtheme.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 Details
-
backgroundColor
- Returns:
- a
NVGColorview of theBNDtheme.backgroundColor()field.
-
regularTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.regularTheme()field.
-
toolTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.toolTheme()field.
-
radioTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.radioTheme()field.
-
textFieldTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.textFieldTheme()field.
-
optionTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.optionTheme()field.
-
choiceTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.choiceTheme()field.
-
numberFieldTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.numberFieldTheme()field.
-
sliderTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.sliderTheme()field.
-
scrollBarTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.scrollBarTheme()field.
-
tooltipTheme
- Returns:
- a
BNDwidgetThemeview of theBNDtheme.tooltipTheme()field.
-
nodeTheme
- Returns:
- a
BNDnodeThemeview of theBNDtheme.nodeTheme()field.
-
backgroundColor
Copies the specifiedNVGColorto theBNDtheme.backgroundColor()field. -
backgroundColor
Passes theBNDtheme.backgroundColor()field to the specifiedConsumer. -
regularTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.regularTheme()field. -
regularTheme
Passes theBNDtheme.regularTheme()field to the specifiedConsumer. -
toolTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.toolTheme()field. -
toolTheme
Passes theBNDtheme.toolTheme()field to the specifiedConsumer. -
radioTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.radioTheme()field. -
radioTheme
Passes theBNDtheme.radioTheme()field to the specifiedConsumer. -
textFieldTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.textFieldTheme()field. -
textFieldTheme
Passes theBNDtheme.textFieldTheme()field to the specifiedConsumer. -
optionTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.optionTheme()field. -
optionTheme
Passes theBNDtheme.optionTheme()field to the specifiedConsumer. -
choiceTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.choiceTheme()field. -
choiceTheme
Passes theBNDtheme.choiceTheme()field to the specifiedConsumer. -
numberFieldTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.numberFieldTheme()field. -
numberFieldTheme
Passes theBNDtheme.numberFieldTheme()field to the specifiedConsumer. -
sliderTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.sliderTheme()field. -
sliderTheme
Passes theBNDtheme.sliderTheme()field to the specifiedConsumer. -
scrollBarTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.scrollBarTheme()field. -
scrollBarTheme
Passes theBNDtheme.scrollBarTheme()field to the specifiedConsumer. -
tooltipTheme
Copies the specifiedBNDwidgetThemeto theBNDtheme.tooltipTheme()field. -
tooltipTheme
Passes theBNDtheme.tooltipTheme()field to the specifiedConsumer. -
nodeTheme
Copies the specifiedBNDnodeThemeto theBNDtheme.nodeTheme()field. -
nodeTheme
Passes theBNDtheme.nodeTheme()field to the specifiedConsumer.
-