JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.WindowClosingProtocol.WindowClosingMode Enum Reference

Window closing mode if triggered by toolkit close operation. More...

Collaboration diagram for com.jogamp.nativewindow.WindowClosingProtocol.WindowClosingMode:

Public Attributes

 DO_NOTHING_ON_CLOSE
 Do nothing on native window close operation. More...
 
 DISPOSE_ON_CLOSE
 Dispose resources on native window close operation. More...
 

Detailed Description

Window closing mode if triggered by toolkit close operation.

Definition at line 44 of file WindowClosingProtocol.java.

Member Data Documentation

◆ DISPOSE_ON_CLOSE

com.jogamp.nativewindow.WindowClosingProtocol.WindowClosingMode.DISPOSE_ON_CLOSE

Dispose resources on native window close operation.


This is the default behavior in case no underlying toolkit defines otherwise.

Definition at line 55 of file WindowClosingProtocol.java.

◆ DO_NOTHING_ON_CLOSE

com.jogamp.nativewindow.WindowClosingProtocol.WindowClosingMode.DO_NOTHING_ON_CLOSE

Do nothing on native window close operation.


This is the default behavior within an AWT environment.

Definition at line 49 of file WindowClosingProtocol.java.


The documentation for this enum was generated from the following file: