Top Description Inners Constructors Methods
org.lwjgl.glfw

public abstract Class GLFWCursorEnterCallback

extends Callback
implements GLFWCursorEnterCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.glfw.GLFWCursorEnterCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.glfw.GLFWCursorEnterCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be passed to the SetCursorEnterCallback method.

Type


void (*invoke) (
    GLFWwindow *window,
    int entered
)
Since
version 3.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
GLFWCursorEnterCallback(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static GLFWCursorEnterCallback

Returns:

the new GLFWCursorEnterCallback
create
(long functionPointer)

Creates a GLFWCursorEnterCallback instance from the specified function pointer.

public static GLFWCursorEnterCallback
create(GLFWCursorEnterCallbackI instance)

Creates a GLFWCursorEnterCallback instance that delegates to the specified GLFWCursorEnterCallbackI instance.

public static GLFWCursorEnterCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

public GLFWCursorEnterCallback
set(long window)

See SetCursorEnterCallback.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

GLFWCursorEnterCallbackback to summary
protected GLFWCursorEnterCallback()
GLFWCursorEnterCallbackback to summary
pack-priv GLFWCursorEnterCallback(long functionPointer)

Method Detail

createback to summary
public static GLFWCursorEnterCallback create(long functionPointer)

Creates a GLFWCursorEnterCallback instance from the specified function pointer.

Returns:GLFWCursorEnterCallback

the new GLFWCursorEnterCallback

createback to summary
public static GLFWCursorEnterCallback create(GLFWCursorEnterCallbackI instance)

Creates a GLFWCursorEnterCallback instance that delegates to the specified GLFWCursorEnterCallbackI instance.

createSafeback to summary
public static GLFWCursorEnterCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
setback to summary
public GLFWCursorEnterCallback set(long window)

See SetCursorEnterCallback.

org.lwjgl.glfw back to summary

private final Class GLFWCursorEnterCallback.Container

extends GLFWCursorEnterCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final GLFWCursorEnterCallbackI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, GLFWCursorEnterCallbackI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
the window that received the event
window
,
boolean
TRUE if the cursor entered the window's content area, or FALSE if it left it
entered
)

Implements org.lwjgl.glfw.GLFWCursorEnterCallbackI.invoke.

Will be called when the cursor enters or leaves the client area of the window.
Inherited from org.lwjgl.glfw.GLFWCursorEnterCallback:
createcreatecreateSafeset

Field Detail

delegateback to summary
private final GLFWCursorEnterCallbackI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, GLFWCursorEnterCallbackI delegate)

Method Detail

invokeback to summary
public void invoke(long window, boolean entered)

Implements org.lwjgl.glfw.GLFWCursorEnterCallbackI.invoke.

Doc from org.lwjgl.glfw.GLFWCursorEnterCallbackI.invoke.

Will be called when the cursor enters or leaves the client area of the window.

Parameters
window:long

the window that received the event

entered:boolean

TRUE if the cursor entered the window's content area, or FALSE if it left it

Annotations
@Override