Top Description Methods
com.jogamp.newt.event

public Interface WindowListener

extends NEWTEventListener
Known Direct Subinterfaces
jogamp.newt.driver.KeyTracker, jogamp.newt.driver.MouseTracker
Known Direct Implementers
jogamp.newt.driver.awt.WindowDriver.AWTWindowListener, jogamp.newt.driver.awt.WindowDriver.NEWTWindowListener, jogamp.newt.driver.linux.LinuxEventDeviceTracker, jogamp.newt.driver.linux.LinuxMouseTracker, jogamp.newt.driver.x11.X11UnderlayTracker, com.jogamp.newt.event.TraceWindowAdapter, com.jogamp.newt.event.WindowAdapter
Imports
com.jogamp.nativewindow.WindowClosingProtocol

NEWT WindowEvent listener.

Method Summary

Modifier and TypeMethod and Description
public void
windowDestroyed(WindowEvent e)

Window has been destroyed.

public void
windowDestroyNotify(WindowEvent e)

Window destruction has been requested.

public void
windowGainedFocus(WindowEvent e)

Window gained focus.

public void
windowLostFocus(WindowEvent e)

Window lost focus.

public void
windowMoved(WindowEvent e)

Window has been moved.

public void
windowRepaint(WindowUpdateEvent e)

Window area shall be repainted.

public void
windowResized(WindowEvent e)

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

Method Detail

windowDestroyedback to summary
public void windowDestroyed(WindowEvent e)

Window has been destroyed.

windowDestroyNotifyback to summary
public void windowDestroyNotify(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.
windowGainedFocusback to summary
public void windowGainedFocus(WindowEvent e)

Window gained focus.

windowLostFocusback to summary
public void windowLostFocus(WindowEvent e)

Window lost focus.

windowMovedback to summary
public void windowMoved(WindowEvent e)

Window has been moved.

windowRepaintback to summary
public void windowRepaint(WindowUpdateEvent e)

Window area shall be repainted.

windowResizedback to summary
public void windowResized(WindowEvent e)

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