Package org.lwjgl.system.macosx
Class CGEventTapCallBack
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.system.macosx.CGEventTapCallBack
-
- All Implemented Interfaces:
java.lang.AutoCloseable,CallbackI,CallbackI.P,CGEventTapCallBackI,NativeResource,Pointer
public abstract class CGEventTapCallBack extends Callback implements CGEventTapCallBackI
Instances of this class may be passed to theEventTapCreatemethod.Type
CGEventRef (*) ( CGEventTapProxy proxy, CGEventType type, CGEventRef event, void *userInfo )
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.N, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.macosx.CGEventTapCallBackI
SIGNATURE
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CGEventTapCallBackcreate(long functionPointer)Creates aCGEventTapCallBackinstance from the specified function pointer.static CGEventTapCallBackcreate(CGEventTapCallBackI instance)Creates aCGEventTapCallBackinstance that delegates to the specifiedCGEventTapCallBackIinstance.static CGEventTapCallBackcreateSafe(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.system.macosx.CGEventTapCallBackI
callback, getSignature, invoke
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Method Detail
-
create
public static CGEventTapCallBack create(long functionPointer)
Creates aCGEventTapCallBackinstance from the specified function pointer.- Returns:
- the new
CGEventTapCallBack
-
createSafe
@Nullable public static CGEventTapCallBack createSafe(long functionPointer)
-
create
public static CGEventTapCallBack create(CGEventTapCallBackI instance)
Creates aCGEventTapCallBackinstance that delegates to the specifiedCGEventTapCallBackIinstance.
-
-