AlertBuilder
@Deprecated public class ConfirmationDialog extends LightDialog
Modifier and Type | Class and Description |
---|---|
static class |
ConfirmationDialog.ConfirmationEvent
Deprecated.
ConfirmationEvent.
|
BaseDialog.DescriptionVisibilityEvent, BaseDialog.DialogCloseEvent, BaseDialog.WideEvent
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Modifier and Type | Field and Description |
---|---|
static String |
CONFIRM_ACTION_NAME
Deprecated.
|
CANCEL_ACTION_NAME, COMMIT_ACTION_NAME
Constructor and Description |
---|
ConfirmationDialog(com.vaadin.ui.Component contents,
String confirmLabel,
String cancelLabel,
boolean cancelIsDefault)
Deprecated.
|
ConfirmationDialog(String message,
String confirmLabel,
String cancelLabel,
boolean cancelIsDefault)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addConfirmationHandler(ConfirmationDialog.ConfirmationEvent.Handler handler)
Deprecated.
|
void |
cancel()
Deprecated.
|
void |
confirm()
Deprecated.
|
protected com.vaadin.ui.Component |
createDefaultContent()
Deprecated.
|
String |
getMessage()
Deprecated.
|
void |
init(String confirmLabel,
String cancelLabel,
boolean cancelIsDefault)
Deprecated.
|
void |
removeConfirmationHandler(ConfirmationDialog.ConfirmationEvent.Handler handler)
Deprecated.
|
void |
setContent(com.vaadin.ui.Component content)
Deprecated.
|
void |
setMessage(String message)
Deprecated.
|
addDescriptionVisibilityHandler, addDialogCloseHandler, addWideHandler, adoptComponent, closeSelf, createDefaultFooter, createDefaultHeader, getContent, getState, iterator, removeDescriptionVisibilityHandler, removeDialogCloseHandler, removeWideHandler, setCaption, setDescriptionVisibility, setDialogDescription, setFooterToolbar, setHeaderToolbar, setModalityLevel, setWide, setWideOnClient, showCloseButton
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
public static final String CONFIRM_ACTION_NAME
public ConfirmationDialog(String message, String confirmLabel, String cancelLabel, boolean cancelIsDefault)
public void confirm()
public void cancel()
public void setMessage(String message)
public String getMessage()
public void setContent(com.vaadin.ui.Component content)
setContent
in class BaseDialog
protected com.vaadin.ui.Component createDefaultContent()
createDefaultContent
in class BaseDialog
public void addConfirmationHandler(ConfirmationDialog.ConfirmationEvent.Handler handler)
public void removeConfirmationHandler(ConfirmationDialog.ConfirmationEvent.Handler handler)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.