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 ofNkTextUndoStatestructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortredo_char_point()shortredo_point()java.nio.IntBufferundo_char()intundo_char(int index)shortundo_char_point()shortundo_point()NkTextUndoRecord.Bufferundo_rec()NkTextUndoRecordundo_rec(int index)
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newNkTextUndoState.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 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:
- a
NkTextUndoRecord.Buffer view of theundo_recfield.
-
undo_rec
public NkTextUndoRecord undo_rec(int index)
- Returns:
- a
NkTextUndoRecordview of the struct at the specified index of theundo_recfield.
-
undo_char
public java.nio.IntBuffer undo_char()
- Returns:
- a
IntBufferview of theundo_charfield.
-
undo_char
public int undo_char(int index)
- Returns:
- the value at the specified index of the
undo_charfield.
-
undo_point
public short undo_point()
- Returns:
- the value of the
undo_pointfield.
-
redo_point
public short redo_point()
- Returns:
- the value of the
redo_pointfield.
-
undo_char_point
public short undo_char_point()
- Returns:
- the value of the
undo_char_pointfield.
-
redo_char_point
public short redo_char_point()
- Returns:
- the value of the
redo_char_pointfield.
-
-