public static class NkTextUndoState.Buffer extends org.lwjgl.system.StructBuffer<NkTextUndoState,NkTextUndoState.Buffer>
NkTextUndoState structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkTextUndoState.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
short |
redo_char_point()
Returns the value of the
redo_char_point field. |
short |
redo_point()
Returns the value of the
redo_point field. |
short |
undo_char_point()
Returns the value of the
undo_char_point field. |
java.nio.IntBuffer |
undo_char()
Returns a
IntBuffer view of the undo_char field. |
int |
undo_char(int index)
Returns the value at the specified index of the
undo_char field. |
short |
undo_point()
Returns the value of the
undo_point field. |
NkTextUndoRecord.Buffer |
undo_rec()
Returns a
NkTextUndoRecord.Buffer view of the undo_rec field. |
NkTextUndoRecord |
undo_rec(int index)
Returns a
NkTextUndoRecord view of the struct at the specified index of the undo_rec field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NkTextUndoState.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 NkTextUndoState.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 NkTextUndoRecord.Buffer undo_rec()
NkTextUndoRecord.Buffer view of the undo_rec field.public NkTextUndoRecord undo_rec(int index)
NkTextUndoRecord view of the struct at the specified index of the undo_rec field.public java.nio.IntBuffer undo_char()
IntBuffer view of the undo_char field.public int undo_char(int index)
undo_char field.public short undo_point()
undo_point field.public short redo_point()
redo_point field.public short undo_char_point()
undo_char_point field.public short redo_char_point()
redo_char_point field.Copyright LWJGL. All Rights Reserved. License terms.