Class InputDialog.InputDialogResult

java.lang.Object
io.jmix.flowui.app.inputdialog.InputDialog.InputDialogResult
Enclosing class:
InputDialog

public static class InputDialog.InputDialogResult extends Object
Describes result of handler that can be used with DialogAction in the input dialog.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getValues

      public Map<String,Object> getValues()
      Returns values from parameters. String - parameter id, Object - parameter value.
      Returns:
      values
    • getValue

      @Nullable public <T> T getValue(String parameterId)
      Parameters:
      parameterId - parameter id
      Returns:
      parameter value
    • getCloseAction

      public CloseAction getCloseAction()
      Returns:
      close action
    • getCloseActionType

      public DialogAction.Type getCloseActionType()
      Returns result action which was clicked in the dialog, e.g. OK, CANCEL, etc.
      Returns:
      dialog result
    • closedWith

      public boolean closedWith(StandardOutcome outcome)
      Checks that the dialog was closed with the given outcome.