Class PopupWindow

  • public class PopupWindow
    extends java.lang.Object
    • Constructor Summary

      Constructor Description
      PopupWindow​(java.awt.Component sourceComponent, javax.swing.JComponent displayComponent)  
      PopupWindow​(java.awt.Window parentWindow, javax.swing.JComponent displayComponent)  
      PopupWindow​(javax.swing.JComponent displayComponent)  
    • Constructor Detail

      • PopupWindow

        public PopupWindow​(javax.swing.JComponent displayComponent)
      • PopupWindow

        public PopupWindow​(java.awt.Component sourceComponent,
                           javax.swing.JComponent displayComponent)
      • PopupWindow

        public PopupWindow​(java.awt.Window parentWindow,
                           javax.swing.JComponent displayComponent)
    • Method Detail

      • hideAllWindows

        public static void hideAllWindows()
      • getDisplayComponent

        public javax.swing.JComponent getDisplayComponent()
      • setWindowName

        public void setWindowName​(java.lang.String name)
      • addComponentListener

        public void addComponentListener​(java.awt.event.ComponentListener listener)
      • isShowing

        public boolean isShowing()
      • hide

        public void hide()
      • dispose

        public void dispose()
      • pack

        public void pack()
      • setCloseWindowDelay

        public void setCloseWindowDelay​(int delayInMillis)
        Sets the amount of time that will pass before the popup window is closed after the user moves away from the popup window and out of the neutral zone
        delayInMillis - the timer delay
      • showOffsetPopup

        public void showOffsetPopup​(java.awt.event.MouseEvent e,
                                    java.awt.Dimension keepVisibleArea)
      • showPopup

        public void showPopup​(java.awt.event.MouseEvent e)