Top Description Inners Constructors Methods
org.lwjgl.nuklear

public abstract Class NkValueGetter

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

Instances of this class may be passed to the plot_function function.

Type


float (*invoke) (
    void *userdata,
    int index
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static NkValueGetter

Returns:

the new NkValueGetter
create
(long functionPointer)

Creates a NkValueGetter instance from the specified function pointer.

public static NkValueGetter
create(NkValueGetterI instance)

Creates a NkValueGetter instance that delegates to the specified NkValueGetterI instance.

public static NkValueGetter
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

NkValueGetterback to summary
protected NkValueGetter()
NkValueGetterback to summary
pack-priv NkValueGetter(long functionPointer)

Method Detail

createback to summary
public static NkValueGetter create(long functionPointer)

Creates a NkValueGetter instance from the specified function pointer.

Returns:NkValueGetter

the new NkValueGetter

createback to summary
public static NkValueGetter create(NkValueGetterI instance)

Creates a NkValueGetter instance that delegates to the specified NkValueGetterI instance.

createSafeback to summary
public static NkValueGetter createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.nuklear back to summary

private final Class NkValueGetter.Container

extends NkValueGetter
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final NkValueGetterI

Constructor Summary

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

Method Summary

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

Implements org.lwjgl.nuklear.NkValueGetterI.invoke.

Inherited from org.lwjgl.nuklear.NkValueGetter:
createcreatecreateSafe

Field Detail

delegateback to summary
private final NkValueGetterI delegate

Constructor Detail

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

Method Detail

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

Implements org.lwjgl.nuklear.NkValueGetterI.invoke.

Annotations
@Override