Package org.lwjgl.nuklear
Class NkItemGetter
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.nuklear.NkItemGetter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,NkItemGetterI
,org.lwjgl.system.CallbackI
,org.lwjgl.system.CallbackI.F
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public abstract class NkItemGetter extends org.lwjgl.system.Callback implements NkItemGetterI
Instances of this class may be passed to thecombo_callback
andcombobox_callback
functions.Type
float (*) ( void *userdata, int selected, char const **item )
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.nuklear.NkItemGetterI
SIGNATURE
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NkItemGetter
create(long functionPointer)
Creates aNkItemGetter
instance from the specified function pointer.static NkItemGetter
create(NkItemGetterI instance)
Creates aNkItemGetter
instance that delegates to the specifiedNkItemGetterI
instance.static NkItemGetter
createSafe(long functionPointer)
-
Methods inherited from class org.lwjgl.system.Callback
__stdcall, address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.nuklear.NkItemGetterI
callback, getSignature, invoke
-
-
-
-
Method Detail
-
create
public static NkItemGetter create(long functionPointer)
Creates aNkItemGetter
instance from the specified function pointer.- Returns:
- the new
NkItemGetter
-
createSafe
@Nullable public static NkItemGetter createSafe(long functionPointer)
-
create
public static NkItemGetter create(NkItemGetterI instance)
Creates aNkItemGetter
instance that delegates to the specifiedNkItemGetterI
instance.
-
-