Package limn.backend

Interface QuitHandler

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 interface QuitHandler
Decides whether the application may end, for what belongs to no window (a download still running): set with Backend.setQuitHandler(limn.backend.QuitHandler). Asked first by Backend.requestQuit(), before any window; a refusal ends the request there.

A handler that throws has refused, as a CloseRequestHandler that throws has.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called on the UI thread.