/**
* Installs the handler which determines if the application should quit.
* The handler is passed a one-shot {@link QuitResponse} which can cancel or proceed with the quit.
* Setting the handler to {@code null} causes all quit requests to directly perform the default {@link QuitStrategy}.
*
* @param quitHandler the handler that is called when the application is asked to quit
* @since Java for Mac OS X 10.6 Update 3
* @since Java for Mac OS X 10.5 Update 8
*/
public void setQuitHandler(final QuitHandler quitHandler) {
eventHandler.quitDispatcher.setHandler(quitHandler);
}
Application.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:openjdk-jdk10
作者:
评论列表
文章目录