|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.action.panel.AbstractPanelPopupWindow
public abstract class AbstractPanelPopupWindow
Abstract implementation of PanelPopupWindow
, handles
the PanelPopupWindowListener
s.
Subclasses should call validateBounds(Rectangle, GraphicsConfiguration)
before they get visible
Constructor Summary | |
---|---|
AbstractPanelPopupWindow()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.common.action.panel.PanelPopupWindow |
---|
close, isOpen |
Constructor Detail |
---|
public AbstractPanelPopupWindow()
Method Detail |
---|
public void addListener(PanelPopupWindowListener listener)
PanelPopupWindow
addListener
in interface PanelPopupWindow
listener
- the new listenerpublic void removeListener(PanelPopupWindowListener listener)
PanelPopupWindow
removeListener
in interface PanelPopupWindow
listener
- 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 null
null
to indicate that bounds
is valid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |