Interface QuitHandler


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

    Modifier and Type
    Method
    Description
    boolean
    Handle the quit request using whatever means are most appropriate.
  • Method Details

    • handleQuitRequest

      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.