Package docking.widgets
Class PopupWindow
- java.lang.Object
-
- docking.widgets.PopupWindow
-
public class PopupWindow extends java.lang.Object
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComponentListener(java.awt.event.ComponentListener listener)
void
dispose()
javax.swing.JComponent
getDisplayComponent()
void
hide()
static void
hideAllWindows()
boolean
isShowing()
void
pack()
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 zonevoid
setWindowName(java.lang.String name)
void
showOffsetPopup(java.awt.event.MouseEvent e, java.awt.Dimension keepVisibleArea)
void
showPopup(java.awt.event.MouseEvent e)
-
-
-
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- Parameters:
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)
-
-