📄 desktopcleanup.java
字号:
/* DesktopCleanup.java{{IS_NOTE Purpose: Description: History: Thu Mar 30 18:28:18 2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zk.ui.util;import org.zkoss.zk.ui.Desktop;/** * Used to clean up a desktop. * * <p>How this interface is used. * <ol> * <li>First, you specify a class that implements this interface * in WEB-INF/zk.xml as a listener. * </li> * <li>Then, even time ZK loader is destroying a desktop, an instnace of * the specified class is instantiated and {@link #cleanup} is called.</li> * </ol> * * @author tomyeh */public interface DesktopCleanup { /** called when a desktop is about to be destroyed. * * <p>If this method throws an exception, the error message is * only logged (user won't see it). */ public void cleanup(Desktop desktop);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -