public abstract class AbstractPanelPopupWindow extends Object implements PanelPopupWindow
PanelPopupWindow, handles
the PanelPopupWindowListeners.validateBounds(Rectangle, GraphicsConfiguration) before they get visible| Constructor and Description |
|---|
AbstractPanelPopupWindow() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(PanelPopupWindowListener listener)
Adds a listener to this window.
|
protected void |
fireClosed()
Informs all listeners that this window has been closed
|
protected PanelPopupWindowListener[] |
listeners()
Returns an array containing all the listeners of this
AbstractPanelPopupWindow. |
void |
removeListener(PanelPopupWindowListener listener)
Removes a listener from this window.
|
protected Rectangle |
validateBounds(Rectangle bounds,
GraphicsConfiguration configuration)
Should be called before this window is made visible, ensure that the boundaries are valid.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, isOpenpublic void addListener(PanelPopupWindowListener listener)
PanelPopupWindowaddListener in interface PanelPopupWindowlistener - the new listenerpublic void removeListener(PanelPopupWindowListener listener)
PanelPopupWindowremoveListener in interface PanelPopupWindowlistener - the listenerprotected PanelPopupWindowListener[] listeners()
AbstractPanelPopupWindow.protected void fireClosed()
protected Rectangle validateBounds(Rectangle bounds, GraphicsConfiguration configuration)
bounds - the proposed boundariesconfiguration - the screen on which this window is going to be visible, might be nullnull to indicate that bounds is validCopyright © 2018. All rights reserved.