public class InfoPopup extends PopupPanel
PopupPanel.PositionCallbackUIObject.DebugIdImpl, UIObject.DebugIdImplEnabledHasWidgets.ForIsWidgetDEBUG_ID_PREFIX| Constructor and Description |
|---|
InfoPopup(String message)
Creates an info popup with the supplied message.
|
InfoPopup(Widget contents)
Creates an info popup with the supplied contents.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
computeAutoClearDelay(String message)
Computes a reasonable delay after which it should be safe to automatically clear a transient
informational message.
|
void |
show(Popups.Position pos,
Widget target)
Displays this info popup directly below the specified widget.
|
InfoPopup |
showCentered()
Displays this info popup in the center of the page.
|
void |
showNear(Widget target)
Deprecated.
|
InfoPopup |
toError()
Converts this info popup into an error popup (via a CSS style change) and returns self.
|
addAutoHidePartner, addCloseHandler, addPopupListener, center, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, show, showRelativeToadd, getWidget, iterator, remove, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEventsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitfireEventpublic InfoPopup(String message)
public InfoPopup(Widget contents)
public static int computeAutoClearDelay(String message)
public InfoPopup toError()
@Deprecated public void showNear(Widget target)
show(Popups.Position,Widget)public void show(Popups.Position pos, Widget target)
public InfoPopup showCentered()
Copyright © 2013. All Rights Reserved.