Java com.google.gwt.user.client.ui PopupPanel fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui PopupPanel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui PopupPanel.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.PopupPanel has subclasses.
Click this link to see all its subclasses.

Constructor

PopupPanel(boolean autoHide, boolean modal)
Creates an empty popup panel, specifying its "auto-hide" and "modal" properties.
PopupPanel(boolean autoHide)
Creates an empty popup panel, specifying its "auto-hide" property.
PopupPanel()
Creates an empty popup panel.

Method

voidaddAutoHidePartner(Element partner)
Mouse events that occur within an autoHide partner will not hide a panel set to autoHide.
HandlerRegistrationaddCloseHandler(CloseHandler handler)
voidcenter()
Centers the popup in the browser window and shows it.
intgetOffsetHeight()
Gets the panel's offset height in pixels.
intgetOffsetWidth()
Gets the panel's offset width in pixels.
intgetPopupLeft()
Gets the popup's left position relative to the browser's client area.
intgetPopupTop()
Gets the popup's top position relative to the browser's client area.
voidhide()
Hides the popup and detaches it from the page.
voidhide(boolean autoClosed)
Hides the popup and detaches it from the page.
booleanisShowing()
Determines whether or not this popup is showing.
voidsetAnimationEnabled(boolean enable)
voidsetAnimationType(AnimationType type)
Enable or disable animation of the PopupPanel .
voidsetAutoHideEnabled(boolean autoHide)
Enable or disable the autoHide feature.
voidsetAutoHideOnHistoryEventsEnabled(boolean enabled)
Enable or disable autoHide on history change events.
voidsetGlassEnabled(boolean enabled)
When enabled, the background will be blocked with a semi-transparent pane the next time it is shown.
voidsetGlassStyleName(String glassStyleName)
Sets the style name to be used on the glass element.
voidsetHeight(String height)
Sets the height of the panel's child widget.
voidsetModal(boolean modal)
When the popup is modal, keyboard or mouse events that do not target the PopupPanel or its children will be ignored.
voidsetPopupPosition(int left, int top)
Sets the popup's position relative to the browser's client area.
voidsetPopupPositionAndShow(PositionCallback callback)
Sets the popup's position using a PositionCallback , and shows the popup.
voidsetPreviewingAllNativeEvents(boolean previewAllNativeEvents)

When enabled, the popup will preview all native events, even if another popup was opened after this one.

voidsetTitle(String title)
voidsetVisible(boolean visible)
Sets whether this object is visible.
voidsetWidget(Widget w)
voidsetWidth(String width)
Sets the width of the panel's child widget.
voidshow()
Shows the popup and attach it to the page.
voidshowRelativeTo(final UIObject target)
Normally, the popup is positioned directly below the relative target, with its left edge aligned with the left edge of the target.