Package org.lwjgl.nuklear
Class NkTextUndoState.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<NkTextUndoState,NkTextUndoState.Buffer>
-
- org.lwjgl.nuklear.NkTextUndoState.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<NkTextUndoState>
,org.lwjgl.system.Pointer
- Enclosing class:
- NkTextUndoState
public static class NkTextUndoState.Buffer extends org.lwjgl.system.StructBuffer<NkTextUndoState,NkTextUndoState.Buffer>
An array ofNkTextUndoState
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
redo_char_point()
Returns the value of theredo_char_point
field.short
redo_point()
Returns the value of theredo_point
field.java.nio.IntBuffer
undo_char()
Returns aIntBuffer
view of theundo_char
field.int
undo_char(int index)
Returns the value at the specified index of theundo_char
field.short
undo_char_point()
Returns the value of theundo_char_point
field.short
undo_point()
Returns the value of theundo_point
field.NkTextUndoRecord.Buffer
undo_rec()
Returns aNkTextUndoRecord
.Buffer view of theundo_rec
field.NkTextUndoRecord
undo_rec(int index)
Returns aNkTextUndoRecord
view of the struct at the specified index of theundo_rec
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newNkTextUndoState.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 byNkTextUndoState.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
-
undo_rec
public NkTextUndoRecord.Buffer undo_rec()
Returns aNkTextUndoRecord
.Buffer view of theundo_rec
field.
-
undo_rec
public NkTextUndoRecord undo_rec(int index)
Returns aNkTextUndoRecord
view of the struct at the specified index of theundo_rec
field.
-
undo_char
public java.nio.IntBuffer undo_char()
Returns aIntBuffer
view of theundo_char
field.
-
undo_char
public int undo_char(int index)
Returns the value at the specified index of theundo_char
field.
-
undo_point
public short undo_point()
Returns the value of theundo_point
field.
-
redo_point
public short redo_point()
Returns the value of theredo_point
field.
-
undo_char_point
public short undo_char_point()
Returns the value of theundo_char_point
field.
-
redo_char_point
public short redo_char_point()
Returns the value of theredo_char_point
field.
-
-