Package io.jmix.ui
Interface Dialogs.MessageDialogBuilder
- All Superinterfaces:
Dialogs.DialogBuilder<Dialogs.MessageDialogBuilder>
,Dialogs.HasCaption<Dialogs.MessageDialogBuilder>
,Dialogs.HasContentMode<Dialogs.MessageDialogBuilder>
,Dialogs.HasHtmlSanitizer<Dialogs.MessageDialogBuilder>
,Dialogs.HasMessage<Dialogs.MessageDialogBuilder>
,Dialogs.HasModal<Dialogs.MessageDialogBuilder>
,Dialogs.HasSize<Dialogs.MessageDialogBuilder>
,Dialogs.HasStyleName<Dialogs.MessageDialogBuilder>
,Dialogs.HasWindowMode<Dialogs.MessageDialogBuilder>
- All Known Implementing Classes:
DialogsImpl.MessageDialogBuilderImpl
- Enclosing interface:
- Dialogs
public static interface Dialogs.MessageDialogBuilder
extends Dialogs.DialogBuilder<Dialogs.MessageDialogBuilder>, Dialogs.HasMessage<Dialogs.MessageDialogBuilder>, Dialogs.HasContentMode<Dialogs.MessageDialogBuilder>, Dialogs.HasModal<Dialogs.MessageDialogBuilder>, Dialogs.HasWindowMode<Dialogs.MessageDialogBuilder>, Dialogs.HasStyleName<Dialogs.MessageDialogBuilder>, Dialogs.HasHtmlSanitizer<Dialogs.MessageDialogBuilder>
Builder of information dialog.
-
Method Summary
Modifier and TypeMethodDescriptionEnables closeOnClickOutside mode for window, so window can be closed by click outside of window content (by modality curtain).boolean
void
show()
Shows the dialog.withCloseOnClickOutside
(boolean closeOnClickOutside) Sets if window can be closed by click outside of window content (by modality curtain).Methods inherited from interface io.jmix.ui.Dialogs.HasCaption
getCaption, withCaption
Methods inherited from interface io.jmix.ui.Dialogs.HasContentMode
getContentMode, withContentMode
Methods inherited from interface io.jmix.ui.Dialogs.HasHtmlSanitizer
isHtmlSanitizerEnabled, withHtmlSanitizer
Methods inherited from interface io.jmix.ui.Dialogs.HasMessage
getMessage, withMessage
Methods inherited from interface io.jmix.ui.Dialogs.HasModal
isModal, modal, withModal
Methods inherited from interface io.jmix.ui.Dialogs.HasSize
getHeight, getHeightSizeUnit, getWidth, getWidthSizeUnit, withHeight, withWidth
Methods inherited from interface io.jmix.ui.Dialogs.HasStyleName
getStyleName, withStyleName
Methods inherited from interface io.jmix.ui.Dialogs.HasWindowMode
getWindowMode, withWindowMode
-
Method Details
-
isCloseOnClickOutside
boolean isCloseOnClickOutside()- Returns:
- true if window can be closed by click outside of window content (by modality curtain)
-
withCloseOnClickOutside
Sets if window can be closed by click outside of window content (by modality curtain).- Parameters:
closeOnClickOutside
- true if window to be closed by click outside of window content (by modality curtain)- Returns:
- builder
-
closeOnClickOutside
Dialogs.MessageDialogBuilder closeOnClickOutside()Enables closeOnClickOutside mode for window, so window can be closed by click outside of window content (by modality curtain).- Returns:
- builder
-
show
void show()Shows the dialog.
-