Top Description Methods
com.sun.java.accessibility.util

public Interface TopLevelWindowListener

extends EventListener
Known Direct Implementers
com.sun.java.accessibility.util.TopLevelWindowMulticaster, com.sun.java.accessibility.util.AccessibilityEventMonitor.AccessibilityEventListener, com.sun.java.accessibility.util.AWTEventMonitor.AWTEventsListener
Imports
java.awt.*, java.util.*, javax.accessibility.*

The TopLevelWindowListener interface is used by the EventQueueMonitor class to notify an interested party when a top level window is created or destroyed in the Java Virtual Machine. Classes wishing to express an interest in top level window events should implement this interface and register themselves with the EventQueueMonitor by calling the EventQueueMonitor.addTopLevelWindowListener class method.
See Also
EventQueueMonitor, EventQueueMonitor#addTopLevelWindowListener, EventQueueMonitor#removeTopLevelWindowListener

Method Summary

Modifier and TypeMethod and Description
public void
topLevelWindowCreated(Window
the Window that was created
w
)

Invoked when a new top level window has been created.

public void
topLevelWindowDestroyed(Window
the Window that was destroyed
w
)

Invoked when a top level window has been destroyed.

Method Detail

topLevelWindowCreatedback to summary
public void topLevelWindowCreated(Window w)

Invoked when a new top level window has been created.

Parameters
w:Window

the Window that was created

topLevelWindowDestroyedback to summary
public void topLevelWindowDestroyed(Window w)

Invoked when a top level window has been destroyed.

Parameters
w:Window

the Window that was destroyed