Package docking.widgets
Class PopupWindow
- java.lang.Object
- 
- docking.widgets.PopupWindow
 
- 
 public class PopupWindow extends java.lang.ObjectA generic window intended to be used as a temporary window to show information. This window is designed to stay open as long as the user mouses over the window. Once the user mouses away, the window will be closed.
- 
- 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddComponentListener(java.awt.event.ComponentListener listener)voiddispose()javax.swing.JComponentgetDisplayComponent()voidhide()static voidhideAllWindows()booleanisShowing()voidpack()voidsetCloseWindowDelay(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 zonevoidsetWindowName(java.lang.String name)voidshowOffsetPopup(java.awt.event.MouseEvent e, java.awt.Rectangle keepVisibleSize)voidshowPopup(java.awt.event.MouseEvent e)
 
- 
- 
- 
Constructor Detail- 
PopupWindowpublic PopupWindow(javax.swing.JComponent displayComponent) 
 - 
PopupWindowpublic PopupWindow(java.awt.Component sourceComponent, javax.swing.JComponent displayComponent)
 - 
PopupWindowpublic PopupWindow(java.awt.Window parentWindow, javax.swing.JComponent displayComponent)
 
- 
 - 
Method Detail- 
hideAllWindowspublic static void hideAllWindows() 
 - 
getDisplayComponentpublic javax.swing.JComponent getDisplayComponent() 
 - 
setWindowNamepublic void setWindowName(java.lang.String name) 
 - 
addComponentListenerpublic void addComponentListener(java.awt.event.ComponentListener listener) 
 - 
isShowingpublic boolean isShowing() 
 - 
hidepublic void hide() 
 - 
disposepublic void dispose() 
 - 
packpublic void pack() 
 - 
setCloseWindowDelaypublic 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
 
 - 
showOffsetPopuppublic void showOffsetPopup(java.awt.event.MouseEvent e, java.awt.Rectangle keepVisibleSize)
 - 
showPopuppublic void showPopup(java.awt.event.MouseEvent e) 
 
- 
 
-