A PopupPanel should not generally be added to other panels; rather, it should be shown and hidden using the {@link #show()} and {@link #hide()} methods.
The width and height of the PopupPanel cannot be explicitly set; they are determined by the PopupPanel's widget. Calls to {@link #setWidth(String)} and{@link #setHeight(String)} will call these methods on the PopupPanel'swidget.
The PopupPanel can be optionally displayed with a "glass" element behind it, which is commonly used to gray out the widgets behind it. It can be enabled using {@link #setGlassEnabled(boolean)}. It has a default style name of "gwt-PopupPanelGlass", which can be changed using {@link #setGlassStyleName(String)}.
|
|