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

Protocol for handling window closing events. More...

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

Classes

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

Public Member Functions

WindowClosingMode getDefaultCloseOperation ()
 
WindowClosingMode setDefaultCloseOperation (WindowClosingMode op)
 

Detailed Description

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.

Member Function Documentation

◆ getDefaultCloseOperation()

◆ setDefaultCloseOperation()


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