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,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 theEventTapCreatemethod.Type
CGEventRef (*CGEventTapCallBackI.invoke(long, int, long, long)) ( CGEventTapProxy proxy, CGEventType type, CGEventRef event, void *userInfo )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.macosx.CGEventTapCallBackI
CIF
-
-
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
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.system.macosx.CGEventTapCallBackI
callback, getCallInterface, invoke
-
-
-
-
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.
-
-