struct nk_clipboard {
nk_handle userdata;
nk_plugin_paste paste;
nk_plugin_copy copy;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkClipboard.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COPY
The struct member offsets. |
| public static final int | PASTE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | USERDATA
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkClipboard(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static NkClipboard | |
| public static NkClipboard. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkClipboard | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkClipboard. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkClipboard | |
| public static NkClipboard | |
| public static NkClipboard. | |
| public static NkClipboard. | |
| public NkPluginCopy | |
| public NkClipboard | |
| protected NkClipboard | 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 NkClipboard | |
| public static NkClipboard | |
| public static NkClipboard. | create(int
the buffer capacity capacity)Returns a new |
| public static NkClipboard. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkClipboard | |
| public static NkClipboard. | |
| public static NkClipboard | |
| public static NkClipboard. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkClipboard | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkClipboard. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkClipboard | |
| public static NkClipboard | |
| public static NkClipboard. | |
| public static NkClipboard. | |
| public static NkPluginCopy | |
| public static void | |
| public static NkPluginPaste | |
| public static void | |
| public static NkHandle | |
| public static void | |
| public NkPluginPaste | |
| public NkClipboard | |
| public NkClipboard | set(NkHandle userdata, NkPluginPasteI paste, NkPluginCopyI copy)
Initializes this struct with the specified values. |
| public NkClipboard | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public NkHandle | |
| public NkClipboard | |
| public NkClipboard |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COPY | back to summary |
|---|---|
| public static final int COPY The struct member offsets. | |
| PASTE | back to summary |
|---|---|
| public static final int PASTE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| USERDATA | back to summary |
|---|---|
| public static final int USERDATA The struct member offsets. | |
| NkClipboard | back to summary |
|---|---|
| protected NkClipboard(long address, ByteBuffer container) | |
| NkClipboard | back to summary |
|---|---|
| public NkClipboard(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static NkClipboard calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static NkClipboard. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkClipboard calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static NkClipboard. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static NkClipboard callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkClipboard callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkClipboard. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static NkClipboard. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| copy | back to summary |
|---|---|
public NkPluginCopy copy()
| |
| copy | back to summary |
|---|---|
| public NkClipboard copy(NkPluginCopyI value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected NkClipboard create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkClipboard create() Returns a new | |
| create | back to summary |
|---|---|
| public static NkClipboard create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkClipboard. Returns a new
| |
| create | back to summary |
|---|---|
| public static NkClipboard. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkClipboard createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkClipboard. Like
| |
| malloc | back to summary |
|---|---|
| public static NkClipboard malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static NkClipboard. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkClipboard malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static NkClipboard. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static NkClipboard mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkClipboard mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkClipboard. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static NkClipboard. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ncopy | back to summary |
|---|---|
| public static NkPluginCopy ncopy(long struct) Unsafe version of
| |
| ncopy | back to summary |
|---|---|
| public static void ncopy(long struct, NkPluginCopyI value) Unsafe version of | |
| npaste | back to summary |
|---|---|
| public static NkPluginPaste npaste(long struct) Unsafe version of
| |
| npaste | back to summary |
|---|---|
| public static void npaste(long struct, NkPluginPasteI value) Unsafe version of | |
| nuserdata | back to summary |
|---|---|
| public static NkHandle nuserdata(long struct) Unsafe version of | |
| nuserdata | back to summary |
|---|---|
| public static void nuserdata(long struct, NkHandle value) Unsafe version of | |
| paste | back to summary |
|---|---|
public NkPluginPaste paste()
| |
| paste | back to summary |
|---|---|
| public NkClipboard paste(NkPluginPasteI value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public NkClipboard set(NkHandle userdata, NkPluginPasteI paste, NkPluginCopyI copy) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public NkClipboard set(NkClipboard src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| userdata | back to summary |
|---|---|
public NkHandle userdata()
| |
| userdata | back to summary |
|---|---|
| public NkClipboard userdata(NkHandle value) Copies the specified | |
| userdata | back to summary |
|---|---|
| public NkClipboard userdata(Consumer<NkHandle> consumer) Passes the | |
NkClipboard structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkClipboard |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NkPluginCopy | |
| public NkClipboard. | |
| protected NkClipboard | |
| public NkPluginPaste | |
| public NkClipboard. | |
| protected NkClipboard. | |
| public NkHandle | |
| public NkClipboard. | |
| public NkClipboard. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkClipboard 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) | |
| copy | back to summary |
|---|---|
public NkPluginCopy copy()
| |
| copy | back to summary |
|---|---|
| public NkClipboard. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected NkClipboard getElementFactory() Implements abstract org.
| |
| paste | back to summary |
|---|---|
public NkPluginPaste paste()
| |
| paste | back to summary |
|---|---|
| public NkClipboard. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected NkClipboard. Implements abstract org.
| |
| userdata | back to summary |
|---|---|
public NkHandle userdata()
| |
| userdata | back to summary |
|---|---|
| public NkClipboard. Copies the specified | |
| userdata | back to summary |
|---|---|
| public NkClipboard. Passes the | |