Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface EntityDialogs.AddEntityDialogBuilder
- All Superinterfaces:
DialogBuilder<EntityDialogs.AddEntityDialogBuilder>
- Enclosing class:
- EntityDialogs
public static interface EntityDialogs.AddEntityDialogBuilder
extends DialogBuilder<EntityDialogs.AddEntityDialogBuilder>
A builder for a dialog for inserting entities.
-
Method Summary
Modifier and TypeMethodDescriptioncloseDialog
(boolean closeDialog) confirm
(boolean confirm) void
show()
Displays the dialog.Methods inherited from interface is.codion.swing.common.ui.dialog.DialogBuilder
icon, keyEvent, location, locationRelativeTo, owner, owner, title, title
-
Method Details
-
onInsert
- Parameters:
onInsert
- called after a successful insert- Returns:
- this builder instance
-
closeDialog
- Parameters:
closeDialog
- false if the dialog should not be closed after insert, default true- Returns:
- this builder instance
-
confirm
- Parameters:
confirm
- if true then a confirmation dialog is presented before inserting, default false- Returns:
- this builder instance
-
show
void show()Displays the dialog.
-