struct nk_text_undo_state {
struct nk_text_undo_record undo_rec[99];
nk_rune undo_char[999];
short undo_point;
short redo_point;
short undo_char_point;
short redo_char_point;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkTextUndoState.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | REDO_CHAR_POINT
The struct member offsets. |
| public static final int | REDO_POINT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | UNDO_CHAR
The struct member offsets. |
| public static final int | UNDO_CHAR_POINT
The struct member offsets. |
| public static final int | UNDO_POINT
The struct member offsets. |
| public static final int | UNDO_REC
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkTextUndoState(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected NkTextUndoState | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static NkTextUndoState | |
| public static NkTextUndoState. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkTextUndoState | |
| public static NkTextUndoState. | |
| public static short | |
| public static short | |
| public static IntBuffer | |
| public static int | |
| public static short | |
| public static short | |
| public static NkTextUndoRecord. | |
| public static NkTextUndoRecord | |
| public short | |
| public short | |
| public int | |
| public IntBuffer | |
| public int | |
| public short | |
| public short | |
| public NkTextUndoRecord. | |
| public NkTextUndoRecord |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| REDO_CHAR_POINT | back to summary |
|---|---|
| public static final int REDO_CHAR_POINT The struct member offsets. | |
| REDO_POINT | back to summary |
|---|---|
| public static final int REDO_POINT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| UNDO_CHAR | back to summary |
|---|---|
| public static final int UNDO_CHAR The struct member offsets. | |
| UNDO_CHAR_POINT | back to summary |
|---|---|
| public static final int UNDO_CHAR_POINT The struct member offsets. | |
| UNDO_POINT | back to summary |
|---|---|
| public static final int UNDO_POINT The struct member offsets. | |
| UNDO_REC | back to summary |
|---|---|
| public static final int UNDO_REC The struct member offsets. | |
| NkTextUndoState | back to summary |
|---|---|
| protected NkTextUndoState(long address, ByteBuffer container) | |
| NkTextUndoState | back to summary |
|---|---|
| public NkTextUndoState(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected NkTextUndoState create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkTextUndoState create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkTextUndoState. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkTextUndoState createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkTextUndoState. Like
| |
| nredo_char_point | back to summary |
|---|---|
| public static short nredo_char_point(long struct) Unsafe version of | |
| nredo_point | back to summary |
|---|---|
| public static short nredo_point(long struct) Unsafe version of | |
| nundo_char | back to summary |
|---|---|
| public static IntBuffer nundo_char(long struct) Unsafe version of | |
| nundo_char | back to summary |
|---|---|
| public static int nundo_char(long struct, int index) Unsafe version of | |
| nundo_char_point | back to summary |
|---|---|
| public static short nundo_char_point(long struct) Unsafe version of | |
| nundo_point | back to summary |
|---|---|
| public static short nundo_point(long struct) Unsafe version of | |
| nundo_rec | back to summary |
|---|---|
| public static NkTextUndoRecord. Unsafe version of | |
| nundo_rec | back to summary |
|---|---|
| public static NkTextUndoRecord nundo_rec(long struct, int index) Unsafe version of | |
| redo_char_point | back to summary |
|---|---|
public short redo_char_point()
| |
| redo_point | back to summary |
|---|---|
public short redo_point()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| undo_char | back to summary |
|---|---|
public IntBuffer undo_char()
| |
| undo_char | back to summary |
|---|---|
public int undo_char(int index)
| |
| undo_char_point | back to summary |
|---|---|
public short undo_char_point()
| |
| undo_point | back to summary |
|---|---|
public short undo_point()
| |
| undo_rec | back to summary |
|---|---|
public NkTextUndoRecord.
| |
| undo_rec | back to summary |
|---|---|
public NkTextUndoRecord undo_rec(int index)
| |
NkTextUndoState structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkTextUndoState |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected NkTextUndoState | |
| public short | |
| public short | |
| protected NkTextUndoState. | |
| public IntBuffer | |
| public int | |
| public short | |
| public short | |
| public NkTextUndoRecord. | |
| public NkTextUndoRecord |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkTextUndoState ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected NkTextUndoState getElementFactory() Implements abstract org.
| |
| redo_char_point | back to summary |
|---|---|
public short redo_char_point()
| |
| redo_point | back to summary |
|---|---|
public short redo_point()
| |
| self | back to summary |
|---|---|
| protected NkTextUndoState. Implements abstract org.
| |
| undo_char | back to summary |
|---|---|
public IntBuffer undo_char()
| |
| undo_char | back to summary |
|---|---|
public int undo_char(int index)
| |
| undo_char_point | back to summary |
|---|---|
public short undo_char_point()
| |
| undo_point | back to summary |
|---|---|
public short undo_point()
| |
| undo_rec | back to summary |
|---|---|
public NkTextUndoRecord.
| |
| undo_rec | back to summary |
|---|---|
public NkTextUndoRecord undo_rec(int index)
| |