Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface EntityDialogs.EditEntityDialogBuilder
- All Superinterfaces:
DialogBuilder<EntityDialogs.EditEntityDialogBuilder>
- Enclosing class:
- EntityDialogs
public static interface EntityDialogs.EditEntityDialogBuilder
extends DialogBuilder<EntityDialogs.EditEntityDialogBuilder>
A builder for a dialog for editing entities.
-
Method Details
-
entity
- Parameters:
entity
- supplies the entity to edit- Returns:
- this builder instance
-
onUpdate
- Parameters:
onUpdate
- called after a successful update- Returns:
- this builder instance
-
confirm
- Parameters:
confirm
- if true then a confirmation dialog is presented before updating, default false- Returns:
- this builder instance
-
show
void show()Displays the dialog.
-