Top Description Inners Constructors Methods
org.lwjgl.nuklear

public abstract Class NkItemGetter

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

Instances of this class may be passed to the combo_callback and combobox_callback functions.

Type


float (*invoke) (
    void *userdata,
    int selected,
    char const **item
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static NkItemGetter

Returns:

the new NkItemGetter
create
(long functionPointer)

Creates a NkItemGetter instance from the specified function pointer.

public static NkItemGetter
create(NkItemGetterI instance)

Creates a NkItemGetter instance that delegates to the specified NkItemGetterI instance.

public static NkItemGetter
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

NkItemGetterback to summary
protected NkItemGetter()
NkItemGetterback to summary
pack-priv NkItemGetter(long functionPointer)

Method Detail

createback to summary
public static NkItemGetter create(long functionPointer)

Creates a NkItemGetter instance from the specified function pointer.

Returns:NkItemGetter

the new NkItemGetter

createback to summary
public static NkItemGetter create(NkItemGetterI instance)

Creates a NkItemGetter instance that delegates to the specified NkItemGetterI instance.

createSafeback to summary
public static NkItemGetter createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.nuklear back to summary

private final Class NkItemGetter.Container

extends NkItemGetter
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final NkItemGetterI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public float
invoke(long userdata, int selected, long item)

Implements org.lwjgl.nuklear.NkItemGetterI.invoke.

Inherited from org.lwjgl.nuklear.NkItemGetter:
createcreatecreateSafe

Field Detail

delegateback to summary
private final NkItemGetterI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public float invoke(long userdata, int selected, long item)

Implements org.lwjgl.nuklear.NkItemGetterI.invoke.

Annotations
@Override