public class ComplexDialogBox extends CompositeDialogBox
| Constructor and Description |
|---|
ComplexDialogBox(boolean autoHide,
boolean modal)
Creates a new complex dialog box.
|
| Modifier and Type | Method and Description |
|---|---|
void |
center()
Centers this dialog on the screen.
|
protected com.google.gwt.user.client.ui.FlowPanel |
getBody() |
protected com.google.gwt.user.client.ui.FlowPanel |
getFooter() |
protected com.google.gwt.user.client.ui.FlowPanel |
getHeader() |
boolean |
isCanceled() |
protected boolean |
isLoading() |
protected void |
setCanceled(boolean canceled)
Sets the canceled state of this dialog.
|
protected void |
setLoading(boolean loading)
Puts the dialog in loading state or get it out of it.
|
protected void |
showError(Throwable caught)
If an error occurred on the server while fulfilling the request then this method can be used to display the error
message to the user.
|
addCloseHandler, getDialog, hide, initWidget, isShowing, onCloseclaimElement, getWidget, initializeClaimedElement, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic ComplexDialogBox(boolean autoHide,
boolean modal)
autoHide - Whether or not the dialog should auto hide when the user clicks outside of it.modal - Specifies if the dialog box can loose focus.protected com.google.gwt.user.client.ui.FlowPanel getHeader()
headerprotected com.google.gwt.user.client.ui.FlowPanel getBody()
bodyprotected com.google.gwt.user.client.ui.FlowPanel getFooter()
footerpublic void center()
CompositeDialogBoxcenter in class CompositeDialogBoxPopupPanel.center()public boolean isCanceled()
true if this dialog was canceled, false otherwiseprotected void setCanceled(boolean canceled)
canceled - true if the dialog was canceled, false otherwiseprotected boolean isLoading()
true if the dialog is in loading state, false otherwiseprotected void setLoading(boolean loading)
loading - true to put the dialog in loading state, false to get it out of itprotected void showError(Throwable caught)
caught - the exception that has been caughtCopyright © 2004–2016 XWiki. All rights reserved.