Interface QuitHandler


  • public interface QuitHandler
    A QuitHandler responds to externally initiated attempts to quit JMRI apps on Mac OS X.
    • Method Detail

      • handleQuitRequest

        boolean handleQuitRequest​(java.util.EventObject eo)
        Handle the quit request using whatever means are most appropriate. This method returns a boolean state indicating that the application should quit (true) or that some condition (like the user cancels the quit when prompted in a dialog) requires that the application not quit (false).
        Parameters:
        eo - The quit event object.
        Returns:
        allow quit to continue.