Package io.jmix.ui.component
Interface Window.Committable
- All Known Implementing Classes:
EntityValueScreen
- Enclosing interface:
- Window
public static interface Window.Committable
Represents a window that can be committed on close.
Implement this interface in controller if you want to support saving uncommitted changes on window close.
Implement this interface in controller if you want to support saving uncommitted changes on window close.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Commit changes and close the window.boolean
-
Method Details
-
isModified
boolean isModified()- Returns:
- whether the window contains uncommitted changes
-
commitAndClose
void commitAndClose()Commit changes and close the window.
-