APIdia Launch Partner
Top Description Methods
sun.awt

public Interface DisplayChangedListener

extends EventListener
Known Direct Implementers
sun.awt.X11GraphicsDevice, sun.awt.X11.XWindowPeer, sun.awt.image.VolatileSurfaceManager, sun.java2d.SunGraphicsEnvironment, sun.java2d.SurfaceDataProxy, javax.swing.RepaintManager.DisplayChangedHandler
Imports
java.util.EventListener

The listener interface for receiving display change events. The class that is interested in processing a display change event implements this interface (and all the methods it contains). For Motif, this interface is only used for dragging windows between Xinerama screens. For win32, the listener object created from that class is then registered with the WToolkit object using its addDisplayChangeListener method. When the display resolution is changed (which occurs, in Windows, either by the user changing the properties of the display through the control panel or other utility or by some other application which has gotten fullscreen-exclusive control of the display), the listener is notified through its displayChanged() or paletteChanged() methods.
Authors
Chet Haase, Brent Christian
Since
1.4

Method Summary

Modifier and TypeMethod and Description
public void
displayChanged()

Invoked when the display mode has changed.

public void
paletteChanged()

Invoked when the palette has changed.

Method Detail

displayChangedback to summary
public void displayChanged()

Invoked when the display mode has changed.

paletteChangedback to summary
public void paletteChanged()

Invoked when the palette has changed.