Class BasicPopupPanelUI.WindowTracker

java.lang.Object
org.pushingpixels.radiance.component.internal.ui.common.popup.BasicPopupPanelUI.WindowTracker
All Implemented Interfaces:
AWTEventListener, ComponentListener, WindowListener, EventListener, PopupPanelManager.PopupListener
Enclosing class:
BasicPopupPanelUI

protected static class BasicPopupPanelUI.WindowTracker extends Object implements PopupPanelManager.PopupListener, AWTEventListener, ComponentListener, WindowListener
This class is used to dismiss popup panels on the following events:
  • Mouse click outside any shown popup panel.
  • Closing, iconifying or deactivation of a top-level window.
  • Any change in the component hierarchy of a top-level window.

Only one top-level window is tracked at any time. The assumption is that the PopupPanelManager only shows popup panels originating from one top-level window.