Package io.jmix.flowui
Interface Dialogs.Closeable<T>
- Type Parameters:
- T- return type of fluent API methods
- All Known Subinterfaces:
- Dialogs.MessageDialogBuilder
- All Known Implementing Classes:
- DialogsImpl.MessageDialogBuilderImpl
- Enclosing interface:
- Dialogs
public static interface Dialogs.Closeable<T>
Represents Dialog Builders with close setting.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanwithCloseOnEsc(boolean closeOnEsc) Sets whether this dialog can be closed by hitting the esc-key or not.withCloseOnOutsideClick(boolean closeOnOutsideClick) Sets whether this dialog can be closed by clicking outside.
- 
Method Details- 
withCloseOnOutsideClickSets whether this dialog can be closed by clicking outside.By default, the dialog is closable with an outside click. - Parameters:
- closeOnOutsideClick-- trueto enable closing this dialog with an outside click,- falseto disable it
- Returns:
- builder
 
- 
isCloseOnOutsideClickboolean isCloseOnOutsideClick()- Returns:
- trueif this dialog can be closed by an outside click,- falseotherwise
 
- 
withCloseOnEscSets whether this dialog can be closed by hitting the esc-key or not.By default, the dialog is closable with esc. - Parameters:
- closeOnEsc-- trueto enable closing this dialog with the esc-key,- falseto disable it
- Returns:
- builder
 
- 
isCloseOnEscboolean isCloseOnEsc()- Returns:
- trueif this dialog can be closed with the esc-key,- falseotherwise
 
 
-