public abstract class AbstractViewDialogBox
extends com.google.gwt.user.client.ui.Composite
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractViewDialogBox.CONFIRM_VALUE
The Enum CONFIRM_VALUE.
|
| Modifier and Type | Field and Description |
|---|---|
protected com.github.gwtbootstrap.client.ui.Alert |
alertError
The alert error.
|
protected com.github.gwtbootstrap.client.ui.Alert |
alertInfo
The alert info.
|
protected PanelConfirmBuilder |
confirmBuilder |
static int |
DEFAULT_WIDTH
The default width.
|
| Constructor and Description |
|---|
AbstractViewDialogBox()
Because this class has a default constructor, it can
be used as a binder template.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addViewAsWidget(com.google.gwt.user.client.ui.Widget child)
Adds the view as widget.
|
abstract void |
closeHandler()
Close handler.
|
abstract void |
confirmHanlder(AbstractViewDialogBox.CONFIRM_VALUE confirm,
com.google.gwt.user.client.Command command)
Confirm hanlder.
|
void |
setConfirm(boolean visible,
String msg,
com.google.gwt.user.client.Command yes,
com.google.gwt.user.client.Command no)
Sets the confirm.
|
void |
setError(boolean visible,
String error)
Sets the error.
|
void |
setInfo(boolean visible,
String msg)
Sets the error.
|
void |
showLoading(boolean visible,
String text)
Show loading.
|
claimElement, getWidget, initializeClaimedElement, initWidget, 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 static int DEFAULT_WIDTH
protected com.github.gwtbootstrap.client.ui.Alert alertError
protected com.github.gwtbootstrap.client.ui.Alert alertInfo
protected PanelConfirmBuilder confirmBuilder
public AbstractViewDialogBox()
public abstract void closeHandler()
public abstract void confirmHanlder(AbstractViewDialogBox.CONFIRM_VALUE confirm, com.google.gwt.user.client.Command command)
confirm - the confirmpublic void addViewAsWidget(com.google.gwt.user.client.ui.Widget child)
child - the childpublic void showLoading(boolean visible,
String text)
visible - the visibletext - the textpublic void setError(boolean visible,
String error)
visible - the visibleerror - the errorpublic void setInfo(boolean visible,
String msg)
visible - the visiblemsg - the msgpublic void setConfirm(boolean visible,
String msg,
com.google.gwt.user.client.Command yes,
com.google.gwt.user.client.Command no)
visible - the visiblemsg - the msgCopyright © 2018. All Rights Reserved.