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
PopupPanel
providing various helper methods and custom styling.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
PopupPanel.AnimationType, PopupPanel.PositionCallback
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
-
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
HasWidgets.ForIsWidget
-
-
Field Summary
-
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
-
Constructor Summary
Constructors Constructor Description GenericPopup()
Deprecated.UsenonModalPopup()
ormodalPopup()
instead.GenericPopup(boolean autoHide, boolean modal, boolean glassEnabled)
Deprecated.UsenonModalPopup()
ormodalPopup()
instead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addField(String name, Widget w)
void
addHeader(String text)
void
addMessage(String message)
void
clearError()
void
displayError(String errorMessageText)
void
loading(boolean loading)
static GenericPopup
modalPopup()
static GenericPopup
nonModalPopup()
void
setSubmitButtonText(String text)
void
setSubmitCommand(Command submitCommand)
-
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, 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.SimplePanel
add, getWidget, iterator, remove, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, 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.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Methods inherited from interface java.lang.Iterable
forEach, 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
-
modalPopup
public static GenericPopup modalPopup()
-
nonModalPopup
public static GenericPopup nonModalPopup()
-
setSubmitButtonText
public void setSubmitButtonText(String text)
-
setSubmitCommand
public void setSubmitCommand(Command submitCommand)
-
addHeader
public void addHeader(String text)
-
addMessage
public void addMessage(String message)
-
loading
public void loading(boolean loading)
-
displayError
public void displayError(String errorMessageText)
-
clearError
public void clearError()
-
-