Class BasicPopupPanelUI.WindowTracker
- java.lang.Object
-
- org.pushingpixels.flamingo.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.
PopupPanelManageronly shows popup panels originating from one top-level window.
-
-
Constructor Summary
Constructors Constructor Description WindowTracker()Creates the new window tracker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomponentHidden(ComponentEvent e)voidcomponentMoved(ComponentEvent e)voidcomponentResized(ComponentEvent e)voidcomponentShown(ComponentEvent e)voideventDispatched(AWTEvent ev)voidpopupHidden(PopupPanelManager.PopupEvent event)Fired when a popup panel has been hidden.voidpopupShown(PopupPanelManager.PopupEvent event)Fired when a popup panel has been shown.voidwindowActivated(WindowEvent e)voidwindowClosed(WindowEvent e)voidwindowClosing(WindowEvent e)voidwindowDeactivated(WindowEvent e)voidwindowDeiconified(WindowEvent e)voidwindowIconified(WindowEvent e)voidwindowOpened(WindowEvent e)
-
-
-
Method Detail
-
popupShown
public void popupShown(PopupPanelManager.PopupEvent event)
Description copied from interface:PopupPanelManager.PopupListenerFired when a popup panel has been shown.- Specified by:
popupShownin interfacePopupPanelManager.PopupListener- Parameters:
event- Popup event.
-
popupHidden
public void popupHidden(PopupPanelManager.PopupEvent event)
Description copied from interface:PopupPanelManager.PopupListenerFired when a popup panel has been hidden.- Specified by:
popupHiddenin interfacePopupPanelManager.PopupListener- Parameters:
event- Popup event.
-
eventDispatched
public void eventDispatched(AWTEvent ev)
- Specified by:
eventDispatchedin interfaceAWTEventListener
-
componentResized
public void componentResized(ComponentEvent e)
- Specified by:
componentResizedin interfaceComponentListener
-
componentMoved
public void componentMoved(ComponentEvent e)
- Specified by:
componentMovedin interfaceComponentListener
-
componentShown
public void componentShown(ComponentEvent e)
- Specified by:
componentShownin interfaceComponentListener
-
componentHidden
public void componentHidden(ComponentEvent e)
- Specified by:
componentHiddenin interfaceComponentListener
-
windowClosing
public void windowClosing(WindowEvent e)
- Specified by:
windowClosingin interfaceWindowListener
-
windowClosed
public void windowClosed(WindowEvent e)
- Specified by:
windowClosedin interfaceWindowListener
-
windowIconified
public void windowIconified(WindowEvent e)
- Specified by:
windowIconifiedin interfaceWindowListener
-
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Specified by:
windowDeactivatedin interfaceWindowListener
-
windowOpened
public void windowOpened(WindowEvent e)
- Specified by:
windowOpenedin interfaceWindowListener
-
windowDeiconified
public void windowDeiconified(WindowEvent e)
- Specified by:
windowDeiconifiedin interfaceWindowListener
-
windowActivated
public void windowActivated(WindowEvent e)
- Specified by:
windowActivatedin interfaceWindowListener
-
-