Top Description Inners Constructors Methods
org.lwjgl.nuklear

public abstract Class NkCommandCustomCallback

extends Callback
implements NkCommandCustomCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.nuklear.NkCommandCustomCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.nuklear.NkCommandCustomCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


void * (*invoke) (
    void *canvas,
    short x,
    short y,
    unsigned short w,
    unsigned short h,
    nk_handle callback_data
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
NkCommandCustomCallback(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static NkCommandCustomCallback

Returns:

the new NkCommandCustomCallback
create
(long functionPointer)

Creates a NkCommandCustomCallback instance from the specified function pointer.

public static NkCommandCustomCallback
create(NkCommandCustomCallbackI instance)

Creates a NkCommandCustomCallback instance that delegates to the specified NkCommandCustomCallbackI instance.

public static NkCommandCustomCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

NkCommandCustomCallbackback to summary
protected NkCommandCustomCallback()
NkCommandCustomCallbackback to summary
pack-priv NkCommandCustomCallback(long functionPointer)

Method Detail

createback to summary
public static NkCommandCustomCallback create(long functionPointer)

Creates a NkCommandCustomCallback instance from the specified function pointer.

Returns:NkCommandCustomCallback

the new NkCommandCustomCallback

createback to summary
public static NkCommandCustomCallback create(NkCommandCustomCallbackI instance)

Creates a NkCommandCustomCallback instance that delegates to the specified NkCommandCustomCallbackI instance.

createSafeback to summary
public static NkCommandCustomCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.nuklear back to summary

private final Class NkCommandCustomCallback.Container

extends NkCommandCustomCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final NkCommandCustomCallbackI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, NkCommandCustomCallbackI delegate)

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long canvas, short x, short y, short w, short h, long callback_data)

Implements org.lwjgl.nuklear.NkCommandCustomCallbackI.invoke.

Inherited from org.lwjgl.nuklear.NkCommandCustomCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final NkCommandCustomCallbackI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, NkCommandCustomCallbackI delegate)

Method Detail

invokeback to summary
public long invoke(long canvas, short x, short y, short w, short h, long callback_data)

Implements org.lwjgl.nuklear.NkCommandCustomCallbackI.invoke.

Annotations
@Override