Package org.lwjgl.system.macosx
Class CGEventTapCallBack
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.system.macosx.CGEventTapCallBack
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.CallbackI,CGEventTapCallBackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class CGEventTapCallBack
extends org.lwjgl.system.Callback
implements CGEventTapCallBackI
Instances of this class may be passed to the
EventTapCreate method.
Type
CGEventRef (*CGEventTapCallBackI.invoke(long, int, long, long)) (
CGEventTapProxy proxy,
CGEventType type,
CGEventRef event,
void *userInfo
)-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.macosx.CGEventTapCallBackI
CIFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic CGEventTapCallBackcreate(long functionPointer) Creates aCGEventTapCallBackinstance from the specified function pointer.static CGEventTapCallBackcreate(CGEventTapCallBackI instance) Creates aCGEventTapCallBackinstance that delegates to the specifiedCGEventTapCallBackIinstance.static @Nullable CGEventTapCallBackcreateSafe(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.system.CallbackI
addressMethods inherited from interface org.lwjgl.system.macosx.CGEventTapCallBackI
callback, getCallInterface, invokeMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aCGEventTapCallBackinstance from the specified function pointer.- Returns:
- the new
CGEventTapCallBack
-
createSafe
-
create
Creates aCGEventTapCallBackinstance that delegates to the specifiedCGEventTapCallBackIinstance.
-