public class MovablePopup
extends java.lang.Object
Constructor and Description |
---|
MovablePopup(java.awt.Component owner,
java.awt.Component content) |
Modifier and Type | Method and Description |
---|---|
boolean |
isVisible()
al
Determines whether this popup should be visible.
|
void |
onAncestorFocusLost(java.lang.Runnable r) |
void |
setAlwaysOnTop(boolean value)
Sets whether this popup should be always on top.
|
void |
setBounds(int x,
int y,
int width,
int height) |
void |
setBounds(java.awt.Rectangle bounds) |
void |
setHeavyWeight(boolean value)
Sets whether this popup should be a separate window.
|
void |
setLocation(int x,
int y) |
void |
setLocation(java.awt.Point location) |
void |
setSize(java.awt.Dimension size) |
void |
setSize(int width,
int height) |
void |
setVisible(boolean visible) |
void |
setWindowFocusable(boolean value)
Sets whether this popup should grab a focus.
|
void |
setWindowShadow(boolean value)
Sets whether this popup should have a shadow.
|
public MovablePopup(java.awt.Component owner, java.awt.Component content)
owner
- a component to which this popup belongscontent
- a component to show within this popuppublic void setAlwaysOnTop(boolean value)
public void onAncestorFocusLost(java.lang.Runnable r)
public void setHeavyWeight(boolean value)
public void setWindowFocusable(boolean value)
public void setWindowShadow(boolean value)
public void setBounds(java.awt.Rectangle bounds)
public void setBounds(int x, int y, int width, int height)
public void setLocation(java.awt.Point location)
public void setLocation(int x, int y)
public void setSize(java.awt.Dimension size)
public void setSize(int width, int height)
public void setVisible(boolean visible)
public boolean isVisible()