Package com.opencloud.rem.client.ui
Class GenericPopup
- 
- All Implemented Interfaces:
- HasAttachHandlers,- HasCloseHandlers<PopupPanel>,- HasHandlers,- EventListener,- EventPreview,- AcceptsOneWidget,- HasAnimation,- HasOneWidget,- HasVisibility,- HasWidgets,- HasWidgets.ForIsWidget,- IsWidget,- SourcesPopupEvents,- Iterable<Widget>
 
 public class GenericPopup extends PopupPanel A PopupPanelproviding various helper methods and custom styling.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanelPopupPanel.AnimationType, PopupPanel.PositionCallback
 - 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObjectUIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 - 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgetsHasWidgets.ForIsWidget
 
- 
 - 
Field Summary- 
Fields inherited from class com.google.gwt.user.client.ui.UIObjectDEBUG_ID_PREFIX
 
- 
 - 
Constructor SummaryConstructors Constructor Description GenericPopup()Deprecated.UsenonModalPopup()ormodalPopup()instead.GenericPopup(boolean autoHide, boolean modal, boolean glassEnabled)Deprecated.UsenonModalPopup()ormodalPopup()instead.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddField(String name, Widget w)voidaddHeader(String text)voidaddMessage(String message)voidclearError()voiddisplayError(String errorMessageText)voidloading(boolean loading)static GenericPopupmodalPopup()static GenericPopupnonModalPopup()voidsetSubmitButtonText(String text)voidsetSubmitCommand(Command submitCommand)- 
Methods inherited from class com.google.gwt.user.client.ui.PopupPaneladdAutoHidePartner, addCloseHandler, addPopupListener, center, getAnimationType, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, show, showRelativeTo
 - 
Methods inherited from class com.google.gwt.user.client.ui.SimplePaneladd, getWidget, iterator, remove, setWidget
 - 
Methods inherited from class com.google.gwt.user.client.ui.WidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
 - 
Methods inherited from class com.google.gwt.user.client.ui.UIObjectaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString
 - 
Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.google.gwt.event.shared.HasHandlersfireEvent
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Constructor Detail- 
GenericPopup@Deprecated public GenericPopup() Deprecated.UsenonModalPopup()ormodalPopup()instead.
 - 
GenericPopup@Deprecated public GenericPopup(boolean autoHide, boolean modal, boolean glassEnabled) Deprecated.UsenonModalPopup()ormodalPopup()instead.
 
- 
 - 
Method Detail- 
modalPopuppublic static GenericPopup modalPopup() 
 - 
nonModalPopuppublic static GenericPopup nonModalPopup() 
 - 
setSubmitButtonTextpublic void setSubmitButtonText(String text) 
 - 
setSubmitCommandpublic void setSubmitCommand(Command submitCommand) 
 - 
addHeaderpublic void addHeader(String text) 
 - 
addMessagepublic void addMessage(String message) 
 - 
loadingpublic void loading(boolean loading) 
 - 
displayErrorpublic void displayError(String errorMessageText) 
 - 
clearErrorpublic void clearError() 
 
- 
 
-