|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.xwiki.gwt.user.client.ui.CompositeDialogBox
org.xwiki.gwt.user.client.ui.ComplexDialogBox
public class ComplexDialogBox
A dialog box that can be part of a wizard and whose content is structured in three parts: the header, the body and the footer. The header usually contains the title of the dialog and optional wizard navigation buttons (back and forth). The body contains the widgets for acquiring user data. The footer usually contains buttons for closing the dialog or ending the wizard.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
ComplexDialogBox(boolean autoHide,
boolean modal)
Creates a new complex dialog box. |
|
| Method Summary | |
|---|---|
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(java.lang.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. |
| Methods inherited from class org.xwiki.gwt.user.client.ui.CompositeDialogBox |
|---|
addCloseHandler, getDialog, hide, initWidget, isShowing, onClose |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
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()
center in class CompositeDialogBoxCompositeDialogBox.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(java.lang.Throwable caught)
caught - the exception that has been caught
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||