public static interface DialogBuilder.QuestionDialogBuilder extends DialogBuilder<DialogBuilder.QuestionDialogBuilder>
Dialog builder.
A question dialog provides two buttons by default, shown in the dialog toolbar: one for user confirmation and one for user denial to the question contained in the dialog message. A callback can be used to react to the user choice.
DialogBuilder.ConfirmDialogBuilder, DialogBuilder.MessageDialogBuilder, DialogBuilder.QuestionDialogBuilder, DialogBuilder.QuestionDialogCallbackDialogConfigurator.ClosableDialogConfigurator<C extends DialogConfigurator.ClosableDialogConfigurator<C>>ComponentConfigurator.BaseComponentConfiguratorDEFAULT_CONFIRM_BUTTON_MESSAGE_CODE, DEFAULT_DENY_BUTTON_MESSAGE_CODE, DEFAULT_OK_BUTTON_MESSAGE_CODEFULL_SIZE| Modifier and Type | Method and Description |
|---|---|
DialogBuilder.QuestionDialogBuilder |
confirmButtonConfigurator(Consumer<ButtonConfigurator.BaseButtonConfigurator> configurator)
Provide a
Consumer to configure the default user confirmation button. |
DialogBuilder.QuestionDialogBuilder |
denialButtonConfigurator(Consumer<ButtonConfigurator.BaseButtonConfigurator> configurator)
Provide a
Consumer to configure the default user denial button. |
build, confirm, message, open, questionwithComponent, withOpenedChangeListener, withToolbarComponentelementConfiguration, hidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNamefullHeight, fullSize, fullWidth, height, height, heightUndefined, maxHeight, maxWidth, minHeight, minWidth, sizeUndefined, width, width, widthUndefinedstyleName, styleNamestext, text, textdeferLocalization, withDeferredLocalizationisDeferredLocalizationEnabledDialogBuilder.QuestionDialogBuilder confirmButtonConfigurator(Consumer<ButtonConfigurator.BaseButtonConfigurator> configurator)
Consumer to configure the default user confirmation button.configurator - The button configurator (not null)DialogBuilder.QuestionDialogBuilder denialButtonConfigurator(Consumer<ButtonConfigurator.BaseButtonConfigurator> configurator)
Consumer to configure the default user denial button.configurator - The button configurator (not null)Copyright © 2019 The Holon Platform. All rights reserved.