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 Details

    • onInsert

      Parameters:
      onInsert - called after a successful insert
      Returns:
      this builder instance
    • closeDialog

      EntityDialogs.AddEntityDialogBuilder closeDialog(boolean closeDialog)
      Parameters:
      closeDialog - false if the dialog should not be closed after insert, default true
      Returns:
      this builder instance
    • confirm

      EntityDialogs.AddEntityDialogBuilder confirm(boolean 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.