Package org.lwjgl.nuklear
Interface NkItemGetterI
-
- All Superinterfaces:
CallbackI
,CallbackI.F
,Pointer
- All Known Implementing Classes:
NkItemGetter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface NkItemGetterI extends CallbackI.F
Instances of this interface 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
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SIGNATURE
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default float
callback(long args)
Will be called by native code.default java.lang.String
getSignature()
Returns the dyncall signature for this callback function.float
invoke(long userdata, int selected, long item)
-
-
-
Field Detail
-
SIGNATURE
static final java.lang.String SIGNATURE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSignature
default java.lang.String getSignature()
Description copied from interface:CallbackI
Returns the dyncall signature for this callback function. [INTERNAL API]- Specified by:
getSignature
in interfaceCallbackI
- Returns:
- the dyncall signature
-
callback
default float callback(long args)
Description copied from interface:CallbackI.F
Will be called by native code.- Specified by:
callback
in interfaceCallbackI.F
- Parameters:
args
- pointer to aDCArgs
iterator- Returns:
- the value to store to the result
DCValue
-
invoke
float invoke(long userdata, int selected, long item)
-
-