struct nk_property_state {
int active;
int prev;
char buffer[NK_MAX_NUMBER_BUFFER];
int length;
int cursor;
int select_start;
int select_end;
nk_hash name;
unsigned int seq;
unsigned int old;
int state;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkPropertyState.
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 | BUFFER
The struct member offsets. |
| public static final int | CURSOR
The struct member offsets. |
| public static final int | LENGTH
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 | SELECT_END
The struct member offsets. |
| public static final int | SELECT_START
The struct member offsets. |
| public static final int | SEQ
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STATE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkPropertyState(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ByteBuffer | |
| public byte | |
| protected NkPropertyState | 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 NkPropertyState | |
| public static NkPropertyState. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkPropertyState | |
| public static NkPropertyState. | |
| public int | |
| public int | |
| public static int | |
| public int | |
| public static ByteBuffer | |
| public static byte | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| 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. | |
| BUFFER | back to summary |
|---|---|
| public static final int BUFFER The struct member offsets. | |
| CURSOR | back to summary |
|---|---|
| public static final int CURSOR The struct member offsets. | |
| LENGTH | back to summary |
|---|---|
| public static final int LENGTH 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. | |
| SELECT_END | back to summary |
|---|---|
| public static final int SELECT_END The struct member offsets. | |
| SELECT_START | back to summary |
|---|---|
| public static final int SELECT_START The struct member offsets. | |
| SEQ | back to summary |
|---|---|
| public static final int SEQ The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STATE | back to summary |
|---|---|
| public static final int STATE The struct member offsets. | |
| NkPropertyState | back to summary |
|---|---|
| protected NkPropertyState(long address, ByteBuffer container) | |
| NkPropertyState | back to summary |
|---|---|
| public NkPropertyState(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| active | back to summary |
|---|---|
public int active()
| |
| buffer | back to summary |
|---|---|
public ByteBuffer buffer()
| |
| buffer | back to summary |
|---|---|
public byte buffer(int index)
| |
| create | back to summary |
|---|---|
| protected NkPropertyState create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkPropertyState create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkPropertyState. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkPropertyState createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkPropertyState. Like
| |
| cursor | back to summary |
|---|---|
public int cursor()
| |
| length | back to summary |
|---|---|
public int length()
| |
| nactive | back to summary |
|---|---|
| public static int nactive(long struct) Unsafe version of | |
| name | back to summary |
|---|---|
public int name()
| |
| nbuffer | back to summary |
|---|---|
| public static ByteBuffer nbuffer(long struct) Unsafe version of | |
| nbuffer | back to summary |
|---|---|
| public static byte nbuffer(long struct, int index) Unsafe version of | |
| ncursor | back to summary |
|---|---|
| public static int ncursor(long struct) Unsafe version of | |
| nlength | back to summary |
|---|---|
| public static int nlength(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 | |
| nselect_end | back to summary |
|---|---|
| public static int nselect_end(long struct) Unsafe version of | |
| nselect_start | back to summary |
|---|---|
| public static int nselect_start(long struct) Unsafe version of | |
| nseq | back to summary |
|---|---|
| public static int nseq(long struct) Unsafe version of | |
| nstate | back to summary |
|---|---|
| public static int nstate(long struct) Unsafe version of | |
| old | back to summary |
|---|---|
public int old()
| |
| prev | back to summary |
|---|---|
public int prev()
| |
| select_end | back to summary |
|---|---|
public int select_end()
| |
| select_start | back to summary |
|---|---|
public int select_start()
| |
| seq | back to summary |
|---|---|
public int seq()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| state | back to summary |
|---|---|
public int state()
| |
NkPropertyState structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkPropertyState |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ByteBuffer | |
| public byte | |
| public int | |
| protected NkPropertyState | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| protected NkPropertyState. | |
| public int | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkPropertyState 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()
| |
| buffer | back to summary |
|---|---|
public ByteBuffer buffer()
| |
| buffer | back to summary |
|---|---|
public byte buffer(int index)
| |
| cursor | back to summary |
|---|---|
public int cursor()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkPropertyState getElementFactory() Implements abstract org.
| |
| length | back to summary |
|---|---|
public int length()
| |
| name | back to summary |
|---|---|
public int name()
| |
| old | back to summary |
|---|---|
public int old()
| |
| prev | back to summary |
|---|---|
public int prev()
| |
| select_end | back to summary |
|---|---|
public int select_end()
| |
| select_start | back to summary |
|---|---|
public int select_start()
| |
| self | back to summary |
|---|---|
| protected NkPropertyState. Implements abstract org.
| |
| seq | back to summary |
|---|---|
public int seq()
| |
| state | back to summary |
|---|---|
public int state()
| |