Package io.jmix.ui
Interface Dialogs.HasModal<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.HasModal<T>
Marker interface for Dialog Builders that have modal setting.
-
Method Summary
-
Method Details
-
isModal
boolean isModal()- Returns:
- true if window is modal
-
withModal
Sets dialog modality. When a modal window is open, components outside that window cannot be accessed.- Parameters:
modal
- modal flag- Returns:
- builder
-
modal
T modal()Enables modal mode for dialog.- Returns:
- builder
-