public final class ShadowPopup extends Popup
#show
it snapshots the screen background as needed,
and in #hide
it cleans up all changes made before.com.jgoodies.looks.common.ShadowPopupBorder
,
com.jgoodies.looks.common.ShadowPopupFactory
Constructor | Description |
---|---|
ShadowPopup() |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
canSnapshot() |
|
void |
hide() |
Hides and disposes of the
Popup . |
void |
show() |
Makes the
Popup visible. |
public static boolean canSnapshot()
public void hide()
Popup
. Once a Popup
has been disposed you should no longer invoke methods on it. A
dispose
d Popup
may be reclaimed and later used
based on the PopupFactory
. As such, if you invoke methods
on a disposed
Popup
, indeterminate
behavior will result.In addition to the superclass behavior, we reset the stored horizontal and vertical drop shadows - if any.