Top Description Inners Constructors Methods
org.lwjgl.glfw

public abstract Class GLFWWindowIconifyCallback

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

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

Type


void (*invoke) (
    GLFWwindow *window,
    int iconified
)
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
GLFWWindowIconifyCallback(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static GLFWWindowIconifyCallback

Returns:

the new GLFWWindowIconifyCallback
create
(long functionPointer)

Creates a GLFWWindowIconifyCallback instance from the specified function pointer.

public static GLFWWindowIconifyCallback
create(GLFWWindowIconifyCallbackI instance)

Creates a GLFWWindowIconifyCallback instance that delegates to the specified GLFWWindowIconifyCallbackI instance.

public static GLFWWindowIconifyCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

public GLFWWindowIconifyCallback
set(long window)

See SetWindowIconifyCallback.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

GLFWWindowIconifyCallbackback to summary
protected GLFWWindowIconifyCallback()
GLFWWindowIconifyCallbackback to summary
pack-priv GLFWWindowIconifyCallback(long functionPointer)

Method Detail

createback to summary
public static GLFWWindowIconifyCallback create(long functionPointer)

Creates a GLFWWindowIconifyCallback instance from the specified function pointer.

Returns:GLFWWindowIconifyCallback

the new GLFWWindowIconifyCallback

createback to summary
public static GLFWWindowIconifyCallback create(GLFWWindowIconifyCallbackI instance)

Creates a GLFWWindowIconifyCallback instance that delegates to the specified GLFWWindowIconifyCallbackI instance.

createSafeback to summary
public static GLFWWindowIconifyCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

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

See SetWindowIconifyCallback.

org.lwjgl.glfw back to summary

private final Class GLFWWindowIconifyCallback.Container

extends GLFWWindowIconifyCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final GLFWWindowIconifyCallbackI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
the window that was iconified or restored.
window
,
boolean
TRUE if the window was iconified, or FALSE if it was restored
iconified
)

Implements org.lwjgl.glfw.GLFWWindowIconifyCallbackI.invoke.

Will be called when the specified window is iconified or restored.
Inherited from org.lwjgl.glfw.GLFWWindowIconifyCallback:
createcreatecreateSafeset

Field Detail

delegateback to summary
private final GLFWWindowIconifyCallbackI delegate

Constructor Detail

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

Method Detail

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

Implements org.lwjgl.glfw.GLFWWindowIconifyCallbackI.invoke.

Doc from org.lwjgl.glfw.GLFWWindowIconifyCallbackI.invoke.

Will be called when the specified window is iconified or restored.

Parameters
window:long

the window that was iconified or restored.

iconified:boolean

TRUE if the window was iconified, or FALSE if it was restored

Annotations
@Override