|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Protocol for handling window closing events. More...
Classes | |
| enum | WindowClosingMode |
| Window closing mode if triggered by toolkit close operation. More... | |
Public Member Functions | |
| WindowClosingMode | getDefaultCloseOperation () |
| WindowClosingMode | setDefaultCloseOperation (WindowClosingMode op) |
Protocol for handling window closing events.
The implementation shall obey either the user value set by this interface,
an underlying toolkit set user value or it's default, eg. DO_NOTHING_ON_CLOSE within an AWT environment.
If none of the above determines the operation, this protocol default behavior DISPOSE_ON_CLOSE shall be used.
Definition at line 39 of file WindowClosingProtocol.java.
| WindowClosingMode com.jogamp.nativewindow.WindowClosingProtocol.getDefaultCloseOperation | ( | ) |
Implemented in com.jogamp.opengl.awt.GLCanvas, com.jogamp.opengl.awt.GLJPanel, com.jogamp.nativewindow.awt.AWTWindowClosingProtocol, com.jogamp.newt.awt.NewtCanvasAWT, com.jogamp.newt.javafx.NewtCanvasJFX, com.jogamp.newt.opengl.GLWindow, and com.jogamp.newt.swt.NewtCanvasSWT.
| WindowClosingMode com.jogamp.nativewindow.WindowClosingProtocol.setDefaultCloseOperation | ( | WindowClosingMode | op | ) |
| op | the new close operation value |
Implemented in com.jogamp.opengl.awt.GLCanvas, com.jogamp.opengl.awt.GLJPanel, com.jogamp.nativewindow.awt.AWTWindowClosingProtocol, com.jogamp.newt.awt.NewtCanvasAWT, com.jogamp.newt.javafx.NewtCanvasJFX, com.jogamp.newt.opengl.GLWindow, and com.jogamp.newt.swt.NewtCanvasSWT.