Interface AbstractDialogPaneBuilder.ResultHandler<R>

Type Parameters:
R - the result type
Enclosing class:
AbstractDialogPaneBuilder<D,B extends AbstractDialogPaneBuilder<D,B,R>,R>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AbstractDialogPaneBuilder.ResultHandler<R>
Dialog(Pane) result handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handleResult(ButtonType btn, R result)
    Handle result.
  • Method Details

    • handleResult

      boolean handleResult(ButtonType btn, R result)
      Handle result.
      Parameters:
      btn - the button that was pressed
      result - the dialog/pane result as returned by the result converter
      Returns:
      true, if it's ok to proceed (the current page should be left) false otherwise