struct nk_edit_state {
nk_hash name;
unsigned int seq;
unsigned int old;
int active;
int prev;
int cursor;
int sel_start;
int sel_end;
struct nk_scroll scrollbar;
unsigned char mode;
bool single_line;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkEditState.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACTIVE
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CURSOR
The struct member offsets. |
| public static final int | MODE
The struct member offsets. |
| public static final int | NAME
The struct member offsets. |
| public static final int | OLD
The struct member offsets. |
| public static final int | PREV
The struct member offsets. |
| public static final int | SCROLLBAR
The struct member offsets. |
| public static final int | SEL_END
The struct member offsets. |
| public static final int | SEL_START
The struct member offsets. |
| public static final int | SEQ
The struct member offsets. |
| public static final int | SINGLE_LINE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkEditState(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| protected NkEditState | 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 NkEditState | |
| public static NkEditState. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkEditState | |
| public static NkEditState. | |
| public int | |
| public byte | |
| public static int | |
| public int | |
| public static int | |
| public static byte | |
| public static int | |
| public static int | |
| public static int | |
| public static NkScroll | |
| public static int | |
| public static int | |
| public static int | |
| public static boolean | |
| public int | |
| public int | |
| public NkScroll | |
| public int | |
| public int | |
| public int | |
| public boolean | |
| public int |
| ACTIVE | back to summary |
|---|---|
| public static final int ACTIVE The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CURSOR | back to summary |
|---|---|
| public static final int CURSOR The struct member offsets. | |
| MODE | back to summary |
|---|---|
| public static final int MODE The struct member offsets. | |
| NAME | back to summary |
|---|---|
| public static final int NAME The struct member offsets. | |
| OLD | back to summary |
|---|---|
| public static final int OLD The struct member offsets. | |
| PREV | back to summary |
|---|---|
| public static final int PREV The struct member offsets. | |
| SCROLLBAR | back to summary |
|---|---|
| public static final int SCROLLBAR The struct member offsets. | |
| SEL_END | back to summary |
|---|---|
| public static final int SEL_END The struct member offsets. | |
| SEL_START | back to summary |
|---|---|
| public static final int SEL_START The struct member offsets. | |
| SEQ | back to summary |
|---|---|
| public static final int SEQ The struct member offsets. | |
| SINGLE_LINE | back to summary |
|---|---|
| public static final int SINGLE_LINE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| NkEditState | back to summary |
|---|---|
| protected NkEditState(long address, ByteBuffer container) | |
| NkEditState | back to summary |
|---|---|
| public NkEditState(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| active | back to summary |
|---|---|
public int active()
| |
| create | back to summary |
|---|---|
| protected NkEditState create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkEditState create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkEditState. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkEditState createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkEditState. Like
| |
| cursor | back to summary |
|---|---|
public int cursor()
| |
| mode | back to summary |
|---|---|
public byte mode()
| |
| nactive | back to summary |
|---|---|
| public static int nactive(long struct) Unsafe version of | |
| name | back to summary |
|---|---|
public int name()
| |
| ncursor | back to summary |
|---|---|
| public static int ncursor(long struct) Unsafe version of | |
| nmode | back to summary |
|---|---|
| public static byte nmode(long struct) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static int nname(long struct) Unsafe version of | |
| nold | back to summary |
|---|---|
| public static int nold(long struct) Unsafe version of | |
| nprev | back to summary |
|---|---|
| public static int nprev(long struct) Unsafe version of | |
| nscrollbar | back to summary |
|---|---|
| public static NkScroll nscrollbar(long struct) Unsafe version of | |
| nsel_end | back to summary |
|---|---|
| public static int nsel_end(long struct) Unsafe version of | |
| nsel_start | back to summary |
|---|---|
| public static int nsel_start(long struct) Unsafe version of | |
| nseq | back to summary |
|---|---|
| public static int nseq(long struct) Unsafe version of | |
| nsingle_line | back to summary |
|---|---|
| public static boolean nsingle_line(long struct) Unsafe version of | |
| old | back to summary |
|---|---|
public int old()
| |
| prev | back to summary |
|---|---|
public int prev()
| |
| scrollbar | back to summary |
|---|---|
public NkScroll scrollbar()
| |
| sel_end | back to summary |
|---|---|
public int sel_end()
| |
| sel_start | back to summary |
|---|---|
public int sel_start()
| |
| seq | back to summary |
|---|---|
public int seq()
| |
| single_line | back to summary |
|---|---|
public boolean single_line()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
NkEditState structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkEditState |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| protected NkEditState | |
| public byte | |
| public int | |
| public int | |
| public int | |
| public NkScroll | |
| public int | |
| public int | |
| protected NkEditState. | |
| public int | |
| public boolean |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkEditState 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) | |
| active | back to summary |
|---|---|
public int active()
| |
| cursor | back to summary |
|---|---|
public int cursor()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkEditState getElementFactory() Implements abstract org.
| |
| mode | back to summary |
|---|---|
public byte mode()
| |
| name | back to summary |
|---|---|
public int name()
| |
| old | back to summary |
|---|---|
public int old()
| |
| prev | back to summary |
|---|---|
public int prev()
| |
| scrollbar | back to summary |
|---|---|
public NkScroll scrollbar()
| |
| sel_end | back to summary |
|---|---|
public int sel_end()
| |
| sel_start | back to summary |
|---|---|
public int sel_start()
| |
| self | back to summary |
|---|---|
| protected NkEditState. Implements abstract org.
| |
| seq | back to summary |
|---|---|
public int seq()
| |
| single_line | back to summary |
|---|---|
public boolean single_line()
| |