public class CmsAcceptDeclineCancelDialog extends CmsAlertDialog
com.google.gwt.user.client.ui.PopupPanel.PositionCallbackDEFAULT_DIALOG_WIDTHm_closeCommand, m_notificationWidgetInstalled, m_windowWidth| 构造器和说明 |
|---|
CmsAcceptDeclineCancelDialog(java.lang.String title,
java.lang.String content)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
activateButtons(boolean activate)
Sets the buttons enabled.
|
void |
center() |
protected I_CmsAcceptDeclineCancelHandler |
getHandler()
Returns the dialog handler.
|
protected void |
onAccept()
Executed on accept click.
|
protected void |
onClose()
Executed on 'close' click.
|
protected void |
onDecline()
Executed on decline click.
|
void |
setAcceptIconClass(java.lang.String iconClass)
Sets the accept button icon class.
|
void |
setAcceptText(java.lang.String text)
Sets the accept button text.
|
void |
setDeclineIconClass(java.lang.String iconClass)
Sets the decline button icon class.
|
void |
setDeclineText(java.lang.String text)
Sets the decline button text.
|
void |
setHandler(I_CmsAcceptDeclineCancelHandler handler)
Sets the dialog handler.
|
addBottomWidget, addTopWidget, getCloseButton, getTopWidgets, onShow, setCloseIconClass, setCloseText, setHandler, setWarningMessage, show, truncateadd, add, addButton, addButton, addDialogClose, adjustIndex, beginDragging, catchNotifications, centerHorizontally, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, clear, continueDragging, createDialogNotificationWidget, doAttachChildren, doDetachChildren, endDragging, getAvailableHeight, getCaption, getChildren, getContainerElement, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, getWidth, hasCaption, hide, insert, insert, insertFront, installNotificationWidget, iterator, onBrowserEvent, onDetach, onPreviewNativeEvent, remove, remove, removeAllButtons, removeButton, removePadding, setBackgroundColor, setCaption, setHeight, setHeight, setMainContent, setPixelSize, setPositionFixed, setSize, setSpecialBackgroundClass, setUseAnimation, setWidget, setWidth, setWidth, showArrow, wrapWithBorderPaddingaddAutoHidePartner, addCloseHandler, addPopupListener, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, showRelativeToaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAutoHidePartner, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, removeAutoHidePartner, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabledpublic CmsAcceptDeclineCancelDialog(java.lang.String title,
java.lang.String content)
title - the dialog titlecontent - the dialog contentpublic void center()
center 在类中 CmsAlertDialogCmsAlertDialog.center()public void setAcceptIconClass(java.lang.String iconClass)
iconClass - the icon classpublic void setAcceptText(java.lang.String text)
text - the button textpublic void setDeclineIconClass(java.lang.String iconClass)
iconClass - the icon classpublic void setDeclineText(java.lang.String text)
text - the button textpublic void setHandler(I_CmsAcceptDeclineCancelHandler handler)
handler - the handler to setprotected void activateButtons(boolean activate)
activate - true to activate, false to deactivateprotected I_CmsAcceptDeclineCancelHandler getHandler()
CmsAlertDialoggetHandler 在类中 CmsAlertDialogCmsAlertDialog.getHandler()protected void onAccept()
protected void onClose()
CmsAlertDialogonClose 在类中 CmsAlertDialogCmsAlertDialog.onClose()protected void onDecline()