Top Description Inners Constructors Methods
org.lwjgl.glfw

public abstract Class GLFWWindowMaximizeCallback

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

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

Type


void (*invoke) (
    GLFWwindow *window,
    int maximized
)
Since
version 3.3

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static GLFWWindowMaximizeCallback

Returns:

the new GLFWWindowMaximizeCallback
create
(long functionPointer)

Creates a GLFWWindowMaximizeCallback instance from the specified function pointer.

public static GLFWWindowMaximizeCallback
create(GLFWWindowMaximizeCallbackI instance)

Creates a GLFWWindowMaximizeCallback instance that delegates to the specified GLFWWindowMaximizeCallbackI instance.

public static GLFWWindowMaximizeCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

public GLFWWindowMaximizeCallback
set(long window)

See SetWindowMaximizeCallback.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

GLFWWindowMaximizeCallbackback to summary
protected GLFWWindowMaximizeCallback()
GLFWWindowMaximizeCallbackback to summary
pack-priv GLFWWindowMaximizeCallback(long functionPointer)

Method Detail

createback to summary
public static GLFWWindowMaximizeCallback create(long functionPointer)

Creates a GLFWWindowMaximizeCallback instance from the specified function pointer.

Returns:GLFWWindowMaximizeCallback

the new GLFWWindowMaximizeCallback

createback to summary
public static GLFWWindowMaximizeCallback create(GLFWWindowMaximizeCallbackI instance)

Creates a GLFWWindowMaximizeCallback instance that delegates to the specified GLFWWindowMaximizeCallbackI instance.

createSafeback to summary
public static GLFWWindowMaximizeCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

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

See SetWindowMaximizeCallback.

org.lwjgl.glfw back to summary

private final Class GLFWWindowMaximizeCallback.Container

extends GLFWWindowMaximizeCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final GLFWWindowMaximizeCallbackI

Constructor Summary

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

Method Summary

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

Implements org.lwjgl.glfw.GLFWWindowMaximizeCallbackI.invoke.

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

Field Detail

delegateback to summary
private final GLFWWindowMaximizeCallbackI delegate

Constructor Detail

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

Method Detail

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

Implements org.lwjgl.glfw.GLFWWindowMaximizeCallbackI.invoke.

Doc from org.lwjgl.glfw.GLFWWindowMaximizeCallbackI.invoke.

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

Parameters
window:long

the window that was maximized or restored.

maximized:boolean

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

Annotations
@Override