Interface QuitListener


  • public interface QuitListener
    An interface for objects that wish to receive notification that the application will soon be quitting.

    Modified by: Joseph A. Huwaldt

    Version:
    February 23, 2025
    Author:
    Joseph A. Huwaldt Date: May 22, 2004
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean quit()
      This method is called by MDIApplication when the application is quitting.
    • Method Detail

      • quit

        boolean quit()
        This method is called by MDIApplication when the application is quitting. The listener should do something appropriate (if the listener is a window, the window should be closed, if the listener needs to ask the user something before quitting, it should do so at this time). To request that the quit be canceled, return true, else return false to continue with the quit.
        Returns:
        true if the quit event should be canceled or false to continue with the application quitting.