Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface EntityEditPanel.Confirmer
- Enclosing class:
- EntityEditPanel
public static interface EntityEditPanel.Confirmer
Handles displaying confirmation messages for common actions to the user.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe actions meriting user confirmation -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfirm(JComponent dialogOwner) Returns true if the action is confirmed, presents an OK/Cancel confirm dialog to the user if required.default booleanconfirm(JComponent dialogOwner, String message, String title) Shows a confirmation dialog
-
Method Details
-
confirm
Returns true if the action is confirmed, presents an OK/Cancel confirm dialog to the user if required.- Parameters:
dialogOwner- the owner for the dialog- Returns:
- true if the action is confirmed
-
confirm
Shows a confirmation dialog- Parameters:
dialogOwner- the dialog ownermessage- the dialog messagetitle- the dialog title- Returns:
- true if OK was pressed
-