struct nk_list_view {
int begin;
int end;
int count;
int total_height;
struct nk_context * ctx;
nk_uint * scroll_pointer;
nk_uint scroll_value;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkListView.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BEGIN
The struct member offsets. |
| public static final int | COUNT
The struct member offsets. |
| public static final int | CTX
The struct member offsets. |
| public static final int | END
The struct member offsets. |
| public static final int | SCROLL_POINTER
The struct member offsets. |
| public static final int | SCROLL_VALUE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TOTAL_HEIGHT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkListView(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static NkListView | |
| public static NkListView. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkListView | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkListView. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkListView | |
| public static NkListView | |
| public static NkListView. | |
| public static NkListView. | |
| public int | |
| protected NkListView | 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 NkListView | |
| public static NkListView | |
| public static NkListView. | create(int
the buffer capacity capacity)Returns a new |
| public static NkListView. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkListView | |
| public static NkListView. | |
| public int | |
| public static NkListView | |
| public static NkListView. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkListView | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkListView. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkListView | |
| public static NkListView | |
| public static NkListView. | |
| public static NkListView. | |
| public static int | |
| public static int | |
| public static NkContext | |
| public static int | |
| public static IntBuffer | |
| public static int | |
| public static int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BEGIN | back to summary |
|---|---|
| public static final int BEGIN The struct member offsets. | |
| COUNT | back to summary |
|---|---|
| public static final int COUNT The struct member offsets. | |
| CTX | back to summary |
|---|---|
| public static final int CTX The struct member offsets. | |
| END | back to summary |
|---|---|
| public static final int END The struct member offsets. | |
| SCROLL_POINTER | back to summary |
|---|---|
| public static final int SCROLL_POINTER The struct member offsets. | |
| SCROLL_VALUE | back to summary |
|---|---|
| public static final int SCROLL_VALUE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TOTAL_HEIGHT | back to summary |
|---|---|
| public static final int TOTAL_HEIGHT The struct member offsets. | |
| NkListView | back to summary |
|---|---|
| protected NkListView(long address, ByteBuffer container) | |
| NkListView | back to summary |
|---|---|
| public NkListView(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| begin | back to summary |
|---|---|
public int begin()
| |
| calloc | back to summary |
|---|---|
| public static NkListView calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static NkListView. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkListView calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkListView. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static NkListView callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkListView callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkListView. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkListView. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| count | back to summary |
|---|---|
public int count()
| |
| create | back to summary |
|---|---|
| protected NkListView create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkListView create() Returns a new | |
| create | back to summary |
|---|---|
| public static NkListView create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkListView. Returns a new
| |
| create | back to summary |
|---|---|
| public static NkListView. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkListView createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkListView. Like
| |
| end | back to summary |
|---|---|
public int end()
| |
| malloc | back to summary |
|---|---|
| public static NkListView malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static NkListView. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkListView malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkListView. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static NkListView mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkListView mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkListView. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkListView. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbegin | back to summary |
|---|---|
| public static int nbegin(long struct) Unsafe version of | |
| ncount | back to summary |
|---|---|
| public static int ncount(long struct) Unsafe version of | |
| nctx | back to summary |
|---|---|
| public static NkContext nctx(long struct) | |
| nend | back to summary |
|---|---|
| public static int nend(long struct) Unsafe version of | |
| nscroll_pointer | back to summary |
|---|---|
| public static IntBuffer nscroll_pointer(long struct, int capacity) | |
| nscroll_value | back to summary |
|---|---|
| public static int nscroll_value(long struct) | |
| ntotal_height | back to summary |
|---|---|
| public static int ntotal_height(long struct) | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
NkListView structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkListView |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public int | |
| protected NkListView | |
| protected NkListView. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkListView 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) | |
| begin | back to summary |
|---|---|
public int begin()
| |
| count | back to summary |
|---|---|
public int count()
| |
| end | back to summary |
|---|---|
public int end()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkListView getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected NkListView. Implements abstract org.
| |