public static interface DialogBuilder.ConfirmDialogBuilder extends DialogBuilder<DialogBuilder.ConfirmDialogBuilder>, DialogConfigurator.ClosableDialogConfigurator<DialogBuilder.ConfirmDialogBuilder>
Dialog builder.
A message dialog provides by default a OK button in the dialog toolbar to close the dialog.
DialogBuilder.ConfirmDialogBuilder, DialogBuilder.MessageDialogBuilder, DialogBuilder.QuestionDialogBuilder, DialogBuilder.QuestionDialogCallbackDialogConfigurator.ClosableDialogConfigurator<C extends DialogConfigurator.ClosableDialogConfigurator<C>>ComponentConfigurator.BaseComponentConfiguratorHasSizeConfigurator.BaseHasSizeConfiguratorHasStyleConfigurator.BaseHasStyleConfiguratorHasTextConfigurator.BaseHasTextConfiguratorDEFAULT_CONFIRM_BUTTON_MESSAGE_CODE, DEFAULT_DENY_BUTTON_MESSAGE_CODE, DEFAULT_OK_BUTTON_MESSAGE_CODEFULL_SIZE| Modifier and Type | Method and Description |
|---|---|
DialogBuilder.ConfirmDialogBuilder |
okButtonConfigurator(Consumer<ButtonConfigurator.BaseButtonConfigurator> configurator)
Provide a
Consumer to configure the default OK button shown in the dialog toolbar. |
build, confirm, message, open, questioncloseOnEsc, closeOnOutsideClickwithComponent, withComponent, withOpenedChangeListener, withToolbarComponent, withToolbarComponentcreate, elementConfiguration, hidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNamecreate, fullHeight, fullSize, fullWidth, height, height, heightUndefined, maxHeight, maxWidth, minHeight, minWidth, sizeUndefined, width, width, widthUndefinedcreate, styleName, styleNamescreate, create, text, text, textdeferLocalization, withDeferredLocalizationisDeferredLocalizationEnabledDialogBuilder.ConfirmDialogBuilder okButtonConfigurator(Consumer<ButtonConfigurator.BaseButtonConfigurator> configurator)
Consumer to configure the default OK button shown in the dialog toolbar.configurator - The button configurator (not null)Copyright © 2020 The Holon Platform. All rights reserved.