JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.util.NEWTFocusAdapter Class Reference
Inheritance diagram for com.jogamp.opengl.test.junit.util.NEWTFocusAdapter:
Collaboration diagram for com.jogamp.opengl.test.junit.util.NEWTFocusAdapter:

Public Member Functions

 NEWTFocusAdapter (final String prefix)
 
void setVerbose (final boolean v)
 Instance starts in verbose mode, call w/ false to disable verbosity. More...
 
boolean focusLost ()
 
boolean focusGained ()
 
void reset ()
 
void windowGainedFocus (final WindowEvent e)
 Window gained focus. More...
 
void windowLostFocus (final WindowEvent e)
 Window lost focus. More...
 
void windowResized (final WindowEvent e)
 Window is resized, your application shall respect the new window dimension. More...
 
void windowMoved (final WindowEvent e)
 Window has been moved. More...
 
void windowDestroyNotify (final WindowEvent e)
 Window destruction has been requested. More...
 
void windowDestroyed (final WindowEvent e)
 Window has been destroyed. More...
 
void windowRepaint (final WindowUpdateEvent e)
 Window area shall be repainted. More...
 
String toString ()
 
void windowResized (WindowEvent e)
 Window is resized, your application shall respect the new window dimension. More...
 
void windowMoved (WindowEvent e)
 Window has been moved. More...
 
void windowDestroyNotify (WindowEvent e)
 Window destruction has been requested. More...
 
void windowDestroyed (WindowEvent e)
 Window has been destroyed. More...
 
void windowGainedFocus (WindowEvent e)
 Window gained focus. More...
 
void windowLostFocus (WindowEvent e)
 Window lost focus. More...
 
void windowRepaint (WindowUpdateEvent e)
 Window area shall be repainted. More...
 
boolean focusLost ()
 
boolean focusGained ()
 
void reset ()
 
void setVerbose (boolean v)
 Instance starts in verbose mode, call w/ false to disable verbosity. More...
 

Detailed Description

Definition at line 35 of file NEWTFocusAdapter.java.

Constructor & Destructor Documentation

◆ NEWTFocusAdapter()

com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.NEWTFocusAdapter ( final String  prefix)

Definition at line 41 of file NEWTFocusAdapter.java.

Here is the call graph for this function:

Member Function Documentation

◆ focusGained()

boolean com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.focusGained ( )

Implements com.jogamp.opengl.test.junit.util.FocusEventCountAdapter.

Definition at line 52 of file NEWTFocusAdapter.java.

Here is the caller graph for this function:

◆ focusLost()

boolean com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.focusLost ( )

Implements com.jogamp.opengl.test.junit.util.FocusEventCountAdapter.

Definition at line 48 of file NEWTFocusAdapter.java.

Here is the caller graph for this function:

◆ reset()

void com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.reset ( )

Implements com.jogamp.opengl.test.junit.util.EventCountAdapter.

Definition at line 56 of file NEWTFocusAdapter.java.

Here is the caller graph for this function:

◆ setVerbose()

void com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.setVerbose ( final boolean  v)

Instance starts in verbose mode, call w/ false to disable verbosity.

Implements com.jogamp.opengl.test.junit.util.EventCountAdapter.

Definition at line 46 of file NEWTFocusAdapter.java.

◆ toString()

String com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.toString ( )

Definition at line 82 of file NEWTFocusAdapter.java.

◆ windowDestroyed()

void com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.windowDestroyed ( final WindowEvent  e)

Window has been destroyed.

Implements com.jogamp.newt.event.WindowListener.

Definition at line 79 of file NEWTFocusAdapter.java.

◆ windowDestroyNotify()

void com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.windowDestroyNotify ( final WindowEvent  e)

Window destruction has been requested.

Depending on the default close operation, the window maybe destroyed or not.

In case the window will be destroyed (see above), release of resources is recommended.

Implements com.jogamp.newt.event.WindowListener.

Definition at line 78 of file NEWTFocusAdapter.java.

◆ windowGainedFocus()

void com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.windowGainedFocus ( final WindowEvent  e)

Window gained focus.

Implements com.jogamp.newt.event.WindowListener.

Definition at line 60 of file NEWTFocusAdapter.java.

◆ windowLostFocus()

void com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.windowLostFocus ( final WindowEvent  e)

Window lost focus.

Implements com.jogamp.newt.event.WindowListener.

Definition at line 68 of file NEWTFocusAdapter.java.

◆ windowMoved()

void com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.windowMoved ( final WindowEvent  e)

Window has been moved.

Implements com.jogamp.newt.event.WindowListener.

Definition at line 77 of file NEWTFocusAdapter.java.

◆ windowRepaint()

void com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.windowRepaint ( final WindowUpdateEvent  e)

Window area shall be repainted.

Implements com.jogamp.newt.event.WindowListener.

Definition at line 80 of file NEWTFocusAdapter.java.

◆ windowResized()

void com.jogamp.opengl.test.junit.util.NEWTFocusAdapter.windowResized ( final WindowEvent  e)

Window is resized, your application shall respect the new window dimension.

A repaint is recommended.

Implements com.jogamp.newt.event.WindowListener.

Definition at line 76 of file NEWTFocusAdapter.java.


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