Interface Window.OnCloseRequest

Enclosing class:
Window
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 Window.OnCloseRequest
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Emitted when the user clicks on the close button of the window.
  • Method Details

    • onCloseRequest

      boolean onCloseRequest()
      Emitted when the user clicks on the close button of the window.
      Returns:
      %TRUE to stop other handlers from being invoked for the signal