JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.newt.event.awt.AWTWindowAdapter Class Reference
Inheritance diagram for com.jogamp.newt.event.awt.AWTWindowAdapter:
Collaboration diagram for com.jogamp.newt.event.awt.AWTWindowAdapter:

Classes

class  WindowClosingListener
 

Public Member Functions

 AWTWindowAdapter (final com.jogamp.newt.event.WindowListener newtListener, final NativeSurfaceHolder nsProxy)
 
 AWTWindowAdapter (final com.jogamp.newt.event.WindowListener newtListener, final com.jogamp.newt.Window newtProxy)
 
 AWTWindowAdapter (final com.jogamp.newt.Window downstream)
 
 AWTWindowAdapter ()
 
synchronized AWTAdapter addTo (final java.awt.Component awtComponent)
 Due to the fact that some NEWT com.jogamp.newt.event.NEWTEventListener are mapped to more than one java.util.EventListener, this method is for your convenience to use this Adapter as a listener for all types. More...
 
synchronized AWTAdapter removeWindowClosingFrom (final java.awt.Component awtComponent)
 
synchronized AWTAdapter removeFrom (final java.awt.Component awtComponent)
 
synchronized void focusGained (final java.awt.event.FocusEvent e)
 
synchronized void focusLost (final java.awt.event.FocusEvent e)
 
synchronized void componentResized (final java.awt.event.ComponentEvent e)
 
synchronized void componentMoved (final java.awt.event.ComponentEvent e)
 
synchronized void componentShown (final java.awt.event.ComponentEvent e)
 
synchronized void componentHidden (final java.awt.event.ComponentEvent e)
 
synchronized void windowActivated (final java.awt.event.WindowEvent e)
 
synchronized void windowClosed (final java.awt.event.WindowEvent e)
 
synchronized void windowClosing (final java.awt.event.WindowEvent e)
 
synchronized void windowDeactivated (final java.awt.event.WindowEvent e)
 
synchronized void windowDeiconified (final java.awt.event.WindowEvent e)
 
synchronized void windowIconified (final java.awt.event.WindowEvent e)
 
synchronized void windowOpened (final java.awt.event.WindowEvent e)
 
- Public Member Functions inherited from com.jogamp.newt.event.awt.AWTAdapter
 AWTAdapter ()
 
synchronized AWTAdapter setDownstream (final com.jogamp.newt.Window downstream) throws IllegalStateException
 Setup a pipeline adapter, AWT EventListener. More...
 
synchronized AWTAdapter clear ()
 Removes all references, downstream and NEWT-EventListener. More...
 
final synchronized void setConsumeAWTEvent (final boolean v)
 
final synchronized NativeSurfaceHolder getNativeSurfaceHolder ()
 Returns the NativeSurfaceHolder acting as downstream, NEWT window proxy or as an NativeSurfaceHolder proxy. More...
 
final synchronized com.jogamp.newt.Window getNewtWindow ()
 Returns the NEWT Window acting as downstream or as a NEWT window proxy. More...
 
final synchronized com.jogamp.newt.event.NEWTEventListener getNewtEventListener ()
 Returns the NEWT event-listener if instance is used as an NativeSurfaceHolder proxy or NEWT window proxy, otherwise method returns null. More...
 
abstract AWTAdapter addTo (java.awt.Component awtComponent)
 Due to the fact that some NEWT com.jogamp.newt.event.NEWTEventListener are mapped to more than one java.util.EventListener, this method is for your convenience to use this Adapter as a listener for all types. More...
 
abstract AWTAdapter removeFrom (java.awt.Component awtComponent)
 

Additional Inherited Members

- Static Public Attributes inherited from com.jogamp.newt.event.awt.AWTAdapter
static final boolean DEBUG_IMPLEMENTATION = Debug.debug("Window")
 
- Protected Member Functions inherited from com.jogamp.newt.event.awt.AWTAdapter
 AWTAdapter (final com.jogamp.newt.event.NEWTEventListener newtListener, final NativeSurfaceHolder nsProxy)
 Create a proxy adapter, wrapping around an NEWT EventListener, exposed as an AWT EventListener,
where the given NativeSurfaceHolder impersonates the event's source. More...
 
 AWTAdapter (final com.jogamp.newt.event.NEWTEventListener newtListener, final com.jogamp.newt.Window newtProxy)
 Create a proxy adapter, wrapping around an NEWT EventListener, exposed as an AWT EventListener,
where the given NEWT Window, a NativeSurfaceHolder, impersonates the event's source. More...
 
 AWTAdapter (final com.jogamp.newt.Window downstream) throws IllegalStateException
 Create a pipeline adapter, AWT EventListener. More...
 
- Protected Attributes inherited from com.jogamp.newt.event.awt.AWTAdapter
boolean isSetup
 

Detailed Description

Definition at line 37 of file AWTWindowAdapter.java.

Constructor & Destructor Documentation

◆ AWTWindowAdapter() [1/4]

com.jogamp.newt.event.awt.AWTWindowAdapter.AWTWindowAdapter ( final com.jogamp.newt.event.WindowListener  newtListener,
final NativeSurfaceHolder  nsProxy 
)

Definition at line 43 of file AWTWindowAdapter.java.

◆ AWTWindowAdapter() [2/4]

com.jogamp.newt.event.awt.AWTWindowAdapter.AWTWindowAdapter ( final com.jogamp.newt.event.WindowListener  newtListener,
final com.jogamp.newt.Window  newtProxy 
)

Definition at line 47 of file AWTWindowAdapter.java.

◆ AWTWindowAdapter() [3/4]

com.jogamp.newt.event.awt.AWTWindowAdapter.AWTWindowAdapter ( final com.jogamp.newt.Window  downstream)

Definition at line 51 of file AWTWindowAdapter.java.

◆ AWTWindowAdapter() [4/4]

com.jogamp.newt.event.awt.AWTWindowAdapter.AWTWindowAdapter ( )

Definition at line 55 of file AWTWindowAdapter.java.

Member Function Documentation

◆ addTo()

synchronized AWTAdapter com.jogamp.newt.event.awt.AWTWindowAdapter.addTo ( final java.awt.Component  awtComponent)

Due to the fact that some NEWT com.jogamp.newt.event.NEWTEventListener are mapped to more than one java.util.EventListener, this method is for your convenience to use this Adapter as a listener for all types.


E.g. com.jogamp.newt.event.MouseListener is mapped to java.awt.event.MouseListener and java.awt.event.MouseMotionListener.

Reimplemented from com.jogamp.newt.event.awt.AWTAdapter.

Definition at line 60 of file AWTWindowAdapter.java.

Here is the caller graph for this function:

◆ componentHidden()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.componentHidden ( final java.awt.event.ComponentEvent  e)

Definition at line 180 of file AWTWindowAdapter.java.

◆ componentMoved()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.componentMoved ( final java.awt.event.ComponentEvent  e)

Definition at line 149 of file AWTWindowAdapter.java.

◆ componentResized()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.componentResized ( final java.awt.event.ComponentEvent  e)

Definition at line 125 of file AWTWindowAdapter.java.

◆ componentShown()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.componentShown ( final java.awt.event.ComponentEvent  e)

Definition at line 161 of file AWTWindowAdapter.java.

◆ focusGained()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.focusGained ( final java.awt.event.FocusEvent  e)

Definition at line 101 of file AWTWindowAdapter.java.

◆ focusLost()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.focusLost ( final java.awt.event.FocusEvent  e)

Definition at line 113 of file AWTWindowAdapter.java.

◆ removeFrom()

synchronized AWTAdapter com.jogamp.newt.event.awt.AWTWindowAdapter.removeFrom ( final java.awt.Component  awtComponent)
See also
addTo(java.awt.Component)

Reimplemented from com.jogamp.newt.event.awt.AWTAdapter.

Definition at line 83 of file AWTWindowAdapter.java.

Here is the call graph for this function:

◆ removeWindowClosingFrom()

synchronized AWTAdapter com.jogamp.newt.event.awt.AWTWindowAdapter.removeWindowClosingFrom ( final java.awt.Component  awtComponent)

Definition at line 74 of file AWTWindowAdapter.java.

Here is the caller graph for this function:

◆ windowActivated()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.windowActivated ( final java.awt.event.WindowEvent  e)

Definition at line 199 of file AWTWindowAdapter.java.

◆ windowClosed()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.windowClosed ( final java.awt.event.WindowEvent  e)

Definition at line 208 of file AWTWindowAdapter.java.

◆ windowClosing()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.windowClosing ( final java.awt.event.WindowEvent  e)

Definition at line 211 of file AWTWindowAdapter.java.

◆ windowDeactivated()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.windowDeactivated ( final java.awt.event.WindowEvent  e)

Definition at line 214 of file AWTWindowAdapter.java.

◆ windowDeiconified()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.windowDeiconified ( final java.awt.event.WindowEvent  e)

Definition at line 223 of file AWTWindowAdapter.java.

◆ windowIconified()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.windowIconified ( final java.awt.event.WindowEvent  e)

Definition at line 226 of file AWTWindowAdapter.java.

◆ windowOpened()

synchronized void com.jogamp.newt.event.awt.AWTWindowAdapter.windowOpened ( final java.awt.event.WindowEvent  e)

Definition at line 229 of file AWTWindowAdapter.java.


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